1. 18 Dec, 2009 14 commits
    • Mel Gorman's avatar
      powerpc/pseries: Select XICS and PCI_MSI PSERIES · 8a55c4ba
      Mel Gorman authored
      It's possible to set CONFIG_XICS without CONFIG_PCI_MSI. When that happens,
      the kernel fails to build with
      
      arch/powerpc/platforms/built-in.o: In function `.xics_startup':
      xics.c:(.text+0x12f60): undefined reference to `.unmask_msi_irq' make: ***
      [.tmp_vmlinux1] Error 1
      
      Furthermore, as noted by Benjamin Herrenschmidt, "CONFIG_XICS should be
      made invisible and selected by PSERIES."
      
      This patch fixes PSERIES to select both options
      
      Signed-off-by: Mel Gorman <mel[at]csn.ul.ie>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      8a55c4ba
    • Roel Kluin's avatar
      powerpc/85xx: Wrong variable returned on error · 29827b02
      Roel Kluin authored
      The wrong variable was returned in the case of an error.
      Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
      Cc: Kumar Gala <galak@kernel.crashing.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      29827b02
    • Alexey Dobriyan's avatar
      powerpc/iseries: Convert to proc_fops · 5c916a29
      Alexey Dobriyan authored
      Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Michael Ellerman <michael@ellerman.id.au>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      5c916a29
    • Robert Jennings's avatar
      powerpc: Make the CMM memory hotplug aware · 14b8a76b
      Robert Jennings authored
      The Collaborative Memory Manager (CMM) module allocates individual pages
      over time that are not migratable.  On a long running system this can
      severely impact the ability to find enough pages to support a hotplug
      memory remove operation.
      
      This patch adds a memory isolation notifier and a memory hotplug notifier.
      The memory isolation notifier will return the number of pages found in
      the range specified.  This is used to determine if all of the used pages
      in a pageblock are owned by the balloon (or other entities in the notifier
      chain).  The hotplug notifier will free pages in the range which is to be
      removed.  The priority of this hotplug notifier is low so that it will be
      called near last, this helps avoids removing loaned pages in operations
      that fail due to other handlers.
      
      CMM activity will be halted when hotplug remove operations are active and
      resume activity after a delay period to allow the hypervisor time to
      adjust.
      Signed-off-by: default avatarRobert Jennings <rcj@linux.vnet.ibm.com>
      Cc: Mel Gorman <mel@csn.ul.ie>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Brian King <brking@linux.vnet.ibm.com>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Gerald Schaefer <geralds@linux.vnet.ibm.com>
      Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      14b8a76b
    • Robert Jennings's avatar
      mm: Add notifier in pageblock isolation for balloon drivers · 925cc71e
      Robert Jennings authored
      Memory balloon drivers can allocate a large amount of memory which is not
      movable but could be freed to accomodate memory hotplug remove.
      
      Prior to calling the memory hotplug notifier chain the memory in the
      pageblock is isolated.  Currently, if the migrate type is not
      MIGRATE_MOVABLE the isolation will not proceed, causing the memory removal
      for that page range to fail.
      
      Rather than failing pageblock isolation if the migrateteype is not
      MIGRATE_MOVABLE, this patch checks if all of the pages in the pageblock,
      and not on the LRU, are owned by a registered balloon driver (or other
      entity) using a notifier chain.  If all of the non-movable pages are owned
      by a balloon, they can be freed later through the memory notifier chain
      and the range can still be isolated in set_migratetype_isolate().
      Signed-off-by: default avatarRobert Jennings <rcj@linux.vnet.ibm.com>
      Cc: Mel Gorman <mel@csn.ul.ie>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Brian King <brking@linux.vnet.ibm.com>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Gerald Schaefer <geralds@linux.vnet.ibm.com>
      Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      925cc71e
    • Linus Torvalds's avatar
      Linux 2.6.33-rc1 · 55639353
      Linus Torvalds authored
      55639353
    • Linus Torvalds's avatar
      Merge branch 'cpumask-cleanups' of... · 55db493b
      Linus Torvalds authored
      Merge branch 'cpumask-cleanups' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus
      
      * 'cpumask-cleanups' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
        cpumask: rename tsk_cpumask to tsk_cpus_allowed
        cpumask: don't recommend set_cpus_allowed hack in Documentation/cpu-hotplug.txt
        cpumask: avoid dereferencing struct cpumask
        cpumask: convert drivers/idle/i7300_idle.c to cpumask_var_t
        cpumask: use modern cpumask style in drivers/scsi/fcoe/fcoe.c
        cpumask: avoid deprecated function in mm/slab.c
        cpumask: use cpu_online in kernel/perf_event.c
      55db493b
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of... · efc8e7f4
      Linus Torvalds authored
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6:
        Keys: KEYCTL_SESSION_TO_PARENT needs TIF_NOTIFY_RESUME architecture support
        NOMMU: Optimise away the {dac_,}mmap_min_addr tests
        security/min_addr.c: make init_mmap_min_addr() static
        keys: PTR_ERR return of wrong pointer in keyctl_get_security()
      efc8e7f4
    • Linus Torvalds's avatar
      Merge branch 'omap-fixes-for-linus' of... · b5c96f89
      Linus Torvalds authored
      Merge branch 'omap-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
      
      * 'omap-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6:
        OMAP3: serial - fix bug introduced in
        mfd: twl: fix twl4030 rename for remaining driver, board files
        USB ehci: replace mach header with plat
        omap3: Allow EHCI to be built on OMAP3
      b5c96f89
    • Linus Torvalds's avatar
      Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging · e82b1dae
      Linus Torvalds authored
      * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
        hwmon: (w83627hf) Fix for "No such device"
        hwmon: (sht15) Off-by-one error in array index + incorrect constants
        hwmon: Add driver for VIA CPU core temperature
        hwmon: (smsc47m1) Enable device if needed
        hwmon: (smsc47m1) Fail module loading on error
        hwmon: (smsc47m1) Only request I/O ports we really use
        hwmon: New driver for AMD Family 10h/11h CPUs
      e82b1dae
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 · fc6f0700
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (40 commits)
        [SCSI] 3w-9xxx fix bug in sgl loading
        [SCSI] fcoe, libfc: adds enable/disable for fcoe interface
        [SCSI] libfc: reduce hold time on SCSI host lock
        [SCSI] libfc: remote port gets stuck in restart state without really restarting
        [SCSI] pm8001: misc code cleanup
        [SCSI] pm8001: enable read HBA SAS address from VPD
        [SCSI] pm8001: do not reset local sata as it will not be found if reset
        [SCSI] pm8001: bit set pm8001_ha->flags
        [SCSI] pm8001:fix potential NULL pointer dereference
        [SCSI] pm8001: set SSC down-spreading only to get less errors on some 6G device.
        [SCSI] pm8001: fix endian issues with SAS address
        [SCSI] pm8001: enhance error handle for IO patch
        [SCSI] pm8001: Fix for sata io circular lock dependency.
        [SCSI] hpsa: add driver for HP Smart Array controllers.
        [SCSI] cxgb3i: always use negative errno in case of error
        [SCSI] bnx2i: minor code cleanup and update driver version
        [SCSI] bnx2i: Task management ABORT TASK fixes
        [SCSI] bnx2i: update CQ arming algorith for 5771x chipsets
        [SCSI] bnx2i: Adjust sq_size module parametr to power of 2 only if a non-zero value is specified
        [SCSI] bnx2i: Add 5771E device support to bnx2i driver
        ...
      fc6f0700
    • Linus Torvalds's avatar
      Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus · dbfc9851
      Linus Torvalds authored
      * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: (71 commits)
        MIPS: Lasat: Fix botched changes to sysctl code.
        RTC: rtc-cmos.c: Fix warning on MIPS
        MIPS: Cleanup random differences beween lmo and Linus' kernel.
        MIPS: No longer hardwire CONFIG_EMBEDDED to y
        MIPS: Fix and enhance built-in kernel command line
        MIPS: eXcite: Remove platform.
        MIPS: Loongson: Cleanups of serial port support
        MIPS: Lemote 2F: Suspend CS5536 MFGPT Timer
        MIPS: Excite: move iodev_remove to .devexit.text
        MIPS: Lasat: Convert to proc_fops / seq_file
        MIPS: Cleanup signal code initialization
        MIPS: Modularize COP2 handling
        MIPS: Move EARLY_PRINTK to Kconfig.debug
        MIPS: Yeeloong 2F: Cleanup reset logic using the new ec_write function
        MIPS: Yeeloong 2F: Add LID open event as the wakeup event
        MIPS: Yeeloong 2F: Add basic EC operations
        MIPS: Move several variables from .bss to .init.data
        MIPS: Tracing: Make function graph tracer work with -mmcount-ra-address
        MIPS: Tracing: Reserve $12(t0) for mcount-ra-address of gcc 4.5
        MIPS: Tracing: Make ftrace for MIPS work without -fno-omit-frame-pointer
        ...
      dbfc9851
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable · 7c508e50
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable:
        Btrfs: make sure fallocate properly starts a transaction
        Btrfs: make metadata chunks smaller
        Btrfs: Show discard option in /proc/mounts
        Btrfs: deny sys_link across subvolumes.
        Btrfs: fail mount on bad mount options
        Btrfs: don't add extent 0 to the free space cache v2
        Btrfs: Fix per root used space accounting
        Btrfs: Fix btrfs_drop_extent_cache for skip pinned case
        Btrfs: Add delayed iput
        Btrfs: Pass transaction handle to security and ACL initialization functions
        Btrfs: Make truncate(2) more ENOSPC friendly
        Btrfs: Make fallocate(2) more ENOSPC friendly
        Btrfs: Avoid orphan inodes cleanup during committing transaction
        Btrfs: Avoid orphan inodes cleanup while replaying log
        Btrfs: Fix disk_i_size update corner case
        Btrfs: Rewrite btrfs_drop_extents
        Btrfs: Add btrfs_duplicate_item
        Btrfs: Avoid superfluous tree-log writeout
      7c508e50
    • Linus Torvalds's avatar
      Merge branch 'kmemleak' of git://linux-arm.org/linux-2.6 · dcc7cd01
      Linus Torvalds authored
      * 'kmemleak' of git://linux-arm.org/linux-2.6:
        kmemleak: fix kconfig for crc32 build error
        kmemleak: Reduce the false positives by checking for modified objects
        kmemleak: Show the age of an unreferenced object
        kmemleak: Release the object lock before calling put_object()
        kmemleak: Scan the _ftrace_events section in modules
        kmemleak: Simplify the kmemleak_scan_area() function prototype
        kmemleak: Do not use off-slab management with SLAB_NOLEAKTRACE
      dcc7cd01
  2. 17 Dec, 2009 26 commits