24 Sep, 2009

23 commits

  • To simplify referring to cgroup hierarchies in mount statements, and to
    allow disambiguation in the presence of empty hierarchies and
    multiply-bindable subsystems this patch adds support for naming a new
    cgroup hierarchy via the "name=" mount option

    A pre-existing hierarchy may be specified by either name or by subsystems;
    a hierarchy's name cannot be changed by a remount operation.

    Example usage:

    # To create a hierarchy called "foo" containing the "cpu" subsystem
    mount -t cgroup -oname=foo,cpu cgroup /mnt/cgroup1

    # To mount the "foo" hierarchy on a second location
    mount -t cgroup -oname=foo cgroup /mnt/cgroup2

    Signed-off-by: Paul Menage
    Reviewed-by: Li Zefan
    Cc: KAMEZAWA Hiroyuki
    Cc: Balbir Singh
    Cc: Dhaval Giani
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paul Menage
     
  • Introduce "-p|--pid " for walking the process address space. The
    default action is to walk raw memory PFNs.

    Both the virtual address and physical address of each present pages will
    be listed:

    # ./tools/vm/page-types -lp $$ | head -3
    voffset offset len flags
    400 11bebe 1 __RU_lA____M______________________
    402 11bebc 1 __RU_lA____M______________________

    Note that voffset/offset/len are now showed as hex numbers.

    [akpm@linux-foundation.org: coding-style fixes]
    Cc: Andi Kleen
    Signed-off-by: Wu Fengguang
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Wu Fengguang
     
  • Signed-off-by: Josh Triplett
    Cc: Wu Fengguang
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Josh Triplett
     
  • fix the following 'make includecheck' warning:

    Documentation/auxdisplay/cfag12864b-example.c: string.h is included more than once.

    Signed-off-by: Jaswinder Singh Rajput
    Acked-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jaswinder Singh Rajput
     
  • In "documentation: update Documentation/filesystem/proc.txt and
    Documentation/sysctls" (commit 760df93ec) we merged /proc/sys/fs
    documentation in Documentation/sysctl/fs.txt and
    Documentation/filesystem/proc.txt, but stale file-nr definition
    remained.

    This patch adds back the right fs-nr definition for 2.6 kernel.

    Signed-off-by: Xiaotian Feng
    Cc: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Xiaotian Feng
     
  • Documentation/filesystems/sharedsubtree.txt needs updating because the
    mount command in util-linux package is well aware of shared subtree
    features now. The patch also fixes two typos in sharedsubtree.txt.

    Signed-off-by: Peng Tao
    Signed-off-by: Randy Dunlap
    Cc: Miklos Szeredi
    Cc: Christoph Hellwig
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Peng Tao
     
  • mount(8) handles shared subtrees just fine, so remove the smount program
    from Documentation/filesystems/sharedsubtree.txt.

    Fix annoying "Lets" -> "Let's".
    Insert space between '#' prompt and "mount" command.

    Signed-off-by: Randy Dunlap
    Acked-by: Miklos Szeredi
    Cc: Christoph Hellwig
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-next: (30 commits)
    Use macros for .data.page_aligned section.
    Use macros for .bss.page_aligned section.
    Use new __init_task_data macro in arch init_task.c files.
    kbuild: Don't define ALIGN and ENTRY when preprocessing linker scripts.
    arm, cris, mips, sparc, powerpc, um, xtensa: fix build with bash 4.0
    kbuild: add static to prototypes
    kbuild: fail build if recordmcount.pl fails
    kbuild: set -fconserve-stack option for gcc 4.5
    kbuild: echo the record_mcount command
    gconfig: disable "typeahead find" search in treeviews
    kbuild: fix cc1 options check to ensure we do not use -fPIC when compiling
    checkincludes.pl: add option to remove duplicates in place
    markup_oops: use modinfo to avoid confusion with underscored module names
    checkincludes.pl: provide usage helper
    checkincludes.pl: close file as soon as we're done with it
    ctags: usability fix
    kernel hacking: move STRIP_ASM_SYMS from General
    gitignore usr/initramfs_data.cpio.bz2 and usr/initramfs_data.cpio.lzma
    kbuild: Check if linker supports the -X option
    kbuild: introduce ld-option
    ...

    Fix trivial conflict in scripts/basic/fixdep.c

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs:
    9p: Update documentation to add fscache related bits
    9p: Add fscache support to 9p
    9p: Fix the incorrect update of inode size in v9fs_file_write()
    9p: Use the i_size_[read, write]() macros instead of using inode->i_size directly.

    Linus Torvalds
     
  • * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
    hwmon: (ltc4245) Clear faults at startup
    hwmon: (ltc4215) Clear faults at startup
    hwmon: (coretemp) Add Lynnfield CPU
    hwmon: (coretemp) Add support for Penryn mobile CPUs
    hwmon: (coretemp) Fix Atom CPUs support
    hwmon: Delete deprecated FSC drivers
    hwmon: (adm1031) Add sysfs files for temperature offsets

    Linus Torvalds
     
  • Add Lynnfield processor support. Lynnfield is a quad-core Nehalem
    based microprocessor for Desktop market, which is introduced in
    September 2009.

    Signed-off-by: Huaxu Wan
    Signed-off-by: Kent Liu
    Acked-by: Rudolf Marek
    Signed-off-by: Jean Delvare

    Huaxu Wan
     
  • Following patch adds support for mobile Penryn CPUs. Intel documents this
    poorly. I asked the Coretemp author for some help. This is totally untested and
    may not work. Please test!

    Signed-off-by: Rudolf Marek
    Cc: Huaxu Wan
    Cc: Kent Liu
    Signed-off-by: Jean Delvare

    Rudolf Marek
     
  • Fix Atom CPUs support. Intel documents TjMax at 90 degrees C but
    some Atoms may have 125 degrees C (this is undocumented speculation).

    Signed-off-by: Rudolf Marek
    Cc: Huaxu Wan
    Cc: Kent Liu
    Signed-off-by: Jean Delvare

    Rudolf Marek
     
  • The legacy fscpos and fscher drivers have been replaced by the unified
    fschmd driver. The transition period is over now, we can delete them.

    Signed-off-by: Jean Delvare
    Acked-by: Hans de Goede

    Jean Delvare
     
  • Update the documentation to describe FS-Cache related
    caching parameters. This patch also updates the pointers
    to 9p-related papers and adds pointer to the Wiki.

    Signed-off-by: Abhishek Kulkarni
    Signed-off-by: Eric Van Hensbergen

    Abhishek Kulkarni
     
  • * git://git.infradead.org/battery-2.6:
    power_supply: Add driver for the PMU on WM831x PMICs
    ds2760_battery: Fix integer overflow for time_to_empty_now
    wm97xx_battery: Convert to dev_pm_ops
    wm97xx_battery: Use irq to detect charger state
    wm97xx_battery: Use platform_data
    wm97xx-core: Pass platform_data to battery
    ds2760_battery: implement set_charged() feature
    power_supply: get_by_name and set_charged functionality
    power_supply: EXPORT_SYMBOL cleanups
    ds2760_battery: add current_accum module parameter
    ds2760_battery: handle full_active_uAh == 0 case correctly
    ds2760_battery: add rated_capacity module parameter
    ds2760_battery: export more features
    ds2760_battery: delay power supply registration
    wm8350_power: Implement charge type property
    power_supply: Add a charge_type property, and use it for olpc driver
    olpc_battery: Add an 'error' sysfs device that displays raw errors
    Revert "power: remove POWER_SUPPLY_PROP_CAPACITY_LEVEL"

    Linus Torvalds
     
  • * git://git.infradead.org/mtd-2.6: (58 commits)
    mtd: jedec_probe: add PSD4256G6V id
    mtd: OneNand support for Nomadik 8815 SoC (on NHK8815 board)
    mtd: nand: driver for Nomadik 8815 SoC (on NHK8815 board)
    m25p80: Add Spansion S25FL129P serial flashes
    jffs2: Use SLAB_HWCACHE_ALIGN for jffs2_raw_{dirent,inode} slabs
    mtd: sh_flctl: register sh_flctl using platform_driver_probe()
    mtd: nand: txx9ndfmc: transfer 512 byte at a time if possible
    mtd: nand: fix tmio_nand ecc correction
    mtd: nand: add __nand_correct_data helper function
    mtd: cfi_cmdset_0002: add 0xFF intolerance for M29W128G
    mtd: inftl: fix fold chain block number
    mtd: jedec: fix compilation problem with I28F640C3B definition
    mtd: nand: fix ECC Correction bug for SMC ordering for NDFC driver
    mtd: ofpart: Check availability of reg property instead of name property
    driver/Makefile: Initialize "mtd" and "spi" before "net"
    mtd: omap: adding DMA mode support in nand prefetch/post-write
    mtd: omap: add support for nand prefetch-read and post-write
    mtd: add nand support for w90p910 (v2)
    mtd: maps: add mtd-ram support to physmap_of
    mtd: pxa3xx_nand: add single-bit error corrections reporting
    ...

    Linus Torvalds
     
  • * git://git.infradead.org/iommu-2.6: (23 commits)
    intel-iommu: Disable PMRs after we enable translation, not before
    intel-iommu: Kill DMAR_BROKEN_GFX_WA option.
    intel-iommu: Fix integer wrap on 32 bit kernels
    intel-iommu: Fix integer overflow in dma_pte_{clear_range,free_pagetable}()
    intel-iommu: Limit DOMAIN_MAX_PFN to fit in an 'unsigned long'
    intel-iommu: Fix kernel hang if interrupt remapping disabled in BIOS
    intel-iommu: Disallow interrupt remapping if not all ioapics covered
    intel-iommu: include linux/dmi.h to use dmi_ routines
    pci/dmar: correct off-by-one error in dmar_fault()
    intel-iommu: Cope with yet another BIOS screwup causing crashes
    intel-iommu: iommu init error path bug fixes
    intel-iommu: Mark functions with __init
    USB: Work around BIOS bugs by quiescing USB controllers earlier
    ia64: IOMMU passthrough mode shouldn't trigger swiotlb init
    intel-iommu: make domain_add_dev_info() call domain_context_mapping()
    intel-iommu: Unify hardware and software passthrough support
    intel-iommu: Cope with broken HP DC7900 BIOS
    iommu=pt is a valid early param
    intel-iommu: double kfree()
    intel-iommu: Kill pointless intel_unmap_single() function
    ...

    Fixed up trivial include lines conflict in drivers/pci/intel-iommu.c

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6: (41 commits)
    regulator: Add some brief design documentation
    regulator: fix voltage range in da9034 ldo12
    regulator/driver: be more specific in nanodoc for is_enabled
    regulator/lp3971: drop unnecessary initialization
    regulator: drop 'default n'
    regulator: fix typos
    regulator: fix calculation of voltage range in da9034_set_ldo12_voltage()
    regulator: update a filename in documentation
    drivers/regulator/Kconfig: fix typo (s/Usersapce/Userspace/) in REGULATOR_USERSPACE_CONSUMER description
    REGULATOR Handle positive returncode from enable
    regulator: tps650xx - build fixes for x86_64
    Fix some regulator documentation
    Regulator: Adding TPS65023 and TPS6507x in Kconfig and Makefile
    Regulator: Add TPS6507x regulator driver
    Regulator: Add TPS65023 regulator driver
    regulator: userspace: use sysfs_create_group
    regulator: Add GPIO enable control to fixed voltage regulator driver
    Regulator: Implement list_voltage for pcf50633 regulator driver.
    regulator: regulator_enable() permission checking
    regulator: Push locking for regulator_is_enabled() out
    ...

    Linus Torvalds
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (119 commits)
    ACPI: don't pass handle for fixed hardware notifications
    ACPI: remove null pointer checks in deferred execution path
    ACPI: simplify deferred execution path
    acerhdf: additional BIOS versions
    acerhdf: convert to dev_pm_ops
    acerhdf: fix fan control for AOA150 model
    thermal: add missing Kconfig dependency
    acpi: switch /proc/acpi/{debug_layer,debug_level} to seq_file
    hp-wmi: fix rfkill memory leak on unload
    ACPI: remove unnecessary #ifdef CONFIG_DMI
    ACPI: linux/acpi.h should not include linux/dmi.h
    hwmon driver for ACPI 4.0 power meters
    topstar-laptop: add new driver for hotkeys support on Topstar N01
    thinkpad_acpi: fix rfkill memory leak on unload
    thinkpad-acpi: report brightness events when required
    thinkpad-acpi: don't poll by default any of the reserved hotkeys
    thinkpad-acpi: Fix procfs hotkey reset command
    thinkpad-acpi: deprecate hotkey_bios_mask
    thinkpad-acpi: hotkey poll fixes
    thinkpad-acpi: be more strict when detecting a ThinkPad
    ...

    Linus Torvalds
     
  • * 'i2c-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
    i2c: Clearly mark ACPI drivers as such
    i2c: Add driver for SMBus Control Method Interface
    i2c-pnx: Correct use of request_region/request_mem_region
    MAINTAINERS: Add maintainer for AT24 and PCA9564/PCA9665
    i2c-piix4: Add AMD SB900 SMBus device ID
    i2c/chips: Remove deprecated pcf8574 driver
    i2c/chips: Remove deprecated pca9539 driver
    i2c/chips: Remove deprecated pcf8575 driver
    gpio/pcf857x: Copy i2c_device_id from old pcf8574 driver
    i2c/scx200_acb: Provide more information on bus errors
    i2c: Provide compatibility links for i2c adapters
    i2c: Convert i2c adapters to bus devices
    i2c: Convert i2c clients to a device type
    i2c/tsl2550: Use combined SMBus transactions
    i2c-taos-evm: Switch echo off to improve performance
    i2c: Drop unused i2c_driver.id field

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (142 commits)
    USB: Fix sysfs paths in documentation
    USB: skeleton: fix coding style issues.
    USB: O_NONBLOCK in read path of skeleton
    USB: make usb-skeleton honor O_NONBLOCK in write path
    USB: skel_read really sucks royally
    USB: Add hub descriptor update hook for xHCI
    USB: xhci: Support USB hubs.
    USB: xhci: Set multi-TT field for LS/FS devices under hubs.
    USB: xhci: Set route string for all devices.
    USB: xhci: Fix command wait list handling.
    USB: xhci: Change how xHCI commands are handled.
    USB: xhci: Refactor input device context setup.
    USB: xhci: Endpoint representation refactoring.
    USB: gadget: ether needs to select CRC32
    USB: fix USBTMC get_capabilities success handling
    USB: fix missing error check in probing
    USB: usbfs: add USBDEVFS_URB_BULK_CONTINUATION flag
    USB: support for autosuspend in sierra while online
    USB: ehci-dbgp,ehci: Allow dbpg to work with suspend/resume
    USB: ehci-dbgp,documentation: Documentation updates for ehci-dbgp
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
    lguest: don't force VIRTIO_F_NOTIFY_ON_EMPTY
    lguest: cleanup for map_switcher()
    lguest: use PGDIR_SHIFT for PAE code to allow different PAGE_OFFSET
    lguest: use set_pte/set_pmd uniformly for real page table entries
    lguest: move panic notifier registration to its expected place.
    virtio_blk: add support for cache flush
    virtio: add virtio IDs file
    virtio: get rid of redundant VIRTIO_ID_9P definition
    virtio: make add_buf return capacity remaining
    virtio_pci: minor MSI-X cleanups

    Linus Torvalds
     

23 Sep, 2009

17 commits

  • I would like to get rid of option CONFIG_FB_MATROX_MULTIHEAD and just
    always enable it. There are many reasons for doing this:

    * CONFIG_FB_MATROX_MULTIHEAD=y is what all x86 distributions do, so it
    definitely works or we would know by now.

    * Building the matroxfb driver with CONFIG_FB_MATROX_MULTIHEAD not set
    results in the following build warning:

    drivers/video/matrox/matroxfb_crtc2.c: In function 'matroxfb_dh_open':
    drivers/video/matrox/matroxfb_crtc2.c:265: warning: the address of 'matroxfb_global_mxinfo' will always evaluate as 'true'
    drivers/video/matrox/matroxfb_crtc2.c: In function 'matroxfb_dh_release':
    drivers/video/matrox/matroxfb_crtc2.c:285: warning: the address of 'matroxfb_global_mxinfo' will always evaluate as 'true'

    This is nothing to be worried about, the driver will work fine, but build
    warnings are still annoying.

    * The trick to get multihead support without CONFIG_FB_MATROX_MULTIHEAD,
    which is described in the config help text, no longer works: you can't
    load the same kernel module more than once.

    * I fail to see how CONFIG_FB_MATROX_MULTIHEAD=y would make the code
    significantly slower, contrary to what the help text says. A few extra
    parameters on the stack here and there can't really slow things down in
    comaprison to the rest of the code, and register access.

    * The driver built without CONFIG_FB_MATROX_MULTIHEAD is larger than the
    driver build with CONFIG_FB_MATROX_MULTIHEAD=y by 8%.

    * One less configuration option makes things simpler. We add options
    all the time, being able to remove one for once is nice. It improves
    testing coverage. And I don't think the Matrox adapters are still
    popular enough to warrant overdetailed configuration settings.

    * We should be able to unobfuscate the driver code quite a bit after
    this change (patches follow.)

    Signed-off-by: Jean Delvare
    Acked-by: Petr Vandrovec
    Cc: Krzysztof Helt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jean Delvare
     
  • EP93xx video driver plus documentation.

    Signed-off-by: Ryan Mallon
    Acked-by: H Hartley Sweeten
    Cc: Daniele Venzano
    Cc: Russell King
    Cc: Krzysztof Helt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ryan Mallon
     
  • Many gpio chips allow to generate interrupts when the value of a pin
    changes. This patch gives usermode application the opportunity to make
    use of this feature by calling poll(2) on the /sys/class/gpio/gpioN/value
    sysfs file. The edge to trigger can be set in the edge file in the same
    directory. Possible values are "none", "rising", "falling", and "both".

    Using level triggers is not possible with current sysfs since nothing
    changes the GPIO value (and the IRQ keeps triggering). Edge triggering
    will "just work". Note that if there was an event between read() and
    poll(), the poll() returns immediately.

    Also note that this version only supports true GPIO interrupts. Some
    later patch might be able to synthesize this behavior by timer-driven
    polling; some systems seem to need that.

    [dbrownell@users.sourceforge.net: align ids to 16 bit ids; whitespace]
    Signed-off-by: Daniel Glöckner
    Signed-off-by: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Daniel Glöckner
     
  • Commit 926b663ce8215ba448960e1ff6e58b67a2c3b99b (gpiolib: allow GPIOs to
    be named) already provides naming on the chip level. This patch provides
    more flexibility by allowing multiple names where ever in sysfs on a per
    GPIO basis.

    Adapted from David Brownell's comments on a similar concept:
    http://lkml.org/lkml/2009/4/20/203.

    [randy.dunlap@oracle.com: fix build for CONFIG_GENERIC_GPIO=n]
    Signed-off-by: Jani Nikula
    Acked-by: David Brownell
    Cc: Daniel Silverstone
    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jani Nikula
     
  • CONFIG_RTC_HCTOSYS allows the kernel to read the system time from the RTC
    at boot and resume, avoiding the need for userspace to do so.
    Unfortunately userspace currently has no way to know whether this
    configuration option is enabled and thus cannot sensibly choose whether to
    run hwclock itself or not. Add a hctosys sysfs attribute which indicates
    whether a given RTC set the system clock.

    Signed-off-by: Matthew Garrett
    Acked-by: Alessandro Zummo
    Cc: Mark Brown
    Cc: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matthew Garrett
     
  • The sysfs interface to the RTC class drivers is currently undocumented.
    Add some basic documentation defining the semantics of the fields.

    Signed-off-by: Matthew Garrett
    Cc: Mark Brown
    Acked-by: Alessandro Zummo
    Cc: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matthew Garrett
     
  • Signed-off-by: Mike Frysinger
    Cc: David Brownell
    Signed-off-by: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mike Frysinger
     
  • Fix spelling of `automatically' in Documentation/spi/spi-summary.

    Signed-off-by: Ben Dooks
    Cc: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ben Dooks
     
  • Noticed-by: Joe Perches
    Cc: Petr Vandrovec
    Signed-off-by: Bartlomiej Zolnierkiewicz
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bartlomiej Zolnierkiewicz
     
  • A patch to give a better overview of the userland application stack usage,
    especially for embedded linux.

    Currently you are only able to dump the main process/thread stack usage
    which is showed in /proc/pid/status by the "VmStk" Value. But you get no
    information about the consumed stack memory of the the threads.

    There is an enhancement in the /proc//{task/*,}/*maps and which marks
    the vm mapping where the thread stack pointer reside with "[thread stack
    xxxxxxxx]". xxxxxxxx is the maximum size of stack. This is a value
    information, because libpthread doesn't set the start of the stack to the
    top of the mapped area, depending of the pthread usage.

    A sample output of /proc//task//maps looks like:

    08048000-08049000 r-xp 00000000 03:00 8312 /opt/z
    08049000-0804a000 rw-p 00001000 03:00 8312 /opt/z
    0804a000-0806b000 rw-p 00000000 00:00 0 [heap]
    a7d12000-a7d13000 ---p 00000000 00:00 0
    a7d13000-a7f13000 rw-p 00000000 00:00 0 [thread stack: 001ff4b4]
    a7f13000-a7f14000 ---p 00000000 00:00 0
    a7f14000-a7f36000 rw-p 00000000 00:00 0
    a7f36000-a8069000 r-xp 00000000 03:00 4222 /lib/libc.so.6
    a8069000-a806b000 r--p 00133000 03:00 4222 /lib/libc.so.6
    a806b000-a806c000 rw-p 00135000 03:00 4222 /lib/libc.so.6
    a806c000-a806f000 rw-p 00000000 00:00 0
    a806f000-a8083000 r-xp 00000000 03:00 14462 /lib/libpthread.so.0
    a8083000-a8084000 r--p 00013000 03:00 14462 /lib/libpthread.so.0
    a8084000-a8085000 rw-p 00014000 03:00 14462 /lib/libpthread.so.0
    a8085000-a8088000 rw-p 00000000 00:00 0
    a8088000-a80a4000 r-xp 00000000 03:00 8317 /lib/ld-linux.so.2
    a80a4000-a80a5000 r--p 0001b000 03:00 8317 /lib/ld-linux.so.2
    a80a5000-a80a6000 rw-p 0001c000 03:00 8317 /lib/ld-linux.so.2
    afaf5000-afb0a000 rw-p 00000000 00:00 0 [stack]
    ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]

    Also there is a new entry "stack usage" in /proc//{task/*,}/status
    which will you give the current stack usage in kb.

    A sample output of /proc/self/status looks like:

    Name: cat
    State: R (running)
    Tgid: 507
    Pid: 507
    .
    .
    .
    CapBnd: fffffffffffffeff
    voluntary_ctxt_switches: 0
    nonvoluntary_ctxt_switches: 0
    Stack usage: 12 kB

    I also fixed stack base address in /proc//{task/*,}/stat to the base
    address of the associated thread stack and not the one of the main
    process. This makes more sense.

    [akpm@linux-foundation.org: fs/proc/array.c now needs walk_page_range()]
    Signed-off-by: Stefani Seibold
    Cc: Ingo Molnar
    Cc: Peter Zijlstra
    Cc: Alexey Dobriyan
    Cc: "Eric W. Biederman"
    Cc: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Stefani Seibold
     
  • eSDHC block in MPC837x SOCs reports inverted write-protect state, soon
    sdhci-of driver will look for sdhci,wp-inverted properties to decide
    whether apply a specific quirk.

    So, document the property and add it to device tree source files.

    Signed-off-by: Anton Vorontsov
    Cc: Pierre Ossman
    Cc: Kumar Gala
    Cc: David Vrabel
    Cc: Ben Dooks
    Cc: Sascha Hauer
    Cc: Benjamin Herrenschmidt
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Anton Vorontsov
     
  • Fix up -Wmissing-prototypes in compileable userspace code, mainly under
    Documentation/.

    Signed-off-by: Ladinu Chandrasinghe
    Signed-off-by: Trevor Keith
    Cc: Sam Ravnborg
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ladinu Chandrasinghe
     
  • When syslog is not possible, at the same time there's no serial/net
    console available, it will be hard to read the printk messages. For
    example oops/panic/warning messages in shutdown phase.

    Add a printk delay feature, we can make each printk message delay some
    milliseconds.

    Setting the delay by proc/sysctl interface: /proc/sys/kernel/printk_delay

    The value range from 0 - 10000, default value is 0

    [akpm@linux-foundation.org: fix a few things]
    Signed-off-by: Dave Young
    Acked-by: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Dave Young
     
  • Neither /sys/usb/devices nor /sys/bus/devices exist. The correct path
    is /sys/bus/usb/devices.

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • Add missing information about requirements of using the EHCI usb debug
    controller as well as to mention you can use a debug controller other
    than the first one in the system.

    Signed-off-by: Jason Wessel
    Cc: Ingo Molnar
    Cc: Andrew Morton
    Cc: Yinghai Lu
    Cc: "Eric W. Biederman"
    Cc: Alan Stern
    Cc: Sarah Sharp
    Cc: Randy Dunlap
    Signed-off-by: Greg Kroah-Hartman

    Jason Wessel
     
  • Hi there.

    On Aug 21 2009, Alan Stern wrote:
    > On Thu, 20 Aug 2009, Rogério Brito wrote:
    > > Again, just reiterating, what I said before, even though I am not sure
    > > if I can reproduce it, I will try to.
    >
    > A usbmon trace showing what happens when you plug in the drive and
    > when you run smartctl would help.

    The documentation for usbmon in the kernel 2.6.31-rc7 kernel doesn't
    match what the kernel exposes in the debug fs tree. This patch fixes it.

    Signed-off-by: Rogério Brito
    Signed-off-by: Greg Kroah-Hartman

    Rogério Brito
     
  • I think this sentence was confusing regarding the possible size
    of the data area.

    Signed-off-by: Pete Zaitcev
    Signed-off-by: Greg Kroah-Hartman

    Pete Zaitcev