26 Jan, 2011

1 commit

  • This patch (as1445) fixes a bug in the runtime PM core left over from
    the addition of the no_callbacks flag. If this flag is set then it is
    possible for rpm_suspend() to be called in_interrupt, so when
    releasing spinlocks it's important not to re-enable interrupts.

    To avoid an unnecessary save-and-restore of the interrupt flag, the
    patch also inlines a pm_request_idle() call.

    This fixes Bugzilla #27482.

    (The offending code was added in 2.6.37, so it's not necessary to apply
    this to any earlier stable kernels.)

    Signed-off-by: Alan Stern
    Reported-by: tim blechmann
    CC:
    Signed-off-by: Rafael J. Wysocki

    Alan Stern
     

21 Jan, 2011

1 commit

  • The meaning of CONFIG_EMBEDDED has long since been obsoleted; the option
    is used to configure any non-standard kernel with a much larger scope than
    only small devices.

    This patch renames the option to CONFIG_EXPERT in init/Kconfig and fixes
    references to the option throughout the kernel. A new CONFIG_EMBEDDED
    option is added that automatically selects CONFIG_EXPERT when enabled and
    can be used in the future to isolate options that should only be
    considered for embedded systems (RISC architectures, SLOB, etc).

    Calling the option "EXPERT" more accurately represents its intention: only
    expert users who understand the impact of the configuration changes they
    are making should enable it.

    Reviewed-by: Ingo Molnar
    Acked-by: David Woodhouse
    Signed-off-by: David Rientjes
    Cc: Greg KH
    Cc: "David S. Miller"
    Cc: Jens Axboe
    Cc: Arnd Bergmann
    Cc: Robin Holt
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Rientjes
     

14 Jan, 2011

2 commits

  • Add hugepage statistics to per-node sysfs meminfo

    Reviewed-by: Rik van Riel
    Signed-off-by: David Rientjes
    Signed-off-by: Andrea Arcangeli
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Rientjes
     
  • * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (43 commits)
    Documentation/trace/events.txt: Remove obsolete sched_signal_send.
    writeback: fix global_dirty_limits comment runtime -> real-time
    ppc: fix comment typo singal -> signal
    drivers: fix comment typo diable -> disable.
    m68k: fix comment typo diable -> disable.
    wireless: comment typo fix diable -> disable.
    media: comment typo fix diable -> disable.
    remove doc for obsolete dynamic-printk kernel-parameter
    remove extraneous 'is' from Documentation/iostats.txt
    Fix spelling milisec -> ms in snd_ps3 module parameter description
    Fix spelling mistakes in comments
    Revert conflicting V4L changes
    i7core_edac: fix typos in comments
    mm/rmap.c: fix comment
    sound, ca0106: Fix assignment to 'channel'.
    hrtimer: fix a typo in comment
    init/Kconfig: fix typo
    anon_inodes: fix wrong function name in comment
    fix comment typos concerning "consistent"
    poll: fix a typo in comment
    ...

    Fix up trivial conflicts in:
    - drivers/net/wireless/iwlwifi/iwl-core.c (moved to iwl-legacy.c)
    - fs/ext4/ext4.h

    Also fix missed 'diabled' typo in drivers/net/bnx2x/bnx2x.h while at it.

    Linus Torvalds
     

11 Jan, 2011

2 commits

  • …/gregkh/driver-core-2.6

    * 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6:
    driver core: Document that device_rename() is only for networking
    sysfs: remove useless test from sysfs_merge_group
    driver-core: merge private parts of class and bus
    driver core: fix whitespace in class_attr_string

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: (34 commits)
    HID: roccat: Update sysfs attribute doc
    HID: roccat: don't use #pragma pack
    HID: roccat: Add support for Roccat Kone[+] v2
    HID: roccat: reduce number of functions in kone and pyra drivers
    HID: roccat: declare meaning of pack pragma usage in driver headers
    HID: roccat: use class for char device for sysfs attribute creation
    sysfs: Introducing binary attributes for struct class
    HID: hidraw: add compatibility ioctl() for 32-bit applications.
    HID: hid-picolcd: Fix memory leak in picolcd_debug_out_report()
    HID: picolcd: fix misuse of logical operation in place of bitop
    HID: usbhid: base runtime PM on modern API
    HID: replace offsets values with their corresponding BTN_* defines
    HID: hid-mosart: support suspend/resume
    HID: hid-mosart: ignore buttons report
    HID: hid-picolcd: don't use flush_scheduled_work()
    HID: simplify an index check in hid_lookup_collection
    HID: Hoist assigns from ifs
    HID: Remove superfluous __inline__
    HID: Use vzalloc for vmalloc/memset(,0...)
    HID: Add and use hid_: dev_ equivalents
    ...

    Linus Torvalds
     

08 Jan, 2011

1 commit


24 Dec, 2010

12 commits


23 Dec, 2010

1 commit


30 Nov, 2010

1 commit


22 Nov, 2010

1 commit


18 Nov, 2010

1 commit


11 Nov, 2010

2 commits


02 Nov, 2010

1 commit

  • "gadget", "through", "command", "maintain", "maintain", "controller", "address",
    "between", "initiali[zs]e", "instead", "function", "select", "already",
    "equal", "access", "management", "hierarchy", "registration", "interest",
    "relative", "memory", "offset", "already",

    Signed-off-by: Uwe Kleine-König
    Signed-off-by: Jiri Kosina

    Uwe Kleine-König
     

30 Oct, 2010

1 commit


29 Oct, 2010

2 commits


27 Oct, 2010

2 commits


25 Oct, 2010

2 commits

  • * 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6:
    mtd/m25p80: add support to parse the partitions by OF node
    of/irq: of_irq.c needs to include linux/irq.h
    of/mips: Cleanup some include directives/files.
    of/mips: Add device tree support to MIPS
    of/flattree: Eliminate need to provide early_init_dt_scan_chosen_arch
    of/device: Rework to use common platform_device_alloc() for allocating devices
    of/xsysace: Fix OF probing on little-endian systems
    of: use __be32 types for big-endian device tree data
    of/irq: remove references to NO_IRQ in drivers/of/platform.c
    of/promtree: add package-to-path support to pdt
    of/promtree: add of_pdt namespace to pdt code
    of/promtree: no longer call prom_ functions directly; use an ops structure
    of/promtree: make drivers/of/pdt.c no longer sparc-only
    sparc: break out some PROM device-tree building code out into drivers/of
    of/sparc: convert various prom_* functions to use phandle
    sparc: stop exporting openprom.h header
    powerpc, of_serial: Endianness issues setting up the serial ports
    of: MTD: Fix OF probing on little-endian systems
    of: GPIO: Fix OF probing on little-endian systems

    Linus Torvalds
     
  • * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
    Update broken web addresses in arch directory.
    Update broken web addresses in the kernel.
    Revert "drivers/usb: Remove unnecessary return's from void functions" for musb gadget
    Revert "Fix typo: configuation => configuration" partially
    ida: document IDA_BITMAP_LONGS calculation
    ext2: fix a typo on comment in ext2/inode.c
    drivers/scsi: Remove unnecessary casts of private_data
    drivers/s390: Remove unnecessary casts of private_data
    net/sunrpc/rpc_pipe.c: Remove unnecessary casts of private_data
    drivers/infiniband: Remove unnecessary casts of private_data
    drivers/gpu/drm: Remove unnecessary casts of private_data
    kernel/pm_qos_params.c: Remove unnecessary casts of private_data
    fs/ecryptfs: Remove unnecessary casts of private_data
    fs/seq_file.c: Remove unnecessary casts of private_data
    arm: uengine.c: remove C99 comments
    arm: scoop.c: remove C99 comments
    Fix typo configue => configure in comments
    Fix typo: configuation => configuration
    Fix typo interrest[ing|ed] => interest[ing|ed]
    Fix various typos of valid in comments
    ...

    Fix up trivial conflicts in:
    drivers/char/ipmi/ipmi_si_intf.c
    drivers/usb/gadget/rndis.c
    net/irda/irnet/irnet_ppp.c

    Linus Torvalds
     

23 Oct, 2010

7 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6: (31 commits)
    driver core: Display error codes when class suspend fails
    Driver core: Add section count to memory_block struct
    Driver core: Add mutex for adding/removing memory blocks
    Driver core: Move find_memory_block routine
    hpilo: Despecificate driver from iLO generation
    driver core: Convert link_mem_sections to use find_memory_block_hinted.
    driver core: Introduce find_memory_block_hinted which utilizes kset_find_obj_hinted.
    kobject: Introduce kset_find_obj_hinted.
    driver core: fix build for CONFIG_BLOCK not enabled
    driver-core: base: change to new flag variable
    sysfs: only access bin file vm_ops with the active lock
    sysfs: Fail bin file mmap if vma close is implemented.
    FW_LOADER: fix kconfig dependency warning on HOTPLUG
    uio: Statically allocate uio_class and use class .dev_attrs.
    uio: Support 2^MINOR_BITS minors
    uio: Cleanup irq handling.
    uio: Don't clear driver data
    uio: Fix lack of locking in init_uio_class
    SYSFS: Allow boot time switching between deprecated and modern sysfs layout
    driver core: remove CONFIG_SYSFS_DEPRECATED_V2 but keep it for block devices
    ...

    Linus Torvalds
     
  • For device with no_callbacks flag set, its power lock and its parent's
    power lock may be held nestedly in rpm_resume, so we should take
    spin_lock_nested(lock, SINGLE_DEPTH_NESTING) to acquire parent power lock
    to avoid lockdep warning.

    Signed-off-by: Ming Lei
    Acked-by: Alan Stern
    Signed-off-by: Rafael J. Wysocki

    Ming Lei
     
  • Aid diagnostics by printing the error code from failed suspends, which
    doesn't otherwise seem to get displayed.

    Signed-off-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Mark Brown
     
  • Add a section count property to the memory_block struct to track the number
    of memory sections that have been added/removed from a memory block. This
    allows us to know when the last memory section of a memory block has been
    removed so we can remove the memory block.

    Signed-off-by: Nathan Fontenot
    Reviewed-by: Robin Holt
    Reviewed-by: KAMEZAWA Hiroyuki
    Signed-off-by: Greg Kroah-Hartman

    Nathan Fontenot
     
  • Add a new mutex for use in adding and removing of memory blocks. This
    is needed to avoid any race conditions in which the same memory block could
    be added and removed at the same time.

    Signed-off-by: Nathan Fontenot
    Reviewed-by: Robin Holt
    Reviewed-By: KAMEZAWA Hiroyuki
    Signed-off-by: Greg Kroah-Hartman

    Nathan Fontenot
     
  • Move the find_memory_block() routine up to avoid needing a forward
    declaration in subsequent patches.

    Signed-off-by: Nathan Fontenot
    Reviewed-by: Robin Holt
    Reviewed-By: KAMEZAWA Hiroyuki
    Signed-off-by: Greg Kroah-Hartman

    Nathan Fontenot
     
  • Modify link_mem_sections() to pass in the previous mem_block as a hint to
    locating the next mem_block. Since they are typically added in order this
    results in a massive saving in time during boot of a very large system.
    For example, on a 16TB x86_64 machine, it reduced the total time spent
    linking all node's memory sections from 1 hour, 27 minutes to 46 seconds.

    Signed-off-by: Robin Holt
    To: Gary Hade
    To: Badari Pulavarty
    To: Ingo Molnar
    Reviewed-by: KAMEZAWA Hiroyuki
    Signed-off-by: Greg Kroah-Hartman

    Robin Holt