commit b09c3e3f1710b554348c98e78fbf4a661918779a
Author: Huang Weiyi <weiyi.huang@gmail.com>
Date:   Sun Aug 17 07:51:05 2008 +0800

    removed unused #include <version.h>
    
    The drivers below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
      drivers/char/pcmcia/ipwireless/tty.c
      drivers/char/synclink_gt.c
      drivers/char/xilinx_hwicap/xilinx_hwicap.c
    
    This patch removes the said #include <version.h>.
    
    Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 406703f8de33bed0d34c6a083d58178317e27183
Merge: c100548... df60a84...
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Sat Aug 16 17:16:07 2008 -0700

    Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
    
    * 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
      lockdep: fix build if CONFIG_PROVE_LOCKING not defined
      lockdep: use WARN() in kernel/lockdep.c
      lockdep: spin_lock_nest_lock(), checkpatch fixes
      lockdep: build fix

commit c100548d4610f727b95faffd69cb54cb280cd114
Merge: 0473b79... 55cd534...
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Sat Aug 16 17:15:32 2008 -0700

    Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
    
    * 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
      sched: scale sysctl_sched_shares_ratelimit with nr_cpus
      sched: fix rt-bandwidth hotplug race
      sched: fix the race between walk_tg_tree and sched_create_group

commit 0473b7992943ee7b182aa4afeb602ba5d37d36e0
Merge: 9e94cd3... 2fdc869...
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Sat Aug 16 17:14:07 2008 -0700

    Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
    
    * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (32 commits)
      x86: add MAP_STACK mmap flag
      x86: fix section mismatch warning - spp_getpage()
      x86: change init_gdt to update the gdt via write_gdt, rather than a direct write.
      x86-64: fix overlap of modules and fixmap areas
      x86, geode-mfgpt: check IRQ before using MFGPT as clocksource
      x86, acpi: cleanup, temp_stack is used only when CONFIG_SMP is set
      x86: fix spin_is_contended()
      x86, nmi: clean UP NMI watchdog failure message
      x86, NMI: fix watchdog failure message
      x86: fix /proc/meminfo DirectMap
      x86: fix readb() et al compile error with gcc-3.2.3
      arch/x86/Kconfig: clean up, experimental adjustement
      x86: invalidate caches before going into suspend
      x86, perfctr: don't use CCCR_OVF_PMI1 on Pentium 4Ds
      x86, AMD IOMMU: initialize dma_ops after sysfs registration
      x86m AMD IOMMU: cleanup: replace LOW_U32 macro with generic lower_32_bits
      x86, AMD IOMMU: initialize device table properly
      x86, AMD IOMMU: use status bit instead of memory write-back for completion wait
      x86: silence mmconfig printk
      x86, msr: fix NULL pointer deref due to msr_open on nonexistent CPUs
      ...

commit 9e94cd325bb8ed8abe13f29b64fb54c1dec633a8
Author: Andi Kleen <ak@linux.intel.com>
Date:   Sat Aug 16 07:53:05 2008 +0200

    Move sysctl check into debugging section and don't make it default y
    
    I noticed that sysctl_check.o was the largest object file in
    a allnoconfig build in kernel/*.
    
      36243       0       0   36243    8d93 kernel/sysctl_check.o
    
    This is because it was default y and && EMBEDDED. But I don't
    really see a need for a non kernel developer to have their
    sysctls checked all the time.
    
    So move the Kconfig into the kernel debugging section and
    also drop the default y and the EMBEDDED check.
    
    Signed-off-by: Andi Kleen <ak@linux.intel.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 9c0d2a20fe331946c1a65a5865faf56e93255c5c
Merge: 5e6b83e... 66bfa2f...
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Sat Aug 16 16:48:45 2008 -0700

    Merge master.kernel.org:/home/rmk/linux-2.6-arm
    
    * master.kernel.org:/home/rmk/linux-2.6-arm: (38 commits)
      [ARM] 5191/1: ARM: remove CVS keywords
      [ARM] pxafb: fix the warning of incorrect lccr when lcd_conn is specified
      [ARM] pxafb: add flag to specify output format on LDD pins when base is RGBT16
      [ARM] pxafb: fix the incorrect configuration of GPIO77 as ACBIAS for TFT LCD
      [ARM] 5198/1: PalmTX: PCMCIA fixes
      [ARM] Fix a pile of broken watchdog drivers
      [ARM] update mach-types
      [ARM] 5196/1: fix inline asm constraints for preload
      [ARM] 5194/1: update .gitignore
      [ARM] add proc-macros.S include to proc-arm940 and proc-arm946
      [ARM] 5192/1: ARM TLB: add v7wbi_{possible,always}_flags to {possible,always}_tlb_flags
      [ARM] 5193/1: Wire up missing syscalls
      [ARM] traps: don't call undef hook functions with spinlock held
      [ARM] 5183/2: Provide Poodle LoCoMo GPIO names
      [ARM] dma-mapping: provide sync_range APIs
      [ARM] dma-mapping: improve type-safeness of DMA translations
      [ARM] Kirkwood: instantiate the orion_spi driver in the platform code
      [ARM] prevent crashing when too much RAM installed
      [ARM] Kirkwood: Instantiate mv_xor driver
      [ARM] Orion: Instantiate mv_xor driver for 5182
      ...

commit 5e6b83ed8c00f2e2ae5b2413c5907bed735b600d
Author: David Woodhouse <dwmw2@infradead.org>
Date:   Sat Aug 16 11:55:04 2008 +0100

    Fix header export of videodev2.h, ivtv.h, ivtvfb.h
    
    The exported copy of videodev2.h contains this line:
    
    	#define #include <sys/time.h>
    
    This is because for some reason it defines __user for itself -- despite
    the fact that we remove all instances of __user when exporting headers.
    _All_ pointers in userspace are user pointers. Fix it by removing the
    unnecessary '#define __user' from the file.
    
    The new headers ivtv.h and ivtvfb.h would have the same problem... if
    whoever put them there had actually remembered to add them to the Kbuild
    file while he was at it. Fix those too, and export them as was
    presumably intended.
    
    Note that includes of <linux/compiler.h> are also stripped by the header
    export process, so those don't need to be conditional.
    
    Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
    Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 605d9288b3e8a3d15e6f36185c2fc737b6979572
Author: Hugh Dickins <hugh@veritas.com>
Date:   Sat Aug 16 11:07:21 2008 +0100

    mm: VM_flags comment fixes
    
    Try to comment away a little of the confusion between mm's vm_area_struct
    vm_flags and vmalloc's vm_struct flags: based on an idea by Ulrich Drepper.
    
    Signed-off-by: Hugh Dickins <hugh@veritas.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 66bfa2f03191aec2e2958414b1dfb80a56637133
Author: Adrian Bunk <bunk@kernel.org>
Date:   Sun Aug 10 15:25:55 2008 +0100

    [ARM] 5191/1: ARM: remove CVS keywords
    
    This patch removes CVS keywords that weren't updated for a long time.
    
    Signed-off-by: Adrian Bunk <bunk@kernel.org>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

commit 4f3e2664622d23a17c6fc45a4df4c35cd2612ffb
Author: Eric Miao <ycmiao@ycmiao-ubuntu.internal.example.org>
Date:   Sat Aug 16 03:50:51 2008 -0400

    [ARM] pxafb: fix the warning of incorrect lccr when lcd_conn is specified
    
    The newly introduced "lcd_conn" field for connected LCD panel type will
    cause the original code to generate the warnings of incorrect lccr*.
    This is unnecessary since well encoded LCD_* flags will not generate
    incorrect combinition of lccr* bits. Skip the check if "lcd_conn" is
    specified.
    
    Signed-off-by: Eric Miao <eric.miao@marvell.com>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

commit 9a1ac7e498b9fc367235aabeb5b86c1319db1de9
Author: Eric Miao <ycmiao@ycmiao-ubuntu.internal.example.org>
Date:   Fri Aug 15 02:50:44 2008 -0400

    [ARM] pxafb: add flag to specify output format on LDD pins when base is RGBT16
    
    Another fix of inconsistent shift of the LCD_BIAS_ACTIVE_* and
    LCD_PCLK_EDGE_* is also included.
    
    Signed-off-by: Eric Miao <eric.miao@marvell.com>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

commit cb47729bdaf49fe5e9dd2c41554f44a77b5cd590
Author: Eric Miao <ycmiao@ycmiao-ubuntu.internal.example.org>
Date:   Sat Aug 16 03:59:11 2008 -0400

    [ARM] pxafb: fix the incorrect configuration of GPIO77 as ACBIAS for TFT LCD
    
    Signed-off-by: Eric Miao <eric.miao@marvell.com>
    Tested-by: Robert Jarzmik <robert.jarzmik@free.fr>
    Tested-by: Alex Osborne <ato@meshy.org>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

commit 574047f96a302cbca2f9bfafd78b1869b6a900bf
Author: Marek Vašut <marek.vasut@gmail.com>
Date:   Sat Aug 16 15:34:11 2008 +0100

    [ARM] 5198/1: PalmTX: PCMCIA fixes
    
    Fix GPIO handling in the PCMCIA driver.
    
    Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

commit 8b5942c391ff92417b0a133abf7a970fa4fc942a
Author: Adrian Bunk <bunk@kernel.org>
Date:   Sun Aug 10 12:33:08 2008 +0100

    [ARM] Fix a pile of broken watchdog drivers
    
    These patches from Adrian fix:
    - ixp4xx_wdt: 20d35f3e50ea7e573f9568b9fce4e98523aaee5d
      CC      drivers/watchdog/ixp4xx_wdt.o
    ixp4xx_wdt.c:32: error: expected '=', ',', ';', 'asm' or '__attribute__'
    ixp4xx_wdt.c: In function 'wdt_enable':
    ixp4xx_wdt.c:41: error: 'wdt_lock' undeclared (first use in this
    ixp4xx_wdt.c:41: error: (Each undeclared identifier is reported only
    ixp4xx_wdt.c:41: error: for each function it appears in.)
    ixp4xx_wdt.c: In function 'wdt_disable':
    ixp4xx_wdt.c:52: error: 'wdt_lock' undeclared (first use in this
    ixp4xx_wdt.c: In function 'ixp4xx_wdt_init':
    ixp4xx_wdt.c:186: error: 'wdt_lock' undeclared (first use in this
    make[3]: *** [drivers/watchdog/ixp4xx_wdt.o] Error 1
    
    - at91rm9200_wdt: 2760600da2a13d5a2a335ba012d0f3ad5df4c098
      CC      drivers/watchdog/at91rm9200_wdt.o
    at91rm9200_wdt.c:188: error: 'at91_wdt_ioctl' undeclared here (not in a
    make[3]: *** [drivers/watchdog/at91rm9200_wdt.o] Error 1
    
    - wdt285: d0e58eed05f9baf77c4f75e794ae245f6dae240a
      CC [M]  drivers/watchdog/wdt285.o
    wdt285.c: In function 'footbridge_watchdog_init':
    wdt285.c:211: error: 'KERN_WARN' undeclared (first use in this function)
    wdt285.c:211: error: (Each undeclared identifier is reported only once
    wdt285.c:211: error: for each function it appears in.)
    wdt285.c:212: error: expected ')' before string constant
    make[3]: *** [drivers/watchdog/wdt285.o] Error 1
    
    And this patch from rmk:
    - s3c2410_wdt: 41dc8b72e37c514f7332cbc3f3dd864910c2a1fa
      CC      drivers/watchdog/s3c2410_wdt.o
    s3c2410_wdt.c: In function `s3c2410wdt_start':
    s3c2410_wdt.c:161: warning: `return' with a value, in function returning void
    
    Reported-by: Adrian Bunk <bunk@kernel.org>
    Signed-off-by: Adrian Bunk <bunk@kernel.org>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

commit da4d77cda07c349d10be1398004ebdfd1a22c426
Author: Russell King <rmk@dyn-67.arm.linux.org.uk>
Date:   Wed Aug 13 21:56:24 2008 +0100

    [ARM] update mach-types
    
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

commit 16f719de62809e224e37c320760c3ce59098d862
Author: Nicolas Pitre <nico@cam.org>
Date:   Tue Aug 12 22:10:59 2008 +0100

    [ARM] 5196/1: fix inline asm constraints for preload
    
    With gcc 4.3 and later, a pointer that has already been dereferenced is
    assumed not to be null since it should have caused a segmentation fault
    otherwise, hence any subsequent test against NULL is optimized away.
    
    Current inline asm constraint used in the implementation of prefetch()
    makes gcc believe that the pointer is dereferenced even though the PLD
    instruction does not load any data and does not cause a segmentation
    fault on null pointers, which causes all sorts of interesting results
    when reaching the end of a linked lists for example.
    
    Let's use a better constraint to properly represent the actual usage of
    the pointer value.
    
    Problem reported by Chris Steel.
    
    Signed-off-by: Nicolas Pitre <nico@marvell.com>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

commit 71ef2a46fce43042a60d7ccbf55ecbd789c03c2e
Merge: d121db9... 5cd9c58...
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Fri Aug 15 15:32:13 2008 -0700

    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:
      security: Fix setting of PF_SUPERPRIV by __capable()

commit d121db94eb50b29a202b5f6a8671cbebdf2c4142
Merge: 40a3426... a4b7b6d...
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Fri Aug 15 15:31:23 2008 -0700

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6: (33 commits)
      Blackfin arch: hook up some missing new system calls
      Blackfin arch: fix missing digit in SCLK range checking
      Blackfin arch: do not muck with the UART during boot -- let the serial driver worry about it
      Blackfin arch: clear EMAC_SYSTAT during IRQ init rather than early head.S as we dont need it setup that early
      Blackfin arch: use %pF when printing out the double fault address so we get symbol names
      Blackfin arch: add support for the BlackStamp board
      Blackfin arch: Allow ins functions to have a low latency version
      Blackfin arch: Print out doublefault addresses, so debug can occur
      Blackfin arch: shuffle related prototypes together -- no functional changes
      Blackfin arch: move fixed code defines into fixed_code.h as very few things actually need to know these details
      Blackfin arch: mark some functions as __init as they are only called from __init functions
      Blackfin arch: delete dead prototypes
      Blackfin arch: cleanup cache lock code
      Blackfin arch: workaround SIC_IWR1 reset bug, by keeping MDMA0/1 always enabled in SIC_IWR1.
      Blackfin arch: Fix bug - when expanding the trace buffer, it does not print out the decoded instruction.
      Blackfin arch: Fix Bug - System with EMAC driver enabled - Core not idling
      Blackfin arch: delete unused cache functions
      Blackfin arch: convert L2 defines to be the same as the L1 defines
      Blackfin arch: unify the duplicated portions of __start and split mach-specific pieces into _mach_early_start where they will be easier to trim over time
      Blackfin arch: add asm/thread_info.h for THREAD_SIZE define
      ...

commit 40a342664078ebcb4006a89af96f7982fac36032
Merge: 4ad193b... 22d9aac...
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Fri Aug 15 12:47:16 2008 -0700

    Merge branch 'release-2.6.27' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-acpi-2.6
    
    * 'release-2.6.27' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-acpi-2.6:
      cpuidle: Make ladder governor honor latency requirements fully
      cpuidle: Menu governor fix wrong usage of measured_us
      cpuidle: Do not use poll_idle unless user asks for it
      x86: Fix ioremap off by one BUG

commit 22d9aac23562ea0e921db152f11cf39e3c2b9945
Merge: a600683... 06d9e90...
Author: Andi Kleen <ak@linux.intel.com>
Date:   Fri Aug 15 21:26:12 2008 +0200

    Merge branch 'cpuidle' into release-2.6.27

commit 06d9e908b2248f983b186aaf569c58e1430db85d
Author: venkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com>
Date:   Wed Jul 30 19:21:44 2008 -0700

    cpuidle: Make ladder governor honor latency requirements fully
    
    ladder governor only honored latency requirement when promoting C-states.
    Instead. it should check for latency requirement on each idle call,
    and demote to appropriate C-state when there is a latency requirement change.
    
    Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
    Signed-off-by: Andi Kleen <ak@linux.intel.com>

commit 320eee776357db52d6fcfb11cff985b1976a4595
Author: venkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com>
Date:   Wed Jul 30 19:21:43 2008 -0700

    cpuidle: Menu governor fix wrong usage of measured_us
    
    There is a bug in menu governor where we have
    		if (data->elapsed_us < data->elapsed_us + measured_us)
    
    with measured_us already having elapsed_us added in tickless case here
    	unsigned int measured_us =
    		cpuidle_get_last_residency(dev) + data->elapsed_us;
    
    Also, it should be last_residency, not measured_us, that need to be used to
    do comparing and distinguish between expected & non-expected events.
    
    Refactor menu_reflect() to fix these two problems.
    
    Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
    Signed-off-by: Wei Gang <gang.wei@intel.com>
    Signed-off-by: Andi Kleen <ak@linux.intel.com>

commit a2bd92023357e47f22a34d4cb1635453546662bc
Author: venkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com>
Date:   Wed Jul 30 19:21:42 2008 -0700

    cpuidle: Do not use poll_idle unless user asks for it
    
    poll_idle was added to CPUIDLE, just as a low latency idle handler, to be
    used in cases when user desires CPUs not to enter any idle state at all. It
    was supposed to be a run time idle=poll option to the user. But, it was indeed
    getting used during normal menu and ladder governor default case, with no
    special user setting (Reported by Linus Torvalds).
    
    Change below ensures that poll_idle will not be used unless user explicitly
    asks pm_qos infrastructure for zero latency requirement.
    
    Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
    Signed-off-by: Andi Kleen <ak@linux.intel.com>

commit 4ad193b43f6da6f15e19eda338c71e5b41383912
Merge: cebd770... 97bb812...
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Fri Aug 15 11:52:40 2008 -0700

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
      ALSA: wm8990: Implement speaker volume PGA
      ALSA: wm8990: Fix routing of left DAC to speaker mixer
      ALSA: virtuoso: add Xonar D1 support

commit cebd7709d396b59ff53b95fa3c4d9febbd4c010f
Author: Jean Delvare <khali@linux-fr.org>
Date:   Fri Aug 15 10:58:05 2008 +0200

    hwmon-vid: Fix AMD K8 VID decoding
    
    Not all AMD K8 have 6 VID pins, contrary to what was assumed in
    commit 116d0486bdefc11f71e567cadf0c47f788b4dd06. This commit broke
    support of older CPU models which have only 5 VID pins:
    http://bugzilla.kernel.org/show_bug.cgi?id=11329
    
    We need two entries in the hwmon-vid table, one for 5-bit VID models
    (K8 revision <= E) and one for 6-bit VID models (K8 revision >= F).
    This fixes bug #11329.
    
    Signed-off-by: Jean Delvare <khali@linux-fr.org>
    Acked-by: Frank Myhr <fmyhr@fhmtech.com>
    Tested-by: Jean-Luc Coulon <jean.luc.coulon@gmail.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit cd98a04a59e2f94fa64d5bf1e26498d27427d5e7
Author: Ingo Molnar <mingo@elte.hu>
Date:   Wed Aug 13 18:02:18 2008 +0200

    x86: add MAP_STACK mmap flag
    
    as per this discussion:
    
       http://lkml.org/lkml/2008/8/12/423
    
    Pardo reported that 64-bit threaded apps, if their stacks exceed the
    combined size of ~4GB, slow down drastically in pthread_create() - because
    glibc uses MAP_32BIT to allocate the stacks. The use of MAP_32BIT is
    a legacy hack - to speed up context switching on certain early model
    64-bit P4 CPUs.
    
    So introduce a new flag to be used by glibc instead, to not constrain
    64-bit apps like this.
    
    glibc can switch to this new flag straight away - it will be ignored
    by the kernel. If those old CPUs ever matter to anyone, support for
    it can be implemented.
    
    Signed-off-by: Ingo Molnar <mingo@elte.hu>
    Acked-by: Ulrich Drepper <drepper@gmail.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 45edb89ffd6386f95a7a9e1e5461b0e61c76aa14
Merge: 8c9a9dd... ad66133...
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Fri Aug 15 11:02:35 2008 -0700

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
      [CIFS] mount of IPC$ breaks with iget patch
      [CIFS] remove trailing whitespace
      [CIFS] if get root inode fails during mount, cleanup tree connection

commit a6006834866229aa40393ae1dac7ecf05b11e6e0
Merge: 0f24562... e213e87...
Author: Andi Kleen <ak@linux.intel.com>
Date:   Fri Aug 15 19:38:47 2008 +0200

    Merge branch 'ioremap' into release-2.6.27

commit 8c9a9dd0fa3a269d380eaae2dc1bee39e865fae1
Author: Alan Cox <alan@redhat.com>
Date:   Fri Aug 15 10:39:38 2008 +0100

    tty: remove resize window special case
    
    This moves it to being a tty operation. That removes special cases and now
    also means that resize can be picked up by um and other non vt consoles
    which may have a resize operation.
    
    Signed-off-by: Alan Cox <alan@redhat.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 21d3bdb1606311a2900eabccfcb5a887952e2c44
Merge: 3141eb6... c78c7e3...
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Fri Aug 15 10:33:07 2008 -0700

    Merge branch 'linux-next' of git://git.infradead.org/~dedekind/ubifs-2.6
    
    * 'linux-next' of git://git.infradead.org/~dedekind/ubifs-2.6: (29 commits)
      UBIFS: xattr bugfixes
      UBIFS: remove unneeded check
      UBIFS: few commentary fixes
      UBIFS: fix budgeting request alignment in xattr code
      UBIFS: improve arguments checking in debugging messages
      UBIFS: always set i_generation to 0
      UBIFS: correct spelling of "thrice".
      UBIFS: support splice_write
      UBIFS: minor tweaks in commit
      UBIFS: reserve more space for index
      UBIFS: print pid in dump function
      UBIFS: align inode data to eight
      UBIFS: improve budgeting checks
      UBIFS: correct orphan deletion order
      UBIFS: fix typos in comments
      UBIFS: do not union creat_sqnum and del_cmtno
      UBIFS: optimize deletions
      UBIFS: increment commit number earlier
      UBIFS: remove another unneeded function parameter
      UBIFS: remove unneeded function parameter
      ...

commit df60a8441866153d691ae69b77934904c2de5e0d
Author: Stephen Hemminger <shemminger@vyatta.com>
Date:   Fri Aug 15 09:33:05 2008 -0700

    lockdep: fix build if CONFIG_PROVE_LOCKING not defined
    
    If CONFIG_PROVE_LOCKING not defined, then no dependency information
    is available.
    
    Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 2fdc86901d2ab30a12402b46238951d2a7891590
Author: Ingo Molnar <mingo@elte.hu>
Date:   Wed Aug 13 18:02:18 2008 +0200

    x86: add MAP_STACK mmap flag
    
    as per this discussion:
    
       http://lkml.org/lkml/2008/8/12/423
    
    Pardo reported that 64-bit threaded apps, if their stacks exceed the
    combined size of ~4GB, slow down drastically in pthread_create() - because
    glibc uses MAP_32BIT to allocate the stacks. The use of MAP_32BIT is
    a legacy hack - to speed up context switching on certain early model
    64-bit P4 CPUs.
    
    So introduce a new flag to be used by glibc instead, to not constrain
    64-bit apps like this.
    
    glibc can switch to this new flag straight away - it will be ignored
    by the kernel. If those old CPUs ever matter to anyone, support for
    it can be implemented.
    
    Signed-off-by: Ingo Molnar <mingo@elte.hu>
    Acked-by: Ulrich Drepper <drepper@gmail.com>

commit 8d6ea9674cb12b90c800dc572214bf06f6ce8340
Author: Marcin Slusarz <marcin.slusarz@gmail.com>
Date:   Fri Aug 15 18:32:24 2008 +0200

    x86: fix section mismatch warning - spp_getpage()
    
    WARNING: vmlinux.o(.text+0x17a3e): Section mismatch in reference from the function set_pte_vaddr_pud() to the function .init.text:spp_getpage()
    The function set_pte_vaddr_pud() references
    the function __init spp_getpage().
    This is often because set_pte_vaddr_pud lacks a __init
    annotation or the annotation of spp_getpage is wrong.
    
    spp_getpage is called from __init (__init_extra_mapping) and
    non __init (set_pte_vaddr_pud) functions, so it can't be __init.
    Unfortunately it calls alloc_bootmem_pages which is __init,
    but does it only when bootmem allocator is available (after_bootmem == 0).
    
    So annotate it accordingly.
    
    Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>
    Cc: H. Peter Anvin <hpa@zytor.com>

commit fc0091b3c86396afc8e6c273aff21671cf882ee1
Author: Alex Nixon <alex.nixon@citrix.com>
Date:   Fri Aug 15 17:21:14 2008 +0100

    x86: change init_gdt to update the gdt via write_gdt, rather than a direct write.
    
    By writing directly, a memory access violation can occur whilst
    hotplugging a CPU if the entry was previously marked read-only.
    
    Signed-off-by: Alex Nixon <alex.nixon@citrix.com>
    Cc: Jeremy Fitzhardinge <Jeremy.Fitzhardinge@citrix.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 3141eb6c50f1dafa99874e702d8b444034e2bb10
Merge: 7db9cbb... 56ac36d...
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Fri Aug 15 09:30:24 2008 -0700

    Merge branch 'for-linus' of git://neil.brown.name/md
    
    * 'for-linus' of git://neil.brown.name/md:
      md: cancel check/repair requests when recovery is needed
      Allow raid10 resync to happening in larger chunks.
      Allow faulty devices to be removed from a readonly array.
      Don't let a blocked_rdev interfere with read request in raid5/6
      Fail safely when trying to grow an array with a write-intent bitmap.
      Restore force switch of md array to readonly at reboot time.
      Make writes to md/safe_mode_delay immediately effective.

commit 7db9cbb3748c46b80e5c99ffa91945b8dd4ed5e5
Merge: ffaa5b9... cbbdece...
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Fri Aug 15 09:28:16 2008 -0700

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
      Input: xilinx_ps2 - fix warning
      Input: bcm5974 - implement autosuspend support
      Input: bcm5974 - add driver for Macbook Air and Pro Penryn touchpads
      Input: paper over a bug in Synaptics X driver
      Input: evdev - split EVIOCGBIT handlig into a separate function
      Input: i8042 - Add Dritek quirk for Acer TravelMate 4280
      Input: xpad - add Pelican Eclipse D-Pad to the list of devices
      Input: gpio-keys - make gpio_keys_device_driver static
      Input: gpio-keys - fix possible NULL pointer dereference
      Input: wm97xx - enable sub-drivers by default

commit ffaa5b984a9322bbd5d9a7f0814ca2ce70feebe5
Merge: 024b246... 0f24562...
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Fri Aug 15 09:26:37 2008 -0700

    Merge branch 'release-2.6.27' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-acpi-2.6
    
    * 'release-2.6.27' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-acpi-2.6:
      ACPI: Fix thermal shutdowns
      ACPI: bounds check IRQ to prevent memory corruption
      ACPI: Avoid bogus EC timeout when EC is in Polling mode
      ACPI : Add the EC dmi table to fix the incorrect ECDT table
      ACPI: Properly clear flags on false-positives and send uevent on sudden unplug
      acpi: trivial cleanups
      acer-wmi: Fix wireless and bluetooth on early AMW0 v2 laptops
      ACPI: WMI: Set instance for query block calls
      ACPICA: Additional error checking for pathname utilities
      ACPICA: Fix possible memory leak in Unload() operator
      ACPICA: Fix memory leak when deleting thermal/processor objects

commit 55cd53404c5cc5fd94708232e3b4aa4a9388917b
Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
Date:   Mon Aug 4 08:54:26 2008 +0200

    sched: scale sysctl_sched_shares_ratelimit with nr_cpus
    
    David reported that his Niagra spend a little too much time in
    tg_shares_up(), which considering he has a large cpu count makes sense.
    
    So scale the ratelimit value with the number of cpus like we do for
    other controls as well.
    
    Reported-by: David Miller <davem@davemloft.net>
    Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 024b246ed24492d6c2ee14c34d742b137fce1b94
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Fri Aug 15 09:19:40 2008 -0700

    alpha: move include/asm-alpha to arch/alpha/include/asm
    
    Sam Ravnborg did the build-test that the direct header file move works,
    I'm just committing it.
    
    This is a pure move:
    
    	mkdir arch/alpha/include
    	git mv include/asm-alpha arch/alpha/include/asm
    
    with no other changes.
    
    Requested-and-tested-by: Sam Ravnborg <sam@ravnborg.org>
    Cc: Richard Henderson <rth@twiddle.net>
    Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit e213e87785559eaf3107897226817aea9291b06f
Author: Andi Kleen <ak@linux.intel.com>
Date:   Fri Aug 15 18:12:47 2008 +0200

    x86: Fix ioremap off by one BUG
    
    Jean Delvare's machine triggered this BUG
    
    acpi_os_map_memory phys ffff0000 size 65535
    ------------[ cut here ]------------
    kernel BUG at arch/x86/mm/pat.c:233!
    
    with ACPI in the backtrace.
    
    Adding some debugging output showed that ACPI calls
    
    acpi_os_map_memory phys ffff0000 size 65535
    
    And ioremap/PAT does this check in 32bit, so addr+size wraps and the BUG
    in reserve_memtype() triggers incorrectly.
    
            BUG_ON(start >= end); /* end is exclusive */
    
    But reserve_memtype already uses u64:
    
    int reserve_memtype(u64 start, u64 end,
    
    so the 32bit truncation must happen in the caller. Presumably in ioremap
    when it passes this information to reserve_memtype().
    
    This patch does this computation in 64bit.
    
    http://bugzilla.kernel.org/show_bug.cgi?id=11346
    
    Signed-off-by: Andi Kleen <ak@linux.intel.com>

commit 529d0e402eee62b7bfc89ec5b763a9a875bb49fb
Merge: 66d4bdf... 0d5cdc9...
Author: Ingo Molnar <mingo@elte.hu>
Date:   Fri Aug 15 17:53:07 2008 +0200

    Merge branch 'x86/geode' into x86/urgent

commit 97bb8129e5deb3c0584391a5d2348966732e2233
Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
Date:   Fri Aug 15 16:22:33 2008 +0100

    ALSA: wm8990: Implement speaker volume PGA
    
    The latest revisions of the WM8990 provide a programmable gain amplifier
    for the speaker - configure the register cache and implement controls
    for this. Older revisions of the device ignore writes to these controls.
    
    Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>

commit 436a74593c34275807fadef20344bbaca251b8d1
Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
Date:   Fri Aug 15 16:22:32 2008 +0100

    ALSA: wm8990: Fix routing of left DAC to speaker mixer
    
    Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>

commit 9419fc1c957d600093baaea247fef23cca3b4e93
Author: Bob Copeland <me@bobcopeland.com>
Date:   Fri Aug 15 00:40:47 2008 -0700

    omfs: fix oops when file metadata is corrupted
    
    A fuzzed fileystem image failed with OMFS when the extent count was
    used in a loop without being checked against the max number of extents.
    It also provoked a signed division for an array index that was checked
    as if unsigned, leading to index by -1.
    
    omfsck will be updated to fix these cases, in the meantime bail out
    gracefully.
    
    Reported-by: Eric Sesterhenn <snakebyte@gmx.de>
    Signed-off-by: Bob Copeland <me@bobcopeland.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit c963343a1150106819773e828c9b237ed977615b
Author: Bob Copeland <me@bobcopeland.com>
Date:   Fri Aug 15 00:40:46 2008 -0700

    omfs: fix potential oops when directory size is corrupted
    
    Testing with a modified fsfuzzer reveals a couple of locations in omfs
    where filesystem variables are ultimately used as loop counters with
    insufficient sanity checking.  In this case, dir->i_size is used to
    compute the number of buckets in the directory hash.  If too large,
    readdir will overrun a buffer.
    
    Since it's an invariant that dir->i_size is equal to the sysblock
    size, and we already sanity check that, just use that value instead.
    This fixes the following oops:
    
    BUG: unable to handle kernel paging request at c978e004
    IP: [<c032298e>] omfs_readdir+0x18e/0x32f
    Oops: 0000 [#1] PREEMPT DEBUG_PAGEALLOC
    Modules linked in:
    
    Pid: 4796, comm: ls Not tainted (2.6.27-rc2 #12)
    EIP: 0060:[<c032298e>] EFLAGS: 00010287 CPU: 0
    EIP is at omfs_readdir+0x18e/0x32f
    EAX: c978d000 EBX: 00000000 ECX: cbfcfaf8 EDX: cb2cf100
    ESI: 00001000 EDI: 00000800 EBP: cb2d3f68 ESP: cb2d3f0c
     DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
    Process ls (pid: 4796, ti=cb2d3000 task=cb175f40 task.ti=cb2d3000)
    Stack: 00000002 00000000 00000000 c018a820 cb2d3f94 cb2cf100 cbfb0000 ffffff10
           cbfb3b80 cbfcfaf8 000001c9 00000a09 00000000 00000000 00000000 cbfcfbc8
           c9697000 cbfb3b80 22222222 00001000 c08e6cd0 cb2cf100 cbfb3b80 cb2d3f88
    Call Trace:
     [<c018a820>] ? filldir64+0x0/0xcd
     [<c018a9f2>] ? vfs_readdir+0x56/0x82
     [<c018a820>] ? filldir64+0x0/0xcd
     [<c018aa7c>] ? sys_getdents64+0x5e/0xa0
     [<c01038bd>] ? sysenter_do_call+0x12/0x31
     =======================
    Code: 00 89 f0 89 f3 0f ac f8 14 81 e3 ff ff 0f 00 48 8d
    14 c5 b8 01 00 00 89 45 cc 89 55 f0 e9 8c 01 00 00 8b 4d c8 8b 75 f0 8b
    41 18 <8b> 54 30 04 8b 04 30 31 f6 89 5d dc 89 d1 8b 55 b8 0f c8 0f c9
    
    Reported-by: Eric Sesterhenn <snakebyte@gmx.de>
    Signed-off-by: Bob Copeland <me@bobcopeland.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit be4de35263f59ca1f4740edfffbfb02cc3f2189e
Author: Dave Chinner <david@fromorbit.com>
Date:   Fri Aug 15 00:40:44 2008 -0700

    completions: uninline try_wait_for_completion and completion_done
    
    m68k fails to build with these functions inlined in completion.h.  Move
    them out of line into sched.c and export them to avoid this problem.
    
    Signed-off-by: Dave Chinner <david@fromorbit.com>
    Cc: Geert Uytterhoeven <geert@linux-m68k.org>
    Cc: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit e48880e02e7e7ead9daa47fe3a20486f550668d3
Author: David Brownell <dbrownell@users.sourceforge.net>
Date:   Fri Aug 15 00:40:44 2008 -0700

    spi: bugfix spi_add_device() with duplicate chipselects
    
    When reviewing a recent patch I noticed a potential trouble spot in the
    registration of new SPI devices.  The SPI master driver is told to set
    the device up before adding it to the driver model, so that it's always
    properly set up when probe() is called.  (This is important, because in
    the case of inverted chipselects, this device can make the bus misbehave
    until it's properly deselected.  It's got to be set up even if no driver
    binds to the device.)
    
    The trouble spot is that it doesn't first verify that no other device
    has been added using that chipselect.  If such a device has been added,
    its configuration gets trashed.  (Fortunately this has not been a common
    error!)
    
    The fix here adds an explicit check, and a mutex to protect the relevant
    critical region.
    
    [akpm@linux-foundation.org: make the lock local to spi_add_device()]
    Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 7d455e0030eeab820773e7786605be4d9e56a04b
Author: Chris Mason <chris.mason@oracle.com>
Date:   Fri Aug 15 00:40:43 2008 -0700

    fs/inode.c: properly init address_space->writeback_index
    
    write_cache_pages() uses i_mapping->writeback_index to pick up where it
    left off the last time a given inode was found by pdflush or
    balance_dirty_pages (or anyone else who sets wbc->range_cyclic)
    
    alloc_inode() should set it to a sane value so that writeback doesn't
    start in the middle of a file.  It is somewhat difficult to notice the bug
    since write_cache_pages will loop around to the start of the file and the
    elevator helps hide the resulting seeks.
    
    For whatever reason, Btrfs hits this often.  Unpatched, untarring 30
    copies of the linux kernel in series runs at 47MB/s on a single sata
    drive.  With this fix, it jumps to 62MB/s.
    
    Signed-off-by: Chris Mason <chris.mason@oracle.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 75312619e8cd47265da210189cca57ab09640b18
Author: Jack Steiner <steiner@sgi.com>
Date:   Fri Aug 15 00:40:42 2008 -0700

    MAINTAINERS: add maintainers for GRU, XPC, XPNET and XP
    
    Add MAINTAINERS for GRU, XPNET, XPC and XP drivers.
    
    Signed-off-by: Jack Steiner <steiner@sgi.com>
    Cc: Stephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 34c86c1e622ec77ba81c01969003bbc8e15156f3
Author: Darrick J. Wong <djwong@us.ibm.com>
Date:   Fri Aug 15 00:40:41 2008 -0700

    coretemp: recognize Nehalem CPUs
    
    Add in the CPUID for Nehalem chips.
    
    Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
    Cc: Kent Liu <kent.liu@linux.intel.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit bb15e7f286e3ecf3e85e06ad9b0019096e43a613
Author: Darrick J. Wong <djwong@us.ibm.com>
Date:   Fri Aug 15 00:40:41 2008 -0700

    ibmaem: don't query the entire sensor repository when reading energy meter
    
    Currently, all sensors are read when the energy meter is queried via
    sysfs.  This introduces a considerable amount of delay and variation in
    the sysfs reading, which is not desirable when trying to profile energy
    use.  Therefore, read only the energy meters when a sysfs query comes in
    for them, and don't cache the results so that we always get the latest
    reading.
    
    Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 9c5413eac5199b8457689eb2c9d9e75138356bd6
Author: Darrick J. Wong <djwong@us.ibm.com>
Date:   Fri Aug 15 00:40:40 2008 -0700

    ibmaem: prevent infinite probing loop on x3650 M2 systems
    
    On older machines, probing for a nonexistent AEM interface returned an
    IPMI error; when we saw this, we'd stop probing.  On the x3650 M2 and
    (presumably) later, we are returned a value indicating success and a
    buffer full of garbage or zeroes.  This causes the probe function to run
    in an infinite loop.  To fix this, we add one last check--if the
    interface number we're looking for is higher than the number of
    interfaces that AEM claims to have, stop probing.
    
    Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit eb93b7df7e66597fa807e34a0f812ffff7ff165b
Author: Darrick J. Wong <djwong@us.ibm.com>
Date:   Fri Aug 15 00:40:40 2008 -0700

    ibmaem: update the documentation to reflect the current name
    
    Minor documentation update to reflect the current full name of the power
    management hardware interface and reflows the text a bit.
    
    Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 4ef664b5bc93bbfe28513165216a8c9f4fad5314
Author: Alistair John Strachan <alistair@devzero.co.uk>
Date:   Fri Aug 15 00:40:39 2008 -0700

    abituguru3: prefer DMI probing to manual probing
    
    Previously the driver was only using DMI to prevent smbus probing on
    non-Abit motherboards.  However, since the manual probing method is
    brittle and prone to failure on some Abit motherboards (esp.  the Abit
    IP35 Pro) it is better to use DMI to also read the board name and then
    decide whether or not to probe the bus.
    
    At the moment, we do not have a list of valid DMI name strings to use
    for existing and supported motherboards.  This patch only implements DMI
    probing for the IP35 Pro.  For motherboards that can not yet use DMI
    probing, a warning will be printed to the kernel log asking those users
    to email me their dmidecode output.
    
    The existing manual probing mechanism will be used if CONFIG_DMI is not
    enabled, if DMI probing fails (for DMI-unsupported motherboards), or if
    DMI probing fails and the "force" option is set (for DMI-supported
    motherboards).  Ideally in the longer term this manual probing method
    would be removed.
    
    This patch should be safe to apply as it does not change the probing
    behaviour for most of the supported motherboards, just the IP35 Pro,
    which already has regressions filed against it in 2.6.26.
    
    Addresses http://bugzilla.kernel.org/show_bug.cgi?id=11212
    
    Signed-off-by: Alistair John Strachan <alistair@devzero.co.uk>
    Acked-by: Hans de Goede <j.w.r.degoede@hhs.nl>
    Cc: "Mark M. Hoffman" <mhoffman@lightlink.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 249e3c85afb972d8ae8b6da269e7c85f931b9849
Author: Alistair John Strachan <alistair@devzero.co.uk>
Date:   Fri Aug 15 00:40:37 2008 -0700

    abituguru3: update MAINTAINERS
    
    Hans passed maintainership of the abituguru3 hwmon driver onto me.  Add
    a new entry to the MAINTAINERS file for the abituguru3 driver and assign
    it to me.  Also update the existing UGURU entry to indicate that Hans is
    only responsible for the abituguru driver.
    
    Signed-off-by: Alistair John Strachan <alistair@devzero.co.uk>
    Acked-by: Hans de Goede <j.w.r.degoede@hhs.nl>
    Cc: Jean Delvare <khali@linux-fr.org>
    Cc: "Mark M. Hoffman" <mhoffman@lightlink.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 963d96b53e1f4ebf4db0b8b7ba71ff7b438fbee0
Author: Darrick J. Wong <djwong@us.ibm.com>
Date:   Fri Aug 15 00:40:36 2008 -0700

    i5k_amb: provide labels for temperature sensors
    
    Export the sensor -> channel/dimm mapping in tempX_label.
    
    Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
    Cc: "Mark M. Hoffman" <mhoffman@lightlink.com>
    Cc: Jean Delvare <khali@linux-fr.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit d42139a3fbd9793cf3747287e8f5c1ae06e06942
Author: Marc Pignat <marc.pignat@hevs.ch>
Date:   Fri Aug 15 00:40:34 2008 -0700

    hwmon: ADC124S501 generic driver
    
    SPI driver for analog to digital converters national semiconductor
    ADC081S101, ADC124S501, ...
    
    Code for 8 channels by Tobias Himmer.
    
    This driver adds support for National Semiconductor ADC<bb><c>S<sss> chip
    family, where:
    
     * bb  is the resolution in number of bits (8, 10, 12)
     * c   is the number of channels (1, 2, 4, 8)
     * sss is the maximum conversion speed (021 for 200 kSPS, 051 for 500
       kSPS and 101 for 1 MSPS)
    
    [akpm@linux-foundation.org: coding-style fixes]
    Signed-off-by: Marc Pignat <marc.pignat@hevs.ch>
    Cc: Tobias Himmer <tobias@himmer-online.de>
    Cc: "Mark M. Hoffman" <mhoffman@lightlink.com>
    Cc: Jean Delvare <khali@linux-fr.org>
    Cc: David Brownell <david-b@pacbell.net>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 16a515fd0cd3711a7da464d36009f18cd8e23f07
Author: Michael Borisov <niro@tut.by>
Date:   Fri Aug 15 00:40:32 2008 -0700

    drivers/hwmon/w83791d.c: fix unused var warning
    
    drivers/hwmon/w83791d.c: In function `w83791d_probe':
    drivers/hwmon/w83791d.c:1049: warning: unused variable `val1'
    
    Signed-off-by: Michael Borisov <niro@tut.by>
    Cc: "Mark M. Hoffman" <mhoffman@lightlink.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit f91a79fe86a0becdf2506c189cdde154e82c787c
Author: Guilherme M. Schroeder <guilherme.m.schroeder@gmail.com>
Date:   Fri Aug 15 00:40:32 2008 -0700

    applesmc: add support for Macbook
    
    Add support for Macbook v3 (sensors and accelerometer).
    
    Signed-off-by: Nicolas Boichat <nicolas@boichat.ch>
    Cc: "Mark M. Hoffman" <mhoffman@lightlink.com>
    Cc: Jean Delvare <khali@linux-fr.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 9f86f28df14e06b12908d6475ee2462f0555bf34
Author: Roberto De Ioris <roberto@unbit.it>
Date:   Fri Aug 15 00:40:30 2008 -0700

    applesmc: support for Intel iMac
    
    This adds support for fans and temperature sensors on intel iMac.
    
    Tested on iMac 24" 2.8ghz (iMac8,1), it supports the following sensors:
    
    cpu A
    ambient
    gpu
    gpu diode
    gpu heatsink
    hd bay 1
    memory controller
    optical drive
    power
    
    Signed-off-by: Roberto De Ioris <roberto@unbit.it>
    Cc: Nicolas Boichat <nicolas@boichat.ch>
    Cc: Jean Delvare <khali@linux-fr.org>
    Cc: Mark M. Hoffman <mhoffman@lightlink.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit fdfaa4833f984c6f8d44afb1fed6c0c775e6e67b
Author: York Sun <yorksun@freescale.com>
Date:   Fri Aug 15 00:40:29 2008 -0700

    freescale DIU: bug fix: add sanity check for AOI position
    
    AOI position cannot be negative.
    
    Signed-off-by: York Sun <yorksun@freescale.com>
    Cc: Kumar Gala <galak@gate.crashing.org>
    Cc: "Antonino A. Daplas" <adaplas@pol.net>
    Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit ae5591e3f4754478b397a4e09ebd7cf4774ef88e
Author: York Sun <yorksun@freescale.com>
Date:   Fri Aug 15 00:40:28 2008 -0700

    freescale DIU: add virtual resolution and panning support
    
    Application can now have the virtual resoltuion and use FBIOPAN_DISPLAY
    ioctl to pan.
    
    Signed-off-by: York Sun <yorksun@freescale.com>
    Cc: Kumar Gala <galak@gate.crashing.org>
    Cc: "Antonino A. Daplas" <adaplas@pol.net>
    Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 8c5a1cf0ad3ac5fcdf51314a63b16a440870f6a2
Author: Andrew Morton <akpm@linux-foundation.org>
Date:   Fri Aug 15 00:40:27 2008 -0700

    kexec: use a mutex for locking rather than xchg()
    
    Functionally the same, but more conventional.
    
    Cc: Huang Ying <ying.huang@intel.com>
    Tested-by: Vivek Goyal <vgoyal@redhat.com>
    Cc: "Eric W. Biederman" <ebiederm@xmission.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 3122c331190e9d1622bf1c8cf6ce3b17cca67c9e
Author: Huang Ying <ying.huang@intel.com>
Date:   Fri Aug 15 00:40:26 2008 -0700

    kexec jump: fix for ftrace
    
    Ftrace depends on some processor state that we destroyed during kexec and
    restored by restore_processor_state().  So save_processor_state() and
    restore_processor_state() are moved into machine_kexec() and ftrace is
    restored after restore_processor_state().
    
    Signed-off-by: Huang Ying <ying.huang@intel.com>
    Cc: Pavel Machek <pavel@ucw.cz>
    Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
    Cc: "Eric W. Biederman" <ebiederm@xmission.com>
    Cc: Vivek Goyal <vgoyal@redhat.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 9bdeb7b5d34f197dea7859d24475943395ffea5e
Author: Huang Ying <ying.huang@intel.com>
Date:   Fri Aug 15 00:40:25 2008 -0700

    kexec jump: __ftrace_enabled_save/restore
    
    Add __ftrace_enabled_save/restore, used to disable ftrace for a while.
    Now, this is used by kexec jump, which need a version without lock, for
    general situation, a locked version should be used.
    
    Signed-off-by: Huang Ying <ying.huang@intel.com>
    Cc: Pavel Machek <pavel@ucw.cz>
    Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
    Cc: "Eric W. Biederman" <ebiederm@xmission.com>
    Cc: Vivek Goyal <vgoyal@redhat.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 73bd9c72a29be1e8de008186eea55d333a938804
Author: Huang Ying <ying.huang@intel.com>
Date:   Fri Aug 15 00:40:24 2008 -0700

    kexec jump: in sync with hibernation implementation
    
    Add device_pm_lock() and device_pm_unlock() in kernel_kexec() in sync with
    current hibernation implementation.
    
    Signed-off-by: Huang Ying <ying.huang@intel.com>
    Acked-by: Pavel Machek <pavel@ucw.cz>
    Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
    Cc: "Eric W. Biederman" <ebiederm@xmission.com>
    Cc: Vivek Goyal <vgoyal@redhat.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit ca195b7f6da3d5dde0bb85a7c322d7de73352653
Author: Huang Ying <ying.huang@intel.com>
Date:   Fri Aug 15 00:40:24 2008 -0700

    kexec jump: remove duplication of kexec_restart_prepare()
    
    Call kernel_restart_prepare() in kernel_kexec() instead of duplicating the
    code.
    
    Signed-off-by: Huang Ying <ying.huang@intel.com>
    Acked-by: Pavel Machek <pavel@suse.cz>
    Acked-by: Vivek Goyal <vgoyal@redhat.com>
    Cc: Pavel Machek <pavel@ucw.cz>
    Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
    Cc: "Eric W. Biederman" <ebiederm@xmission.com>
    Cc: Vivek Goyal <vgoyal@redhat.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit fb45daa69d287b394eca1619b3fadff7c0215c71
Author: Huang Ying <ying.huang@intel.com>
Date:   Fri Aug 15 00:40:23 2008 -0700

    kexec jump: check code size in control page
    
    Kexec/Kexec-jump require code size in control page is less than
    PAGE_SIZE/2.  This patch add link-time checking for this.
    
    ASSERT() of ld link script is used as the link-time checking mechanism.
    
    [akpm@linux-foundation.org: build fix]
    Signed-off-by: Huang Ying <ying.huang@intel.com>
    Cc: Pavel Machek <pavel@ucw.cz>
    Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
    Cc: "Eric W. Biederman" <ebiederm@xmission.com>
    Acked-by: Vivek Goyal <vgoyal@redhat.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 163f6876f5c3ff8215e900b93779e960a56b3694
Author: Huang Ying <ying.huang@intel.com>
Date:   Fri Aug 15 00:40:22 2008 -0700

    kexec jump: rename KEXEC_CONTROL_CODE_SIZE to KEXEC_CONTROL_PAGE_SIZE
    
    Rename KEXEC_CONTROL_CODE_SIZE to KEXEC_CONTROL_PAGE_SIZE, because control
    page is used for not only code on some platform.  For example in kexec
    jump, it is used for data and stack too.
    
    [akpm@linux-foundation.org: unbreak powerpc and arm, finish conversion]
    Signed-off-by: Huang Ying <ying.huang@intel.com>
    Cc: Pavel Machek <pavel@ucw.cz>
    Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
    Cc: "Eric W. Biederman" <ebiederm@xmission.com>
    Cc: Vivek Goyal <vgoyal@redhat.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Russell King <rmk@arm.linux.org.uk>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 7ade3fcc1fe2801336112027a884070c9ca451af
Author: Huang Ying <ying.huang@intel.com>
Date:   Fri Aug 15 00:40:21 2008 -0700

    kexec jump: clean up #ifdef and comments
    
    Move if (kexec_image->preserve_context) { ...  } into #ifdef
    CONFIG_KEXEC_JUMP to make code looks cleaner.
    
    Fix no longer correct comments of kernel_kexec().
    
    Signed-off-by: Huang Ying <ying.huang@intel.com>
    Acked-by: Vivek Goyal <vgoyal@redhat.com>
    Cc: Pavel Machek <pavel@ucw.cz>
    Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
    Cc: "Eric W. Biederman" <ebiederm@xmission.com>
    Cc: Vivek Goyal <vgoyal@redhat.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 4cd69b986ebf0f8da93f82ffbb89c032ee09c2e1
Author: Huang Ying <ying.huang@intel.com>
Date:   Fri Aug 15 00:40:20 2008 -0700

    kexec: fix compilation warning on xchg(&kexec_lock, 0) in kernel_kexec()
    
    kernel/kexec.c: In function 'kernel_kexec':
    kernel/kexec.c:1506: warning: value computed is not used
    
    Signed-off-by: Huang Ying <ying.huang@intel.com>
    Cc: "Eric W. Biederman" <ebiederm@xmission.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit ce289e89726948b50a58c9e8f4e81174a8c9c254
Author: Marcin Slusarz <marcin.slusarz@gmail.com>
Date:   Fri Aug 15 00:40:19 2008 -0700

    suspend: fix section mismatch warning - register_nosave_region
    
    WARNING: vmlinux.o(.text+0xe684): Section mismatch in reference from the function register_nosave_region() to the function .init.text:__register_nosave_region()
      The function register_nosave_region() references
      the function __init __register_nosave_region().
      This is often because register_nosave_region lacks a __init
      annotation or the annotation of __register_nosave_region is wrong.
    
    register_nosave_region calls __init function and is called only from
    __init functions
    
    Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
    Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
    Cc: Pavel Machek <pavel@suse.cz>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 6acb2eceff80027bd67a204227c6c8effd464c25
Author: Michael Kerrisk <mtk.manpages@googlemail.com>
Date:   Fri Aug 15 00:40:18 2008 -0700

    Documentation/vm/page_migration: update reference to numa_maps + fix download URI
    
    With man-pages-3.07, the numa_maps documentation home is now proc(5), so
    the reference in Documentation/vm/page_migration needs updating.
    (Cliff/Lee are removing numa_maps.5 from the numactl package.) Also, the
    download location for the numactl package changed a while back.  This
    patch fixes both things, as well as a typo (provided-->provides).
    
    Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
    Cc: Cliff Wickman <cpw@sgi.com>
    Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
    Cc: Randy Dunlap <rdunlap@xenotime.net>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 627240aaa92a4dc00d25584910b5f205e963747b
Author: Mikulas Patocka <mpatocka@redhat.com>
Date:   Fri Aug 15 00:40:17 2008 -0700

    bootmem allocator: alloc_bootmem_core(): page-align the end offset
    
    This is the minimal sequence that jams the allocator:
    
    void *p, *q, *r;
    p = alloc_bootmem(PAGE_SIZE);
    q = alloc_bootmem(64);
    free_bootmem(p, PAGE_SIZE);
    p = alloc_bootmem(PAGE_SIZE);
    r = alloc_bootmem(64);
    
    after this sequence (assuming that the allocator was empty or page-aligned
    before), pointer "q" will be equal to pointer "r".
    
    What's hapenning inside the allocator:
    p = alloc_bootmem(PAGE_SIZE);
    in allocator: last_end_off == PAGE_SIZE, bitmap contains bits 10000...
    q = alloc_bootmem(64);
    in allocator: last_end_off == PAGE_SIZE + 64, bitmap contains 11000...
    free_bootmem(p, PAGE_SIZE);
    in allocator: last_end_off == PAGE_SIZE + 64, bitmap contains 01000...
    p = alloc_bootmem(PAGE_SIZE);
    in allocator: last_end_off == PAGE_SIZE, bitmap contains 11000...
    r = alloc_bootmem(64);
    
    and now:
    
    it finds bit "2", as a place where to allocate (sidx)
    
    it hits the condition
    
    if (bdata->last_end_off && PFN_DOWN(bdata->last_end_off) + 1 == sidx))
    start_off = ALIGN(bdata->last_end_off, align);
    
    -you can see that the condition is true, so it assigns start_off =
    ALIGN(bdata->last_end_off, align); (that is PAGE_SIZE) and allocates
    over already allocated block.
    
    With the patch it tries to continue at the end of previous allocation only
    if the previous allocation ended in the middle of the page.
    
    Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
    Acked-by: Johannes Weiner <hannes@saeurebad.de>
    Cc: David Miller <davem@davemloft.net>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 66d4bdf22b8652cda215e2653c8bbec7a767ed57
Author: Jan Beulich <jbeulich@novell.com>
Date:   Thu Jul 31 16:48:31 2008 +0100

    x86-64: fix overlap of modules and fixmap areas
    
    Plus add a build time check so this doesn't go unnoticed again.
    
    Signed-off-by: Jan Beulich <jbeulich@novell.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 0d5cdc97e242a5589e5dca23277675f4b4482490
Author: Jens Rottmann <JRottmann@LiPPERTEmbedded.de>
Date:   Mon Aug 4 14:40:16 2008 +0200

    x86, geode-mfgpt: check IRQ before using MFGPT as clocksource
    
    Adds a simple IRQ autodetection to the AMD Geode MFGPT driver, and more
    importantly, adds some checks, if IRQs can actually be received on the
    chosen line.  This fixes cases where MFGPT is selected as clocksource
    though not producing any ticks, so the kernel simply starves during
    boot.
    
    Signed-off-by: Jens Rottmann <JRottmann@LiPPERTEmbedded.de>
    Cc: Andres Salomon <dilinger@debian.org>
    Cc: linux-geode@bombadil.infradead.org
    Cc: Jordan Crouse <jordan.crouse@amd.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 9744f5a32853642f8ed0749a1c9ed8cf9c9c9dc4
Author: Marcin Slusarz <marcin.slusarz@gmail.com>
Date:   Sun Aug 3 19:25:48 2008 +0200

    x86, acpi: cleanup, temp_stack is used only when CONFIG_SMP is set
    
    fix:
    
      arch/x86/kernel/acpi/sleep.c:24: warning: 'temp_stack' defined but not used
    
    [ Sven Wegener <sven.wegener@stealer.net>: fix build bug ]
    
    Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
    Acked-by: Pavel Machek <pavel@suse.cz>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 7bc069c6bc4ede519a7116be1b9e149a1dbf787a
Author: Jan Beulich <jbeulich@novell.com>
Date:   Mon Aug 4 14:38:54 2008 +0100

    x86: fix spin_is_contended()
    
    The masked difference is what needs to be compared against 1, rather
    than the difference of masked values (which can be negative).
    
    Signed-off-by: Jan Beulich <jbeulich@novell.com>
    Acked-by: Nick Piggin <npiggin@suse.de>
    Cc: <stable@kernel.org>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 8bb851900f5d0a79d3fddac808cc670d9894ef67
Author: Ingo Molnar <mingo@elte.hu>
Date:   Fri Aug 15 15:34:32 2008 +0200

    x86, nmi: clean UP NMI watchdog failure message
    
    clean up the failure message - and redirect people to bugzilla
    instead of lkml.
    
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 15636668449d4135ac77a79715ba430a81aed16d
Author: Aristeu Rozanski <arozansk@redhat.com>
Date:   Fri Aug 15 08:36:14 2008 -0400

    x86, NMI: fix watchdog failure message
    
    > it just won't work at boot time - the second logic unit will be stuck:
    >
    > Booting processor 1/2 APIC 0x1
    > Initializing CPU#1
    > Calibrating delay using timer specific routine.. 5586.12 BogoMIPS (lpj=2793063)
    > CPU: Trace cache: 12K uops, L1 D cache: 16K
    > CPU: L2 cache: 1024K
    > CPU: Physical Processor ID: 0
    > CPU: Processor Core ID: 1
    > CPU1: Thermal monitoring enabled (TM1)
    >               Intel(R) Pentium(R) D CPU 2.80GHz stepping 04
    > Brought up 2 CPUs
    > testing NMI watchdog ... <4>WARNING: CPU#1: NMI appears to be stuck (0->0)!
    
    while at it... - fix that newline
    
    Signed-off-by: Aristeu Rozanski <aris@redhat.com>
    Cc: jvillalo@redhat.com
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit a06de63000b95e1ed1c6373a72376876c952608e
Author: Hugh Dickins <hugh@veritas.com>
Date:   Fri Aug 15 13:58:32 2008 +0100

    x86: fix /proc/meminfo DirectMap
    
    Do we actually want these DirectMap lines in the x86 /proc/meminfo?
    I can see they're interesting to CPA developers and TLB optimizers,
    but they don't fit its usual "where has all my memory gone?" usage.
    If they are to stay, here are some fixes.
    
    1. On x86_32 without PAE, they're not 2M but 4M pages: no need to
       mess with the internal enum, but show the right name to users.
    
    2. Many machines can never show anything but 0 for DirectMap1G,
       so suppress that line unless direct_gbpages are really enabled.
    
    3. The unit in /proc/meminfo is kB not number of pages: HugePages
       messed that up, but they're an example to regret not to follow.
    
    4. Once we use kB, it's easy to see that 1GB has gone missing (which
       explains why CONFIG_CPA_DEBUG=y soon wraps DirectMap2M negative):
       because head_64.S's level2_ident_pgt entries were not counted.
       My fix is not ideal, but works for more and for less than 1G,
       and avoids interfering with early bootup pagetable contortions.
    
    Signed-off-by: Hugh Dickins <hugh@veritas.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 1c5b0eb66d74683e2be5da0c53e33c1f4ca982fd
Author: Mikael Pettersson <mikpe@it.uu.se>
Date:   Wed Aug 13 21:07:07 2008 +0200

    x86: fix readb() et al compile error with gcc-3.2.3
    
    Building 2.6.27-rc1 on x86 with gcc-3.2.3 fails with:
    
    In file included from include/asm/dma.h:12,
                     from include/linux/bootmem.h:8,
                     from init/main.c:26:
    include/asm/io.h: In function `readb':
    include/asm/io.h:32: syntax error before string constant
    include/asm/io.h: In function `readw':
    include/asm/io.h:33: syntax error before string constant
    include/asm/io.h: In function `readl':
    include/asm/io.h:34: syntax error before string constant
    include/asm/io.h: In function `__readb':
    include/asm/io.h:36: syntax error before string constant
    include/asm/io.h: In function `__readw':
    include/asm/io.h:37: syntax error before string constant
    include/asm/io.h: In function `__readl':
    include/asm/io.h:38: syntax error before string constant
    make[1]: *** [init/main.o] Error 1
    make: *** [init] Error 2
    
    Starting with 2.6.27-rc1 readb() et al are generated by a
    build_mmio_read() macro, which generates asm() statements with
    output register constraints like "=" "q", i.e. as two adjacent
    string literals. This doesn't work with gcc-3.2.3.
    
    Fixed by moving the "=" part into the callers' reg parameter
    (as suggested by Ingo).
    
    Build and boot-tested with gcc-3.2.3 on 32 and 64-bit x86.
    
    Fixes <http://bugzilla.kernel.org/show_bug.cgi?id=11205>.
    
    Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 04b69447f79eade34e92f3117a39e8fa6ecb519b
Author: Pavel Machek <pavel@suse.cz>
Date:   Thu Aug 14 17:16:50 2008 +0200

    arch/x86/Kconfig: clean up, experimental adjustement
    
    Adjust experimental tags in Kconfig, update config to notice that
    i386/x86_64 is now single architecture.
    
    Signed-off-by: Pavel Machek <pavel@suse.cz>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 394a15051c33f2b18e72f42283b36a9388fa414b
Author: Mark Langsdorf <mark.langsdorf@amd.com>
Date:   Thu Aug 14 09:11:26 2008 -0500

    x86: invalidate caches before going into suspend
    
    When a CPU core is shut down, all of its caches need to be flushed
    to prevent stale data from causing errors if the core is resumed.
    Current Linux suspend code performs an assignment after the flush,
    which can add dirty data back to the cache.  On some AMD platforms,
    additional speculative reads have caused crashes on resume because
    of this dirty data.
    
    Relocate the cache flush to be the very last thing done before
    halting.  Tie into an assembly line so the compile will not
    reorder it.  Add some documentation explaining what is going
    on and why we're doing this.
    
    Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com>
    Acked-by: Mark Borden <mark.borden@amd.com>
    Acked-by: Michael Hohmuth <michael.hohmuth@amd.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit dcc984166870150709f0c645b521a47becd9a047
Author: Aristeu Rozanski <arozansk@redhat.com>
Date:   Thu Aug 14 16:32:15 2008 -0400

    x86, perfctr: don't use CCCR_OVF_PMI1 on Pentium 4Ds
    
    Currently, setup_p4_watchdog() use CCCR_OVF_PMI1 to enable the counter
    overflow interrupts to the second logical core. But this bit doesn't work
    on Pentium 4 Ds (model 4, stepping 4) and this patch avoids its use on
    these processors. Tested on 4 different machines that have this
    specific model with success.
    
    Signed-off-by: Aristeu Rozanski <aris@redhat.com>
    Cc: jvillalovos@redhat.com
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 975439fe73d1f0f7ce8c235c66783bd34dc459c3
Merge: ef31023... 129d6ab...
Author: Ingo Molnar <mingo@elte.hu>
Date:   Fri Aug 15 13:57:32 2008 +0200

    Merge branch 'x86/amd-iommu' into x86/urgent

commit 129d6aba444d1e99d4cbfb9866a4652912426b65
Author: Joerg Roedel <joerg.roedel@amd.com>
Date:   Thu Aug 14 19:55:18 2008 +0200

    x86, AMD IOMMU: initialize dma_ops after sysfs registration
    
    If sysfs registration fails all memory used by IOMMU is freed. This
    happens after dma_ops initialization and the functions will access the
    freed memory then.
    
    Fix this by initializing dma_ops after the sysfs registration.
    
    Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 8a456695c5020d6317f9c7af190999e9414b0d3e
Author: Joerg Roedel <joerg.roedel@amd.com>
Date:   Thu Aug 14 19:55:17 2008 +0200

    x86m AMD IOMMU: cleanup: replace LOW_U32 macro with generic lower_32_bits
    
    Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 9f5f5fb35d2934fe7dc0cb019854a030efd10cd7
Author: Joerg Roedel <joerg.roedel@amd.com>
Date:   Thu Aug 14 19:55:16 2008 +0200

    x86, AMD IOMMU: initialize device table properly
    
    This patch adds device table initializations which forbids memory accesses
    for devices per default and disables all page faults.
    
    Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 519c31bacf78a969efa8d2e55ed8862848f28590
Author: Joerg Roedel <joerg.roedel@amd.com>
Date:   Thu Aug 14 19:55:15 2008 +0200

    x86, AMD IOMMU: use status bit instead of memory write-back for completion wait
    
    Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit ef31023743e66de7184e9aad432291c842a6384b
Author: Dave Jones <davej@redhat.com>
Date:   Thu Aug 14 15:07:03 2008 -0400

    x86: silence mmconfig printk
    
    There's so much broken mmconfig hardware/bios'es out there,
    that classing this as an error seems a little extreme.
    Lower its priority to KERN_INFO so that it isn't so noisy
    when booting with 'quiet'
    
    Signed-off-by: Dave Jones <davej@redhat.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 967060d00d7ab8e992963a966cd3d18156c02d55
Author: Darrick J. Wong <djwong@us.ibm.com>
Date:   Thu Aug 14 15:43:33 2008 -0700

    x86, msr: fix NULL pointer deref due to msr_open on nonexistent CPUs
    
    msr_open tests for someone trying to open a device for a nonexistent CPU.
    However, the function always returns 0, not ret like it should, hence
    userspace can BUG the kernel trivially.  This bug was introduced by the
    cdev lock_kernel pushdown patch last May.
    
    The BUG can be reproduced with these commands:
    
    # mknod fubar c 202 8 <-- pick a number less than NR_CPUS that is not
                              the number of an online CPU
    # cat fubar
    
    Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 0f2456236459f3ddef48a8a75d10b2d6ecf1a93d
Merge: 3c7db22... 9d699ed... afd7301... fa46d35... 9f497bc... 5c742b4... d005741...
Author: Andi Kleen <ak@linux.intel.com>
Date:   Fri Aug 15 03:30:00 2008 +0200

    Merge branches 'acpica-release-fixes', 'ec-fix', 'dock', 'irq-bounds', 'thermal-fix', 'wmi' and 'acpi-cleanups' into release-2.6.27

commit 9f497bcc695fb828da023d74ad3c966b1e58ad21
Author: Milan Broz <mbroz@redhat.com>
Date:   Tue Aug 12 17:48:27 2008 +0200

    ACPI: Fix thermal shutdowns
    
    Do not use unsigned int if there is test for negative number...
    
    See drivers/acpi/processor_perflib.c
      static unsigned int ignore_ppc = -1;
    ...
      if (event == CPUFREQ_START && ignore_ppc <= 0) {
           ignore_ppc = 0;
    ...
    
    Signed-off-by: Milan Broz <mbroz@redhat.com>
    Signed-off-by: Andi Kleen <ak@linux.intel.com>

commit fa46d3526461e8aa7c0fb39cc1b98ac656695a43
Author: Bjorn Helgaas <bjorn.helgaas@hp.com>
Date:   Fri Aug 1 15:58:17 2008 -0600

    ACPI: bounds check IRQ to prevent memory corruption
    
    acpi_penalize_isa_irq() should validate irq before using it to
    index the acpi_irq_penalty[] table.
    
    Here's the path I'm concerned about:
    
        pnpacpi_parse_allocated_irqresource()
        {
    	...
    	irq = acpi_register_gsi(gsi, triggering, polarity);
    	if (irq >= 0)
    		pcibios_penalize_isa_irq(irq, 1);
    
    There's no guarantee that acpi_register_gsi() will return an IRQ
    within the bounds of acpi_irq_penalty[].
    
    I have not seen a failure I can attribute to this.  However,
    ACPI_MAX_IRQS is only 256, and I'm pretty sure ia64 can have
    IRQs larger than that.
    
    I think this should go in 2.6.27.
    
    Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
    Signed-off-by: Andi Kleen <ak@linux.intel.com>

commit 9d699ed92a459cb408e2577e8bbeabc8ec3989e1
Author: Zhao Yakui <yakui.zhao@intel.com>
Date:   Mon Aug 11 10:33:31 2008 +0800

    ACPI: Avoid bogus EC timeout when EC is in Polling mode
    
    When EC is in Polling mode, OS will check the EC status continually by using
    the following source code:
           clear_bit(EC_FLAGS_WAIT_GPE, &ec->flags);
           while (time_before(jiffies, delay)) {
                   if (acpi_ec_check_status(ec, event))
           	            return 0;
                   msleep(1);
           }
    But msleep is realized by the function of schedule_timeout. At the same time
    although one process is already waken up by some events, it won't be scheduled
    immediately. So maybe there exists the following phenomena:
         a. The current jiffies is already after the predefined jiffies.
    	But before timeout happens, OS has no chance to check the EC
    	status again.
         b. If preemptible schedule is enabled, maybe preempt schedule will happen
    	before checking loop. When the process is resumed again, maybe
    	timeout already happens, which means that OS has no chance to check
    	the EC status.
    
    In such case maybe EC status is already what OS expects when timeout happens.
    But OS has no chance to check the EC status and regards it as AE_TIME.
    
    So it will be more appropriate that OS will try to check the EC status again
    when timeout happens. If the EC status is what we expect, it won't be regarded
    as timeout. Only when the EC status is not what we expect, it will be regarded
    as timeout, which means that EC controller can't give a response in time.
    
    http://bugzilla.kernel.org/show_bug.cgi?id=9823
    http://bugzilla.kernel.org/show_bug.cgi?id=11141
    
    Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
    Signed-off-by: Zhang Rui  <rui.zhang@intel.com>
    Signed-off-by: Andi Kleen <ak@linux.intel.com>

commit 2500822bf4eb0179ef80e5b072c1e0fa83037381
Author: Zhao Yakui <yakui.zhao@intel.com>
Date:   Tue Aug 12 10:40:10 2008 +0800

    ACPI : Add the EC dmi table to fix the incorrect ECDT table
    
    On some ASUS laptops the ECDT gives the incorrect command/status & Data I/O
    register address.
    
    AK: it seems like the command/data addresses are exchanged.
    
    In such case it will cause that EC device can't be
    initialized correctly.
    To add the EC dmi table is to fix this issue. If the laptop falls into the
    EC dmi table, the EC command/data I/O address will be fixed.
    
    AK: Add comments describing this better
    
    http://bugzilla.kernel.org/show_bug.cgi?id=9399
    
    Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
    tested-by    : Jan Kasprzak  <kas@fi.muni.cz>
    Signed-off-by: Andi Kleen <ak@linux.intel.com>

commit afd7301ddb762b66bf1831b0820b402e5d2c439d
Author: Holger Macht <hmacht@suse.de>
Date:   Wed Aug 6 17:56:01 2008 +0200

    ACPI: Properly clear flags on false-positives and send uevent on sudden unplug
    
    Some devices emit a ACPI_NOTIFY_DEVICE_CHECK while physically unplugging
    even if the software undock has already been done and dock_present() check
    fails. However, the internal flags need to be cleared (complete_undock()).
    
    Also, even notify userspace if the dock station suddently went away
    without proper software undocking.
    
    This happens on a Acer TravelMate 3000
    
    Signed-off-by: Holger Macht <hmacht@suse.de>
    Signed-off-by: Andi Kleen <ak@linux.intel.com>

commit d0057413a7a277e104cf315faa1b55b60b4a5482
Author: Pavel Machek <pavel@suse.cz>
Date:   Tue Aug 12 12:24:34 2008 +0200

    acpi: trivial cleanups
    
    Trivial cleanups for ACPI. Fix misspelling in printk(), fix mismerge,
    add file header.
    
    AK: removed file header
    
    Signed-off-by: Pavel Machek <pavel@suse.cz>
    Signed-off-by: Andi Kleen <ak@linux.intel.com>

commit 5c742b45dd5fbbb6cf74d3378341704f4b23c5e8
Author: Carlos Corbacho <carlos@strangeworlds.co.uk>
Date:   Wed Aug 6 19:13:56 2008 +0100

    acer-wmi: Fix wireless and bluetooth on early AMW0 v2 laptops
    
    In the old acer_acpi, I discovered that on some of the newer AMW0 laptops
    that supported the WMID methods, they don't work properly for setting the
    wireless and bluetooth values.
    
    So for the AMW0 V2 laptops, we want to use both the 'old' AMW0 and the
    'new' WMID methods for setting wireless & bluetooth to guarantee we always
    enable it.
    
    This was fixed in acer_acpi some time ago, but I forgot to port the patch
    over to acer-wmi when it was merged.
    
    (Without this patch, early AMW0 V2 laptops such as the Aspire 5040 won't
    work with acer-wmi, where-as they did with the old acer_acpi).
    
    AK: fix compilation
    
    Signed-off-by: Carlos Corbacho <carlos@strangeworlds.co.uk>
    CC: stable@kernel.org
    Signed-off-by: Andi Kleen <ak@linux.intel.com>

commit dab36ad8d50dc9424dfc4926f62aaf9bd52dcf13
Author: Carlos Corbacho <carlos@strangeworlds.co.uk>
Date:   Sat Aug 2 17:28:45 2008 +0100

    ACPI: WMI: Set instance for query block calls
    
    Although the necessary data structure was set up, it was never actually
    passed in, so data block calls have only been working by sheer chance.
    
    (On Acer laptops. the data block methods we've been calling never look at
    the instance value, hence acer-wmi never triggered this before).
    
    f3454ae8104efb2dbf0d08ec42c6f5d0fe9225bc brought this to light.
    
    Signed-off-by: Carlos Corbacho <carlos@strangeworlds.co.uk>
    Signed-off-by: Andi Kleen <ak@linux.intel.com>

commit 3c7db22a194d3b53584047425af82b4e1e03d9f7
Author: Bob Moore <robert.moore@intel.com>
Date:   Mon Aug 4 11:13:01 2008 +0800

    ACPICA: Additional error checking for pathname utilities
    
    Add error check after all calls to acpi_ns_get_pathname_length.
    Add status return from acpi_ns_build_external_path and check after
    all calls.  Add parameter validation to acpi_ut_initialize_buffer.
    
    Reported by and initial patch by Ingo Molnar.
    http://lkml.org/lkml/2008/7/21/176
    
    Signed-off-by: Bob Moore <robert.moore@intel.com>
    Signed-off-by: Lin Ming <ming.m.lin@intel.com>
    Signed-off-by: Andi Kleen <ak@linux.intel.com>

commit d3ff268a0149fce8835f6d48ab481d5e3321e0f7
Author: Lin Ming <ming.m.lin@intel.com>
Date:   Fri Jul 4 10:51:41 2008 +0800

    ACPICA: Fix possible memory leak in Unload() operator
    
    The DdbHandle returned by Load() does not have its reference count
    decremented during unload, leading to a memory leak. Lin Ming.
    
    Signed-off-by: Lin Ming <ming.m.lin@intel.com>
    Signed-off-by: Bob Moore <robert.moore@intel.com>
    Signed-off-by: Andi Kleen <ak@linux.intel.com>

commit 2843ae7734075f5d7072cf1230758bf8cf840af7
Author: Bob Moore <robert.moore@intel.com>
Date:   Fri Jul 4 10:41:41 2008 +0800

    ACPICA: Fix memory leak when deleting thermal/processor objects
    
    Fixes a possible memory leak when thermal and processor objects
    are deleted. Any associated notify handlers (and objects) were
    not being deleted. Fiodor Suietov. BZ 506
    
    http://www.acpica.org/bugzilla/show_bug.cgi?id=506
    
    Signed-off-by: Fiodor Suietov <fiodor.f.suietov@intel.com>
    Signed-off-by: Bob Moore <robert.moore@intel.com>
    Signed-off-by: Lin Ming <ming.m.lin@intel.com>
    Signed-off-by: Andi Kleen <ak@linux.intel.com>

commit f1679d08480008e06fd619c71635ed33274e2595
Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
Date:   Thu Aug 14 15:49:00 2008 +0200

    sched: fix rt-bandwidth hotplug race
    
    When we hot-unplug a cpu and rebuild the sched-domain, all cpus will be
    detatched. Alex observed the case where a runqueue was stealing bandwidth
    from an already disabled runqueue to satisfy its own needs.
    
    Stop this by skipping over already disabled runqueues.
    
    Reported-by: Alex Nixon <alex.nixon@citrix.com>
    Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Tested-by: Alex Nixon <alex.nixon@citrix.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 5cd9c58fbe9ec92b45b27e131719af4f2bd9eb40
Author: David Howells <dhowells@redhat.com>
Date:   Thu Aug 14 11:37:28 2008 +0100

    security: Fix setting of PF_SUPERPRIV by __capable()
    
    Fix the setting of PF_SUPERPRIV by __capable() as it could corrupt the flags
    the target process if that is not the current process and it is trying to
    change its own flags in a different way at the same time.
    
    __capable() is using neither atomic ops nor locking to protect t->flags.  This
    patch removes __capable() and introduces has_capability() that doesn't set
    PF_SUPERPRIV on the process being queried.
    
    This patch further splits security_ptrace() in two:
    
     (1) security_ptrace_may_access().  This passes judgement on whether one
         process may access another only (PTRACE_MODE_ATTACH for ptrace() and
         PTRACE_MODE_READ for /proc), and takes a pointer to the child process.
         current is the parent.
    
     (2) security_ptrace_traceme().  This passes judgement on PTRACE_TRACEME only,
         and takes only a pointer to the parent process.  current is the child.
    
         In Smack and commoncap, this uses has_capability() to determine whether
         the parent will be permitted to use PTRACE_ATTACH if normal checks fail.
         This does not set PF_SUPERPRIV.
    
    Two of the instances of __capable() actually only act on current, and so have
    been changed to calls to capable().
    
    Of the places that were using __capable():
    
     (1) The OOM killer calls __capable() thrice when weighing the killability of a
         process.  All of these now use has_capability().
    
     (2) cap_ptrace() and smack_ptrace() were using __capable() to check to see
         whether the parent was allowed to trace any process.  As mentioned above,
         these have been split.  For PTRACE_ATTACH and /proc, capable() is now
         used, and for PTRACE_TRACEME, has_capability() is used.
    
     (3) cap_safe_nice() only ever saw current, so now uses capable().
    
     (4) smack_setprocattr() rejected accesses to tasks other than current just
         after calling __capable(), so the order of these two tests have been
         switched and capable() is used instead.
    
     (5) In smack_file_send_sigiotask(), we need to allow privileged processes to
         receive SIGIO on files they're manipulating.
    
     (6) In smack_task_wait(), we let a process wait for a privileged process,
         whether or not the process doing the waiting is privileged.
    
    I've tested this with the LTP SELinux and syscalls testscripts.
    
    Signed-off-by: David Howells <dhowells@redhat.com>
    Acked-by: Serge Hallyn <serue@us.ibm.com>
    Acked-by: Casey Schaufler <casey@schaufler-ca.com>
    Acked-by: Andrew G. Morgan <morgan@kernel.org>
    Acked-by: Al Viro <viro@zeniv.linux.org.uk>
    Signed-off-by: James Morris <jmorris@namei.org>

commit a6825f1c1fa83b1e92b6715ee5771a4d6524d3b9
Author: Thomas Gleixner <tglx@linutronix.de>
Date:   Thu Aug 14 12:17:06 2008 +0200

    x86: hpet: workaround SB700 BIOS
    
    AMD SB700 based systems with spread spectrum enabled use a SMM based
    HPET emulation to provide proper frequency setting. The SMM code is
    initialized with the first HPET register access and takes some time to
    complete. During this time the config register reads 0xffffffff. We
    check for max. 1000 loops whether the config register reads a non
    0xffffffff value to make sure that HPET is up and running before we go
    further. A counting loop is safe, as the HPET access takes thousands
    of CPU cycles. On non SB700 based machines this check is only done
    once and has no side effects.
    
    Based on a quirk patch from: crane cai <crane.cai@amd.com>
    
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

commit c78c7e35a4709b55d3126624662c8f6d7e3d1a5e
Author: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Date:   Tue Aug 12 16:30:12 2008 +0300

    UBIFS: xattr bugfixes
    
    Xattr code has not been tested for a while and there were
    serveral bugs. One of them is using wrong inode in
    'ubifs_jnl_change_xattr()'. The other is a deadlock in
    'ubifs_setxattr()': the i_mutex is locked in
    'cap_inode_need_killpriv()' path, so deadlock happens when
    'ubifs_setxattr()' tries to lock it again.
    
    Thanks to Zoltan Sogor for finding these bugs.
    
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

commit a58f03b07539f6575adaa011712fa139c9343742
Author: Yinghai Lu <yhlu.kernel@gmail.com>
Date:   Thu Aug 14 02:16:30 2008 -0700

    x86: check bigsmp in smp_sanity_check instead of cpu_up
    
    clear bits for cpu nr > 8.
    
    This allows us to boot the full range of possible CPUs that the
    supported APIC model will allow. Previously we'd hang or boot up
    with less than 8 CPUs.
    
    Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
    Tested-by: Jeff Chua <jeff.chua.linux@gmail.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 858f774733b72609acb28104475f131abb912c08
Author: Yinghai Lu <yhlu.kernel@gmail.com>
Date:   Thu Aug 14 02:16:29 2008 -0700

    x86: don't call e820_regiter_active_regions if out of range on node
    
    so we don't get warning on 32bit system with 64g RAM or more
    
    Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 23b49c19f6946cc33392a1fc75dd788dd4a90fb7
Author: Max Krasnyansky <maxk@qualcomm.com>
Date:   Mon Aug 11 14:55:31 2008 -0700

    x86: resurrect proper handling of maxcpus= kernel option (v2)
    
    For some reason we had two parsers registered for maxcpus=. One in init/main.c
    and another in arch/x86/smpboot.c. So I nuked the one in arch/x86.
    
    Also 64-bit kernels used to handle maxcpus= as documented in
    Documentation/cpu-hotplug.txt. CPUs with 'id > maxcpus' are initialized
    but not booted. 32-bit version for some reason ignored them even though
    all the infrastructure for booting them later is there.
    
    In the current mainline both 64 and 32 bit versions are broken.
    This patch restores the correct behaviour. I've tested x86_64 version on
    4- and 8- way Core2 and 2-way Opteron based machines. Various config
    combinations SMP, !SMP, CPU_HOTPLUG, !CPU_HOTPLUG.
    Booted with maxcpus=1 and maxcpus=4, etc. Everything is working as expected.
    
    So far we've received two reports from different people confirming that 32-bit
    version also works fine, both on dual core laptops and 16way server machines.
    
    [v2: This version fixes visws breakage pointed out by Ingo.]
    
    Signed-off-by: Max Krasnyansky <maxk@qualcomm.com>
    Cc: lizf@cn.fujitsu.com
    Cc: jeff.chua.linux@gmail.com
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 31677619650cac2bcc9f50920824323b005e3d8a
Merge: c2dcfde... 6ffac1e...
Author: Ingo Molnar <mingo@elte.hu>
Date:   Thu Aug 14 11:18:08 2008 +0200

    Merge branch 'x86/fpu' into x86/urgent

commit 09f2724a786f76475ef2985cf84f5359c553aade
Author: Zhang, Yanmin <yanmin_zhang@linux.intel.com>
Date:   Wed Aug 14 15:56:40 2030 +0800

    sched: fix the race between walk_tg_tree and sched_create_group
    
    With 2.6.27-rc3, I hit a kernel panic when running volanoMark on my
    new x86_64 machine. I also hit it with other 2.6.27-rc kernels.
    See below log.
    
    Basically, function walk_tg_tree and sched_create_group have a race
    between accessing and initiating tg->children. Below patch fixes it
    by moving tg->children initiation to the front of linking tg->siblings
    to parent->children.
    
    {----------------panic log------------}
    
    BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
    IP: [<ffffffff802292ab>] walk_tg_tree+0x45/0x7f
    PGD 1be1c4067 PUD 1bdd8d067 PMD 0
    Oops: 0000 [1] SMP
    CPU 11
    Modules linked in: igb
    Pid: 22979, comm: java Not tainted 2.6.27-rc3 #1
    RIP: 0010:[<ffffffff802292ab>]  [<ffffffff802292ab>] walk_tg_tree+0x45/0x7f
    RSP: 0018:ffff8801bfbbbd18  EFLAGS: 00010083
    RAX: 0000000000000000 RBX: ffff8800be0dce40 RCX: ffffffffffffffc0
    RDX: ffff880102c43740 RSI: 0000000000000000 RDI: ffff8800be0dce40
    RBP: ffff8801bfbbbd48 R08: ffff8800ba437bc8 R09: 0000000000001f40
    R10: ffff8801be812100 R11: ffffffff805fdf44 R12: ffff880102c43740
    R13: 0000000000000000 R14: ffffffff8022cf0f R15: ffffffff8022749f
    FS:  00000000568ac950(0063) GS:ffff8801bfa26d00(0000) knlGS:0000000000000000
    CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
    CR2: 0000000000000000 CR3: 00000001bd848000 CR4: 00000000000006e0
    DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
    Process java (pid: 22979, threadinfo ffff8801b145a000, task ffff8801bf18e450)
    Stack:  0000000000000001 ffff8800ba5c8d60 0000000000000001 0000000000000001
     ffff8800bad1ccb8 0000000000000000 ffff8801bfbbbd98 ffffffff8022ed37
     0000000000000001 0000000000000286 ffff8801bd5ee180 ffff8800ba437bc8
    Call Trace:
     <IRQ>  [<ffffffff8022ed37>] try_to_wake_up+0x71/0x24c
     [<ffffffff80247177>] autoremove_wake_function+0x9/0x2e
     [<ffffffff80228039>] ? __wake_up_common+0x46/0x76
     [<ffffffff802296d5>] __wake_up+0x38/0x4f
     [<ffffffff806169cc>] tcp_v4_rcv+0x380/0x62e
    
    Signed-off-by: Zhang Yanmin <yanmin_zhang@linux.intel.com>
    Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 5430c72b14a06b12e8fe46bca18ca0d7095fb717
Author: Clemens Ladisch <clemens@ladisch.de>
Date:   Mon Jul 28 10:28:43 2008 +0200

    ALSA: virtuoso: add Xonar D1 support
    
    Add support for the Asus Xonar D1.  It is the same as the DX, but
    without the external power detection.
    
    Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>

commit a4b7b6d7d3f4f71e741a878bcca6226d8d326a34
Author: Bryan Wu <cooloney@kernel.org>
Date:   Thu Aug 14 15:40:19 2008 +0800

    Blackfin arch: hook up some missing new system calls
    
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit b42a9f442c6f9f47a9d63f66fcc67ab8efe7b7fa
Author: Mike Frysinger <vapier.adi@gmail.com>
Date:   Thu Aug 14 15:19:25 2008 +0800

    Blackfin arch: fix missing digit in SCLK range checking
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit 7e1e7aed0ca082b4e76567ee7ea13993b476e66a
Author: Mike Frysinger <vapier.adi@gmail.com>
Date:   Thu Aug 14 15:15:43 2008 +0800

    Blackfin arch: do not muck with the UART during boot -- let the serial driver worry about it
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit 95a86b5e51139a199d081b6b108e761966d914ef
Author: Mike Frysinger <vapier.adi@gmail.com>
Date:   Thu Aug 14 15:05:01 2008 +0800

    Blackfin arch: clear EMAC_SYSTAT during IRQ init rather than early head.S as we dont need it setup that early
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit c991dd92ab150c0b4ba531105aad5612bb0dafba
Author: Mike Frysinger <vapier.adi@gmail.com>
Date:   Thu Aug 14 14:57:26 2008 +0800

    Blackfin arch: use %pF when printing out the double fault address so we get symbol names
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit 130de7cebe20a74261a75bb0c6026a3199cdb980
Author: Benjamin Matthews <bmat@lle.rochester.edu>
Date:   Thu Aug 14 14:55:54 2008 +0800

    Blackfin arch: add support for the BlackStamp board
    
    Signed-off-by: Benjamin Matthews <bmat@lle.rochester.edu>
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit 251383c7c50cf17664a4d7d60d3a52d8827a0e11
Author: Robin Getz <rgetz@blackfin.uclinux.org>
Date:   Thu Aug 14 15:12:55 2008 +0800

    Blackfin arch: Allow ins functions to have a low latency version
    
    Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit cd8fb8df1458df7f3b99fd112e722b05f42c64d9
Author: Robin Getz <rgetz@blackfin.uclinux.org>
Date:   Thu Aug 14 14:44:33 2008 +0800

    Blackfin arch: Print out doublefault addresses, so debug can occur
    
    Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit ee32664da9531329b87aa5109e41e7cc73a04121
Author: Mike Frysinger <vapier.adi@gmail.com>
Date:   Thu Aug 14 14:37:32 2008 +0800

    Blackfin arch: shuffle related prototypes together -- no functional changes
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit 3c012eebf8869dd3118c21a73a2f8cc9e9c694ea
Author: Mike Frysinger <vapier.adi@gmail.com>
Date:   Thu Aug 14 14:36:15 2008 +0800

    Blackfin arch: move fixed code defines into fixed_code.h as very few things actually need to know these details
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit 9216bbc83826b77da9f2f396578c9d32b81e0d0b
Author: Mike Frysinger <vapier.adi@gmail.com>
Date:   Thu Aug 14 14:35:20 2008 +0800

    Blackfin arch: mark some functions as __init as they are only called from __init functions
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit 7ab37da52db98ea9f272045c837058dfc1870ac3
Author: Mike Frysinger <vapier.adi@gmail.com>
Date:   Thu Aug 14 14:33:05 2008 +0800

    Blackfin arch: delete dead prototypes
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit 0e06b50dda5965e0f8a15b0be14b759ead54fd2a
Author: Mike Frysinger <vapier.adi@gmail.com>
Date:   Thu Aug 14 14:29:57 2008 +0800

    Blackfin arch: cleanup cache lock code
    
     - remove cheesy read_iloc() function
     - move invalidate_entire_icache function to lock.S
     - export proper prototypes for functions in lock.S
     - only build lock.S when BFIN_ICACHE_LOCK is enabled
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit ad661334b8ae421154b121ee6ad3b56807adbf11
Author: Steve French <sfrench@us.ibm.com>
Date:   Tue Aug 12 14:14:40 2008 +0000

    [CIFS] mount of IPC$ breaks with iget patch
    
    In looking at network named pipe support on cifs, I noticed that
    Dave Howell's iget patch:
    
        iget: stop CIFS from using iget() and read_inode()
    
    broke mounts to IPC$ (the interprocess communication share), and don't
    handle the error case (when getting info on the root inode fails).
    
    Thanks to Gunter who noted a typo in a debug line in the original
    version of this patch.
    
    CC: David Howells <dhowells@redhat.com>
    CC: Gunter Kukkukk <linux@kukkukk.com>
    CC: Stable Kernel <stable@kernel.org>
    Signed-off-by: Steve French <sfrench@us.ibm.com>

commit b635acec48bcaa9183fcbf4e3955616b0d4119b5
Merge: 9921b25... ca6d1b1...
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Wed Aug 13 20:50:10 2008 -0700

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (47 commits)
      usb: musb: pass configuration specifics via pdata
      usb: musb: fix hanging when rmmod gadget driver
      USB: Add MUSB and TUSB support
      USB: serial: remove CONFIG_USB_DEBUG from sierra and option drivers
      USB: Add vendor/product id of ZTE MF628 to option
      USB: quirk PLL power down mode
      USB: omap_udc: fix compilation with debug enabled
      usb: cdc-acm: drain writes on close
      usb: cdc-acm: stop dropping tx buffers
      usb: cdc-acm: bugfix release()
      usb gadget: issue notifications from ACM function
      usb gadget: remove needless struct members
      USB: sh: r8a66597-hcd: fix disconnect regression
      USB: isp1301: fix compilation
      USB: fix compiler warning fix
      usb-storage: unusual_devs entry for Nokia 5300
      USB: cdc-acm.c: Fix compile warnings
      USB: BandRich BandLuxe C150/C250 HSPA Data Card Driver
      USB: ftdi_sio: add support for PHI Fisco data cable (FT232BM based, VID/PID 0403:e40b)
      usb: isp1760: don't be noisy about short packets.
      ...

commit 9921b256bb7402143a5bf0b722582562b6485eb8
Merge: 7a49efa... 9e2b2dc...
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Wed Aug 13 20:49:37 2008 -0700

    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:
      CRED: Introduce credential access wrappers

commit 7a49efae71397cf7e9299bbb22b2d12f7cf12428
Merge: 0ff8285... 877aced...
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Wed Aug 13 20:48:46 2008 -0700

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (56 commits)
      netns: Fix crash by making igmp per namespace
      bnx2x: Version update
      bnx2x: Checkpatch compliance
      bnx2x: Spelling mistakes
      bnx2x: Minor code improvements
      bnx2x: Driver info
      bnx2x: 1G LED does not turn off
      bnx2x: 8073 PHY changes
      bnx2x: Change GPIO for any port
      bnx2x: Pause settings
      bnx2x: Link order with external PHY
      bnx2x: No LRO without Rx checksum
      bnx2x: Wrong structure size
      bnx2x: WoL capability
      bnx2x: Clearing MAC addresses filters
      bnx2x: Delay in while loops
      bnx2x: PBA Table Page Alignment Workaround
      bnx2x: Self-test false positive
      bnx2x: Memory allocation
      bnx2x: HW attention lock
      ...

commit 0ff8285075a1242dbc969b6b4b1719d692931a02
Merge: 8d0968a... 6f63e78...
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Wed Aug 13 20:48:25 2008 -0700

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
      sparc64: Handle stack trace attempts before irqstacks are setup.
      sparc64: Implement IRQ stacks.
      sparc: remove include of linux/of_device.h from asm/of_device.h
      sparc64: Fix recursion in stack overflow detection handling.
      sparc/drivers: use linux/of_device.h instead of asm/of_device.h
      sparc64: Don't MAGIC_SYSRQ ifdef smp_fetch_global_regs and support code.

commit ca6d1b1333bc2e61e37982de1f28d8604c232414
Author: Felipe Balbi <felipe.balbi@nokia.com>
Date:   Fri Aug 8 12:40:54 2008 +0300

    usb: musb: pass configuration specifics via pdata
    
    Use platform_data to pass musb configuration-specific
    details to musb driver.
    
    This patch will prevent that other platforms selecting
    HAVE_CLK and enabling musb won't break tree building.
    
    The other parts of it will come when linux-omap merge
    up more omap2/3 board-files.
    
    Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
    Acked-by: Paul Mundt <lethal@linux-sh.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit f362a47560070ec0aaf68ac6b45901eeed1c844f
Author: Felipe Balbi <felipe.balbi@nokia.com>
Date:   Mon Aug 4 13:53:52 2008 +0300

    usb: musb: fix hanging when rmmod gadget driver
    
    If we try to modprobe a second gadget driver before
    rmmoding the first one, the reference for the first
    gadget driver would get NULLed avoiding usb to change
    gadget drivers later.
    
    Cc: David Brownell <david-b@pacbell.net>
    Cc: Tony Lindgren <tony@atomide.com>
    Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 550a7375fe720924241f0eb76e4a5c1a3eb8c32f
Author: Felipe Balbi <felipe.balbi@nokia.com>
Date:   Thu Jul 24 12:27:36 2008 +0300

    USB: Add MUSB and TUSB support
    
    This patch adds support for MUSB and TUSB controllers
    integrated into omap2430 and davinci. It also adds support
    for external tusb6010 controller.
    
    Cc: David Brownell <dbrownell@users.sourceforge.net>
    Cc: Tony Lindgren <tony@atomide.com>
    Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit f331e40ee8e4861e1d82310b1af7cf75de7370ac
Author: Greg Kroah-Hartman <gregkh@suse.de>
Date:   Tue Aug 12 12:04:50 2008 +0700

    USB: serial: remove CONFIG_USB_DEBUG from sierra and option drivers
    
    These drivers should not be relying on CONFIG_USB_DEBUG.  By doing this,
    it prevents users of kernels that do not enable this option from
    enabling debugging in these drivers, unlike all other usb-serial
    drivers.
    
    Cc: Matthias Urlichs <smurf@smurf.noris.de>
    Cc: Kevin Lloyd <klloyd@sierrawireless.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 6188a83f7264edebe9b8ee10ad7b2136d3531ea6
Author: Oliver Martin <oliver.martin@student.tuwien.ac.at>
Date:   Sat Aug 9 04:49:26 2008 +0200

    USB: Add vendor/product id of ZTE MF628 to option
    
    This adds the vendor and product id (19d2:0015) of the ZTE MF628 HSDPA
    modem to the option driver. It still needs a mode switch command issued
    beforehand, this is currently handled by a userspace tool.
    
    Signed-off-by: Oliver Martin <oliver.martin@student.tuwien.ac.at>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit ab1666c1364a209e6141d7c14e47a42b5f00eca2
Author: Libin Yang <Libin.Yang@amd.com>
Date:   Fri Aug 8 15:03:31 2008 +0800

    USB: quirk PLL power down mode
    
    On some AMD 700 series southbridges, ISO OUT transfers (such as audio
    playback through speakers) on the USB OHCI controller may be corrupted
    when an A-Link express power saving feature is active.
    
    PLL power down mode in conjunction with link power management feature
    L1 being enabled is the bad combination ... this patch prevents them
    from being enabled when ISO transfers are pending.
    
    Signed-off-by: Crane Cai <crane.cai@amd.com>
    Signed-off-by: Libin Yang <libin.yang@amd.com>
    Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit e12cc34527dcd945597c860c25aba92883a4a6a4
Author: Dmitry Baryshkov <dbaryshkov@gmail.com>
Date:   Thu Aug 7 16:29:25 2008 +0400

    USB: omap_udc: fix compilation with debug enabled
    
    Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
    Acked-by: David Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit e5fbab51b4219fbd1dab28666affe38a920b5f7e
Author: David Brownell <dbrownell@users.sourceforge.net>
Date:   Wed Aug 6 18:46:10 2008 -0700

    usb: cdc-acm: drain writes on close
    
    Add a mechanism to let the write queue drain naturally before
    closing the TTY, rather than always losing that data.  There
    is a timeout, so it can't wait too long.
    
    Provide missing locking inside acm_wb_is_avail(); it matters
    more now.  Note, this presumes an earlier patch was applied,
    removing a call to this routine where the lock was held.
    
    Slightly improved diagnostics on write URB completion, so we
    can tell when a write URB gets killed and, if so, how much
    data it wrote first ... and so that I/O path is normally
    silent (and can't much change timings).
    
    Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 934da4635c2d05cef474e5243ef05df95b2ad264
Author: David Brownell <dbrownell@users.sourceforge.net>
Date:   Wed Aug 6 18:44:12 2008 -0700

    usb: cdc-acm: stop dropping tx buffers
    
    The "increase cdc-acm write throughput" patch left in place two
    now-obsolete mechanisms, either of which can make the cdc-acm
    driver drop TX data (nasty!).  This patch removes them:
    
      - The write_ready flag ... if an URB and buffer were found,
        they can (and should!) always be used.
    
      - TX path acm_wb_is_used() ... used when the buffer was just
        allocated, so that check is pointless.
    
    Also fix a won't-yet-matter leak of a write buffer on a disconnect path.
    
    Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
    Cc:  David Engraf <david.engraf@netcom.eu>
    Acked-by: Oliver Neukum <oneukum@suse.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 672c4e1843c54227ff1bdf1fdd96f9c45c56aa85
Author: David Brownell <dbrownell@users.sourceforge.net>
Date:   Wed Aug 6 18:41:12 2008 -0700

    usb: cdc-acm: bugfix release()
    
    Bugfixes to the usb_driver_release_interface() usage;
    
      (a) make sure releasing *either* interface first will release
          the other, instead of insisting it be the control interface;
    
      (b) remove the recently-added self-deadlock.
    
    (The "fix disconnect bug in cdc-acm" patch was incomplete and incorrect.)
    
    Plus a small "sparse" fix:  rename a local variable so it doesn't
    shadow a function parameter.
    
    Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
    Acked-by: Oliver Neukum <oneukum@suse.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 1f1ba11b64947051fc32aa15fcccef6463b433f7
Author: David Brownell <dbrownell@users.sourceforge.net>
Date:   Wed Aug 6 18:49:57 2008 -0700

    usb gadget: issue notifications from ACM function
    
    Update the CDC-ACM gadget code to support the peripheral-to-host
    notifications when the tty is opened or closed, or issues a BREAK.
    The serial framework code calls new generic hooks; right now only
    CDC-ACM uses those hooks.  This resolves several REVISIT comments
    in the code.  (Based on a patch from Felipe Balbi.)
    
    Note that this doesn't expose USB_CDC_CAP_BRK to the host, since
    this code still rejects USB_CDC_REQ_SEND_BREAK control requests
    for host-to-peripheral BREAK signaling (received via /dev/ttyGS*).
    
    Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
    Cc: Felipe Balbi <felipe.balbi@nokia.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 630c7aa80152881980e45c11584f22476f71959b
Author: David Brownell <dbrownell@users.sourceforge.net>
Date:   Wed Aug 6 18:48:52 2008 -0700

    usb gadget: remove needless struct members
    
    This removes some unused members from the various USB functions.
    
    Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 54d0be9e3af1e20c3d0c3cc3eba50d33da24229c
Author: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Date:   Fri Jul 11 18:53:45 2008 +0900

    USB: sh: r8a66597-hcd: fix disconnect regression
    
    fix the regression in commit 29fab0cd897519be9009ba8c898410ab83b378e9
    that this driver executed reconnection processing when disconnected
    some devices.
    
    Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit cbbcb9b0c7e4d1fd90cf54427382dae525773dc2
Author: Dmitry Baryshkov <dbaryshkov@gmail.com>
Date:   Thu Aug 7 16:29:24 2008 +0400

    USB: isp1301: fix compilation
    
    Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
    Acked-by: David Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 9ff78433f0aeb1f731a22a90206b685df4eaf52e
Author: Alan Stern <stern@rowland.harvard.edu>
Date:   Thu Aug 7 13:04:51 2008 -0400

    USB: fix compiler warning fix
    
    This patch (as1123b) fixes a compiler warning: do_unbind_rebind() is
    defined but not used if CONFIG_PM=n.
    
    Problem originally found and initial patch submitted by Alexander
    Beregalov <a.beregalov@gmail.com>.
    
    Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit d28525f8866244a77b677c0470d4859cb2b6c2a8
Author: Alan Stern <stern@rowland.harvard.edu>
Date:   Thu Aug 7 13:02:40 2008 -0400

    usb-storage: unusual_devs entry for Nokia 5300
    
    This patch (as1120) adds an unusual_devs entry for the Nokia 5300.
    Maybe once Nokia releases the Symbian code we'll be able to fix all
    the problems it has with the USB mass-storage protocol.
    
    Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
    Tested-by: Cedric Godin <cedric@belbone.be>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 81eb8adfcec210a820ad9872ffb242482c976b8d
Author: Takashi Iwai <tiwai@suse.de>
Date:   Thu Jul 31 19:06:13 2008 +0200

    USB: cdc-acm.c: Fix compile warnings
    
    The irq flags should be unsigned long.
    
      CC [M]  drivers/usb/class/cdc-acm.o
    drivers/usb/class/cdc-acm.c: In function 'acm_waker':
    drivers/usb/class/cdc-acm.c:527: warning: comparison of distinct pointer types lacks a cast
    drivers/usb/class/cdc-acm.c:529: warning: comparison of distinct pointer types lacks a cast
    
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit bf3fc82895f4f501da9daef44d057749fe900c3e
Author: Leon Leong <upleong@bandrich.com>
Date:   Fri Aug 1 11:40:12 2008 +0800

    USB: BandRich BandLuxe C150/C250 HSPA Data Card Driver
    
    This patch adds the Product ID for the BandLuxe C150/C250 3.5G data
    card series from BandRich Inc.
    After detection, the data card works fine.
    
    It was patched against kernel 2.6.27-rc1 with -mm patch
    
    Signed-off-by: Leon Leong <upleong@bandrich.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit a5f6239949de78a9f33120d76f084928cb234a15
Author: Lex Ross <lross@mail.ru>
Date:   Wed Aug 6 16:25:08 2008 +0400

    USB: ftdi_sio: add support for PHI Fisco data cable (FT232BM based, VID/PID 0403:e40b)
    
    Support for PHI Fisco USB to Serial data cable (FTDI FT232BM based).
    PHI Fisco cable is supplied for connecting Philips Xenium 9@9++ mobile phones.
    PIDs were missing.
    
    Tested successfully with PHI Fisco Data Cable (VID/PID 0403:e40b)
    
    Signed-off-by: Lex V. Ross <lross@mail.ru>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 7839b5162d7d6c100f70a036be1e1f2b072857bc
Author: Sebastian Siewior <sebastian@breakpoint.cc>
Date:   Thu Jul 17 20:09:29 2008 +0200

    usb: isp1760: don't be noisy about short packets.
    
    According to Alan Stern, short packets are quite normal under
    certain circumstances. This printk was triggered by usb to
    serial converters on every packet and some usb sticks triggered
    a few of those while plugging the stick.
    This printks are now hidden unless USB debug mode is activated.
    
    Cc: Alan Stern <stern@rowland.harvard.edu>
    Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 3f02a957d5eb0eeb01207a799086f2b347077f71
Author: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Date:   Thu Jul 17 20:09:30 2008 +0200

    usb: ISP1760: improve pre-fetch timing
    
    ISP1760 requires a delay of 90ns between programming the address and
    reading the data.  Current driver solves this by a mdelay(1) which is
    very heavy weighted and slow.  This patch applies the workaround from
    the ISP1760 FAQ by using two different banks for PTD and payload data
    and using a common wait for them.  This wait is done by an additional
    ISP1760 access (whose timing constraints guarantee the 90ns delay).
    This improves speed when reading from an USB stick from:
    
      $ time dd if=/dev/sda of=/dev/zero bs=65536 count=1638
      real    1m 15.43s
      user    0m 0.44s
      sys     0m 39.46s
    
    to
    
      $ time dd if=/dev/sda of=/dev/zero bs=65536 count=1638
      real    0m 18.53s
      user    0m 0.16s
      sys     0m 12.97s
    
    [bigeasy@linutronix.de: fixed comment formating, moved define into
       header file, obey 80 char rule]
    
    Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
    Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit a36c27dfd1003e6d6842fe77faaf868e3e6e9062
Author: Sebastian Siewior <sebastian@breakpoint.cc>
Date:   Thu Jul 17 20:09:28 2008 +0200

    usb: return error code instead of 0 in the enqueue function.
    
    if the enqueue function returns -ESHUTDOWN or -ENOMEM then
    we return 0 instead of an error. This leads to a timeout and
    then to a dequeue request of an not enqueued urb.
    
    Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 937ef73d5075997a8d1777abf217a48bef2ce029
Author: David Brownell <dbrownell@users.sourceforge.net>
Date:   Mon Jul 7 12:16:08 2008 -0700

    USB: serial gadget: rx path data loss fixes
    
    Update RX path handling in new serial gadget code to cope better with
    RX blockage:  queue every RX packet until its contents can safely be
    passed up to the ldisc.  Most of the RX path work is now done in the
    RX tasklet, instead of just the final "push to ldisc" step.  This
    addresses some cases of data loss:
    
      - A longstanding serial gadget bug: when tty_insert_flip_string()
        didn't copy the entire buffer, the rest of the characters were
        dropped!  Now that packet stays queued until the rest of its data
        is pushed to the ldisc.
    
      - Another longstanding issue:  in the unlikely case that an RX
        transfer returns data and also reports a fault, that data is
        no longer discarded.
    
      - In the recently added RX throttling logic:  it needs to stop
        pushing data into the TTY layer, instead of just not submitting
        new USB read requests.  When the TTY is throttled long enough,
        backpressure will eventually make the OUT endpoint NAK.
    
    Also: an #ifdef is removed (no longer necessary); and start switching
    to a better convention for debug messages (prefix them with tty name).
    
    Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit e8b24450a635bbbd3a2b4c2649eef060c742ebc0
Author: Dmitry Baryshkov <dbaryshkov@gmail.com>
Date:   Sun Jul 6 14:26:30 2008 +0400

    USB: Hook start_hnp into ohci struct
    
    Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
    Acked-by: David Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 1133cd8adf34709e1857d1491e9fae5597b51ad5
Author: Dmitry Baryshkov <dbaryshkov@gmail.com>
Date:   Sun Jul 6 23:35:01 2008 +0400

    USB: ohci: make distrust_firmware a quirk
    
    Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
    Acked-by: David Brownell <dbrownell@users.sourceforge.net>
    Cc: Alan Stern <stern@rowland.harvard.edu>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit f0fa74634c0c686618b5318748bde233772a1a8d
Author: Oliver Neukum <oliver@neukum.org>
Date:   Fri Jul 4 10:10:53 2008 +0200

    USB: update to Documentation
    
    this mentions a new deadlock due to advanced power management.
    
    Signed-off-by: Oliver Neukum <oneukum@suse.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 230ffc75b7b842db5710d30d3a2fc61f9d6f50df
Author: Simon Arlott <simon@fire.lp0.eu>
Date:   Sat Jul 12 22:19:48 2008 +0100

    USB: cxacru: Fix printk format flag in error message
    
    "#%x" should have been "%#x"
    
    Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 51cdc1c103dcb7cf1ca280843308a2e32847f9ce
Author: Jost Diederichs <jost@qdusa.com>
Date:   Sat Jul 12 22:37:05 2008 -0700

    USB: usb-storage Motorola Phone Razr v3xx US_FL_FIX_CAPACITY patch
    
    add razr v3xx US_FL_FIX_CAPACITY flag to unusual_devs.h in usb-storage
    
    This is another Motorola phone that incorrectly reports the sector count
    (off by one).
    
    Problem Description: io errors when mounting phone's sd-card via the
    phones usb port
    
    Steps to reproduce: mount Motorola Razr v3xx phones sd-card on Linux Desktop
    via usb cable. Phones USB port must be in memory card mode.
    
    DEBUG output:
    Jul 9 19:32:41 micky kernel: Buffer I/O error on device sdd, logical block 3970048
    Jul 9 19:32:41 micky kernel: sd 11:0:0:0: [sdd] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
    Jul 9 19:32:41 micky kernel: sd 11:0:0:0: [sdd] Sense Key : Medium Error [current]
    Jul 9 19:32:41 micky kernel: sd 11:0:0:0: [sdd] Add. Sense: No additional sense information
    Jul 9 19:32:41 micky kernel: end_request: I/O error, dev sdd, sector 3970048
    
    
    From: Jost Diederichs <jost@qdusa.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 32fe5e393455d87db4988af03915634304870fb4
Author: Kevin Lloyd <klloyd@sierrawireless.com>
Date:   Thu Jul 10 14:14:57 2008 -0700

    USB Storage Sierra: TRU-Install feature update
    
    This patch upgrades the support for the Sierra Wireless TRU-Install
    feature (i.e. zeroCD) to allow for future support of Linux enabled
    TRU-Install devices.
    
    By default all devices that do not have a Linux enabled TRU-Install
    device (i.e. the device does not have a Linux package on the virtual CD
    partition) will be switched into "modem mode." Devices that do contain a
    Linux package in the TRU-Install virtual CD will be allowed to enumerate
    as a CD-Rom so that either (a) a user can install the packaged software
    or (b) a user-space application (e.g. udev) can switch it to modem mode.
    
    This patch does allow for manual override by adding a usb-storage module
    parameter 'swi_tru_install' which can force the modem into either mode
    regardless of what packages it contains.
    
    Signed-off-by: Kevin Lloyd <klloyd@sierrawireless.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 0585e4dfe5670d3ccb77bf86551a657699e9e52e
Author: Kevin Lloyd <klloyd@sierrawireless.com>
Date:   Thu Jul 10 14:14:54 2008 -0700

    USB Serial Sierra: TRU-Install feature update
    
    Moves responsbility of TRU-Install (i.e. ZeroCD) to the usb-storage
    driver. See patch 04/04 of this set.
    
    Signed-off-by: Kevin Lloyd <klloyd@sierrawireless.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit e3173b22eb7b50a23af60e12bab7a29d4b24f284
Author: Kevin Lloyd <klloyd@sierrawireless.com>
Date:   Thu Jul 10 14:14:51 2008 -0700

    USB Serial Sierra: Dynamic interface detection
    
    This patch changes the method by which the number of ports per interface is
    assigned so that it is more dynamic and calculated on the fly (as opposed to
    hard coding it). This will allow for faster and easier addition of products.
    
    Signed-off-by: Kevin Lloyd <klloyd@sierrawireless.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 4e0fee82619937acb13806ffc901d3920b947286
Author: Kevin Lloyd <klloyd@sierrawireless.com>
Date:   Thu Jul 10 14:14:47 2008 -0700

    USB Serial Sierra: clean-up
    
    Very minor changes to clean up sierra code. Adds a prefix to debug messages so
    that Sierra messages are easily recognized. Removes extraneous code.
    
    This targets kernel 2.6.26-rc9
    
    Signed-off-by: Kevin Lloyd <klloyd@sierrawireless.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 8c809681ba0289afd0ed7bbb63679a0568dd441d
Author: Tollef Fog Heen <tfheen@err.no>
Date:   Tue Jul 22 09:28:05 2008 +0200

    USB: pl2023: Remove USB id (4348:5523) handled by ch341
    
    USB ID 4348:5523 is handled by the ch341 driver.  Remove it from the
    pl2023 driver.
    
    Reverts 002e8f2c80c6be76bb312940bc278fc10b2b2487.
    
    Signed-off-by: Tollef Fog Heen <tfheen@err.no>
    Cc: stable <stable@kernel.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 368ee6469c327364ea10082a348f91c1f5ba47f7
Author: Alan Stern <stern@rowland.harvard.edu>
Date:   Mon Jul 21 10:08:28 2008 -0400

    usb-storage: unusual_devs entries for iRiver T10 and Datafab CF+SM reader
    
    This patch (as1115) adds unusual_devs entries with the IGNORE_RESIDE
    flag for the iRiver T10 and the Simple Tech/Datafab CF+SM card
    reader.  Apparently these devices provide reasonable residue values
    for READ and WRITE operations, but not for others like INQUIRY or READ
    CAPACITY.
    
    This fixes the iRiver T10 problem reported in Bugzilla #11125.
    
    Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
    Cc: stable <stable@kernel.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 3bea302d6aa61f2371a63e9ad81eaa373fd66441
Author: Simon Arlott <simon@fire.lp0.eu>
Date:   Mon Jul 21 20:44:50 2008 +0100

    USB: Move usb/mon/ up to misc options in Kconfig
    
    This makes "USB Monitor" appear under "Miscellaneous USB options"
    section instead of in the middle of device specific drivers in the
    "USB Imaging devices" section.
    
    Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 59f4ff2ecff4cef36378928cec891785b402e80c
Author: Alan Stern <stern@rowland.harvard.edu>
Date:   Tue Jul 29 11:58:06 2008 -0400

    usb-storage: automatically recognize bad residues
    
    This patch (as1119) will help to reduce the clutter of usb-storage's
    unusual_devs file by automatically detecting some devices that need
    the IGNORE_RESIDUE flag.  The idea is that devices should never return
    a non-zero residue for an INQUIRY or a READ CAPACITY command unless
    they failed to transfer all the requested data.  So if one of these
    commands transfers a standard amount of data but there is a positive
    residue, we know that the residue is bogus and we can set the flag.
    
    This fixes the problems reported in Bugzilla #11125.
    
    Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 1a21175a615ed346e8043f5e9d60a672266b84b4
Author: Alan Stern <stern@rowland.harvard.edu>
Date:   Wed Jul 30 11:31:50 2008 -0400

    USB: fix interface unregistration logic
    
    This patch (as1122) fixes a bug: When an interface is unregistered,
    its children (sysfs files and endpoint devices) are unregistered after
    it instead of before.
    
    Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
    Tested-by: Kay Sievers <kay.sievers@vrfy.org>
    Cc: stable <stable@kernel.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 0282b7f2a874e72c18fcd5a112ccf67f71ba7f5c
Author: Alan Stern <stern@rowland.harvard.edu>
Date:   Tue Jul 29 12:01:04 2008 -0400

    usb-serial: don't release unregistered minors
    
    This patch (as1121) fixes a bug in the USB serial core.  When a device
    is unregistered, the core will give back its minors -- even if the
    device hasn't been assigned any!
    
    The patch reserves the highest minor value (255) to mean that no minor
    was assigned.  It also removes some dead code and does a small style
    fixup.
    
    Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
    Cc: stable <stable@kernel.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit e67d70f2f55d90c79dcb384ad5b798f0f9a68085
Author: Felipe Balbi <felipe.balbi@nokia.com>
Date:   Thu Jul 17 17:26:49 2008 +0300

    usb: gadget: protect gadget_chips.h from been included twice
    
    Without it, we might have trouble when trying to write
    some composite gadget drivers.
    
    Cc: David Brownell <dbrownell@users.sourceforge.net>
    Cc: Greg KH <greg@kroah.com>
    Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
    Acked-by: David Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit b9a097f26e55968cbc52e30a4a2e73d32d7604ce
Author: Dave Jones <davej@redhat.com>
Date:   Mon Jul 14 13:28:34 2008 -0400

    USB: usb-storage: quirk around v1.11 firmware on Nikon D4
    
    usb-storage: quirk around v1.11 firmware on Nikon D40
    
    https://bugzilla.redhat.com/show_bug.cgi?id=454028
    Just as in earlier firmware versions, we need to perform this
    quirk for the latest version too.
    
    Speculatively do the entry for the D80 too, as they seem to
    have the same firmware problems historically.
    
    Signed-off-by: Dave Jones <davej@redhat.com>
    Cc: Johannes Berg <johannes@sipsolutions.net>
    Cc: Alan Stern <stern@rowland.harvard.edu>
    Cc: stable <stable@kernel.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 38b375d9610e2467cb793a84d17c6f65e44cdb39
Author: Alan Stern <stern@rowland.harvard.edu>
Date:   Mon Jul 21 09:56:26 2008 -0400

    USB: OHCI: fix system hang caused by earlier patch
    
    This patch (as1114) fixes a problem that was revealed by an earlier
    patch (as1069b).  Some broken controllers seem never to turn off their
    RHCS interrupt status bit, even when told to do so.  As a result they
    generate an interrupt storm and hang the system.
    
    The patch avoids enabling RHSC interrupt requests when the RHCS status
    bit is already set.  This should have no adverse affects on normal
    controllers, since they won't set the status bit until a root-hub
    status change actually occurs, in which case we wouldn't enable RHSC
    interrupt requests anyway -- we would wait until the status change had
    been processed and cleared.
    
    Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
    Tested by: Andrey Borzenkov <arvidjaar@mail.ru>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit fa41019c7aa172fde075849834409d23eb49f582
Author: Alexander Beregalov <a.beregalov@gmail.com>
Date:   Tue Jul 29 05:54:31 2008 +0400

    usb/core/driver: fix warning
    
    usb/core/driver: fix warning:
    drivers/usb/core/driver.c:834: warning: 'do_unbind_rebind' defined but not used
    
    Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
    Acked-by: Alan Stern <stern@rowland.harvard.edu>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit f4f4d58734916e816d4b4a7cf61b3fc22ce02683
Author: Alan Stern <stern@rowland.harvard.edu>
Date:   Mon Jul 28 10:39:28 2008 -0400

    USB: add missing kerneldoc line for "needs_binding"
    
    This patch (as1117) adds a kerneldoc line for the "needs_binding"
    field in struct usb_interface.  It was accidentally omitted when the
    field was added.
    
    Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit a00c3cadc2bf50b3c925acdb3d0e5789b1650498
Author: Frederik Kriewitz <frederik@kriewitz.eu>
Date:   Wed Jul 30 16:53:41 2008 +0200

    USB: ftdi_sio: add support for Luminance Stellaris Evaluation/Development Kits
    
    The Patch adds support for Luminance Stellaris Evaluation/Development
    Kits (FTDI 2232C based).
    The PIDs were missing.
    
    Successfully tested with a Stellaris LM3S8962 Evaluation kit.
    
    Signed-off-by: Frederik Kriewitz <frederik@kriewitz.eu>
    Cc: stable <stable@kernel.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit b5894a500127fce1db1309db5f9ca8b77a2ac266
Author: André Schenk <andre@melior.s.bawue.de>
Date:   Mon Jul 28 15:48:46 2008 +0200

    USB: ftdi_sio: Add USB Product Id for ELV HS485
    
    USB product id registration for the ELV HS485 USB adapter (www.elv.de) to
    their home automation bus system. Applies to 2.6.26.
    
    Signed-off-by: Andre Schenk <andre@melior.s.bawue.de>
    Cc: stable <stable@kernel.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit c728df70ab0dd59b8ccdc3c611ea88925e6697db
Author: David Brownell <dbrownell@users.sourceforge.net>
Date:   Sat Jul 26 08:06:24 2008 -0700

    USB: fix USB boot crash, ecm_do_notify(), list_add corruption. prev->next should be next (ffff88003b8f82f8)
    
    This fixes a BUG() turned up by Ingo via randconfig testing, where
    CONFIG_LIST_DEBUG turned up list corruption.  The corruption was
    caused by the dummy_hcd (single-machine test harness for gadget and
    HCD code) trashing the request queue when driven by the new CDC
    composite gadget an I/O pattern that was previously uncommon.
    Fix suggested by Alan Stern.
    
    Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
    Tested-by: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 88d987d6db2a14b191f4eb21cc623dae31e28e9d
Author: Wolfgang Mües <wolfgang@iksw-muees.de>
Date:   Tue Jul 29 11:54:43 2008 +0200

    usb: auerswald: remove driver (obsolete)
    
    This patch removes the auerswald USB driver from the linux kernel
    2.6.26.
    
    This driver was included into the kernel mainly to connect to the ISDN
    framework. This was done in linux 2.4.x. For 2.6.x, due to the fragile
    and moving ISDN support, this connection was never realized, and the
    only use of this driver was for device configuration. In the age of DSL,
    the demand of ISDN support is getting very low.
    
    Meanwhile, with the advent of libusb, an userspace driver was done for
    the device configuration which works fine for linux and mac. (Thanks to
    the libusb developers!). The userspace driver is downloadable from the
    auerswald web site.
    
    So this driver is obsolete now and has to be removed. Many thanks to all
    developers which helped me to bring this driver up and working.
    
    Signed-off-by: Wolfgang Muees <wolfgang@iksw-muees.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

commit 6f63e781eaf6a741fc65f773017154b20ed4ce3b
Author: David S. Miller <davem@davemloft.net>
Date:   Wed Aug 13 17:17:52 2008 -0700

    sparc64: Handle stack trace attempts before irqstacks are setup.
    
    Things like lockdep can try to do stack backtraces before
    the irqstack blocks have been setup.  So don't try to match
    their ranges so early on.
    
    Also, remove unused variable in save_stack_trace().
    
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 9e2b2dc4133f65272a6d3c5dcb2ce63f8a87cae9
Author: David Howells <dhowells@redhat.com>
Date:   Wed Aug 13 16:20:04 2008 +0100

    CRED: Introduce credential access wrappers
    
    The patches that are intended to introduce copy-on-write credentials for 2.6.28
    require abstraction of access to some fields of the task structure,
    particularly for the case of one task accessing another's credentials where RCU
    will have to be observed.
    
    Introduced here are trivial no-op versions of the desired accessors for current
    and other tasks so that other subsystems can start to be converted over more
    easily.
    
    Wrappers are introduced into a new header (linux/cred.h) for UID/GID,
    EUID/EGID, SUID/SGID, FSUID/FSGID, cap_effective and current's subscribed
    user_struct.  These wrappers are macros because the ordering between header
    files mitigates against making them inline functions.
    
    linux/cred.h is #included from linux/sched.h.
    
    Further, XFS is modified such that it no longer defines and uses parameterised
    versions of current_fs[ug]id(), thus getting rid of the namespace collision
    otherwise incurred.
    
    Signed-off-by: David Howells <dhowells@redhat.com>
    Signed-off-by: James Morris <jmorris@namei.org>

commit 877acedc0d3ea07f7b36573ed2f1f479c2c1eefd
Author: Daniel Lezcano <dlezcano@fr.ibm.com>
Date:   Wed Aug 13 16:15:57 2008 -0700

    netns: Fix crash by making igmp per namespace
    
    This patch makes the multicast socket to be per namespace.
    
    When a network namespace is created, other than the init_net and a
    multicast packet is received, the kernel goes to a hang or a kernel panic.
    
    How to reproduce ?
    
     * create a child network namespace
     * create a pair virtual device veth
        * ip link add type veth
     * move one side to the pair network device to the child namespace
        * ip link set netns <childpid> dev veth1
     * ping -I veth0 224.0.0.1
    
    The bug appears because the function ip_mc_init_dev does not initialize
    the different multicast fields as it exits because it is not the init_net.
    
    BUG: soft lockup - CPU#0 stuck for 61s! [avahi-daemon:2695]
    Modules linked in:
    irq event stamp: 50350
    hardirqs last  enabled at (50349): [<c03ee949>] _spin_unlock_irqrestore+0x34/0x39
    hardirqs last disabled at (50350): [<c03ec639>] schedule+0x9f/0x5ff
    softirqs last  enabled at (45712): [<c0374d4b>] ip_setsockopt+0x8e7/0x909
    softirqs last disabled at (45710): [<c03ee682>] _spin_lock_bh+0x8/0x27
    
    Pid: 2695, comm: avahi-daemon Not tainted (2.6.27-rc2-00029-g0872073 #3)
    EIP: 0060:[<c03ee47c>] EFLAGS: 00000297 CPU: 0
    EIP is at __read_lock_failed+0x8/0x10
    EAX: c4f38810 EBX: c4f38810 ECX: 00000000 EDX: c04cc22e
    ESI: fb0000e0 EDI: 00000011 EBP: 0f02000a ESP: c4e3faa0
     DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
    CR0: 8005003b CR2: 44618a40 CR3: 04e37000 CR4: 000006d0
    DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
    DR6: ffff0ff0 DR7: 00000400
     [<c02311f8>] ? _raw_read_lock+0x23/0x25
     [<c0390666>] ? ip_check_mc+0x1c/0x83
     [<c036d478>] ? ip_route_input+0x229/0xe92
     [<c022e2e4>] ? trace_hardirqs_on_thunk+0xc/0x10
     [<c0104c9c>] ? do_IRQ+0x69/0x7d
     [<c0102e64>] ? restore_nocheck_notrace+0x0/0xe
     [<c036fdba>] ? ip_rcv+0x227/0x505
     [<c0358764>] ? netif_receive_skb+0xfe/0x2b3
     [<c03588d2>] ? netif_receive_skb+0x26c/0x2b3
     [<c035af31>] ? process_backlog+0x73/0xbd
     [<c035a8cd>] ? net_rx_action+0xc1/0x1ae
     [<c01218a8>] ? __do_softirq+0x7b/0xef
     [<c0121953>] ? do_softirq+0x37/0x4d
     [<c035b50d>] ? dev_queue_xmit+0x3d4/0x40b
     [<c0122037>] ? local_bh_enable+0x96/0xab
     [<c035b50d>] ? dev_queue_xmit+0x3d4/0x40b
     [<c012181e>] ? _local_bh_enable+0x79/0x88
     [<c035fcb8>] ? neigh_resolve_output+0x20f/0x239
     [<c0373118>] ? ip_finish_output+0x1df/0x209
     [<c0373364>] ? ip_dev_loopback_xmit+0x62/0x66
     [<c0371db5>] ? ip_local_out+0x15/0x17
     [<c0372013>] ? ip_push_pending_frames+0x25c/0x2bb
     [<c03891b8>] ? udp_push_pending_frames+0x2bb/0x30e
     [<c038a189>] ? udp_sendmsg+0x413/0x51d
     [<c038a1a9>] ? udp_sendmsg+0x433/0x51d
     [<c038f927>] ? inet_sendmsg+0x35/0x3f
     [<c034f092>] ? sock_sendmsg+0xb8/0xd1
     [<c012d554>] ? autoremove_wake_function+0x0/0x2b
     [<c022e6de>] ? copy_from_user+0x32/0x5e
     [<c022e6de>] ? copy_from_user+0x32/0x5e
     [<c034f238>] ? sys_sendmsg+0x18d/0x1f0
     [<c0175e90>] ? pipe_write+0x3cb/0x3d7
     [<c0170347>] ? do_sync_write+0xbe/0x105
     [<c012d554>] ? autoremove_wake_function+0x0/0x2b
     [<c03503b2>] ? sys_socketcall+0x176/0x1b0
     [<c01085ea>] ? syscall_trace_enter+0x6c/0x7b
     [<c0102e1a>] ? syscall_call+0x7/0xb
    
    Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 1bb5bd2c713cdf19794996fafd7b48da4c4b0113
Author: Eilon Greenstein <eilong@broadcom.com>
Date:   Wed Aug 13 15:59:45 2008 -0700

    bnx2x: Version update
    
    Version update
    
    Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 6378c0253175e400525ac0efac9dd29f4e573cbf
Author: Eilon Greenstein <eilong@broadcom.com>
Date:   Wed Aug 13 15:59:25 2008 -0700

    bnx2x: Checkpatch compliance
    
    Checkpatch compliance
    The latest version of checkpatch found the following style errors in the
    code
    
    Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 3347162995d23bc13f6f99c02ae89814babcaec2
Author: Eilon Greenstein <eilong@broadcom.com>
Date:   Wed Aug 13 15:59:08 2008 -0700

    bnx2x: Spelling mistakes
    
    Spelling mistakes
    Spelling has to L's in it...
    
    Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 3196a88a8593748bad24824ef5eb8e5aa99698c9
Author: Eilon Greenstein <eilong@broadcom.com>
Date:   Wed Aug 13 15:58:49 2008 -0700

    bnx2x: Minor code improvements
    
    Minor code improvements
    Small changes to make the code a little bit more efficient and mostly
    more readable:
    - Using unified macros for EMAC_RD/WR which looks like normal REG_RD/WR
    - Removing the NIG_WR since it did nothing and was only confusing
    - On bnx2x_panic_dump, print only the used parts of the rings
    - define parameters only on the branch they are needed and not at the
      beginning of the function
    - using NETIF_MSG_INTR and not private BNX2X_MSG_SP for debug prints
    
    Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit f0e53a847a4435f3226f5e385503f792f5f99ce2
Author: Eilon Greenstein <eilong@broadcom.com>
Date:   Wed Aug 13 15:58:30 2008 -0700

    bnx2x: Driver info
    
    Driver info
    The internal FW which is downloaded by the driver should not be
    displayed - it is only causing confusion and it is redundant since it
    can be concluded from the driver version. Display only FW which is
    burned on the board nvram
    
    Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 345b5d52b93113d3ce82f97c2a783319fbf0fdfd
Author: Eilon Greenstein <eilong@broadcom.com>
Date:   Wed Aug 13 15:58:12 2008 -0700

    bnx2x: 1G LED does not turn off
    
    1G LED does not turn off
    The 1G LED was not switched to off when the link was lost
    
    Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 6bbca910e621d82b3ca93a99af9b59eb1ff3cbcd
Author: Yaniv Rosner <yanivr@broadcom.com>
Date:   Wed Aug 13 15:57:28 2008 -0700

    bnx2x: 8073 PHY changes
    
    8073 PHY changes
    The initial support we had for this PHY needs some serious changing. The
    major change is that this PHY should be initialized only when the first
    function is loaded and not for each function. The official SPI-ROM of
    this PHY was released and it requires some changes in the initialization
    code as well
    
    Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
    Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 17de50b7f71d176375e9d4d67ffce42482e5515f
Author: Eilon Greenstein <eilong@broadcom.com>
Date:   Wed Aug 13 15:56:59 2008 -0700

    bnx2x: Change GPIO for any port
    
    Change GPIO for any port
    The set GPIO function should receive the port index to allow changing
    the GPIO of another port. This is needed for the common init phase (one
    the first driver is loaded for the chip)
    
    Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 8c99e7b0436473593a68e740d1032909bc5335a1
Author: Yaniv Rosner <yanivr@broadcom.com>
Date:   Wed Aug 13 15:56:17 2008 -0700

    bnx2x: Pause settings
    
    Pause settings
    - 1G pause was not working due to missing write to the emac block
      (TX_MODE_FLOW_EN)
    - The flow control should use the negotiated result (after autoneg) so
      we should save both the requested autoneg and the result
    - The HW credits with flow control at 1G speed were not optimized and
      caused low throughput
    - It is recommended to turn off flow control if the MTU is bigger than
      5000B due to internal buffers size
    
    Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
    Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 57963ed94c27e94a7533434da5943195ea072a35
Author: Yaniv Rosner <yanivr@broadcom.com>
Date:   Wed Aug 13 15:55:28 2008 -0700

    bnx2x: Link order with external PHY
    
    Link order with external PHY
    When external PHY exists (second chip with the PHY to translate to
    another physical medium) the link with the eternal PHY and the network
    should be established before setting the link between the 5771x and the
    PHY. This is the right order and it is important when using autoneg -
    the link to the network should use the autoneg and the link between the
    two chips should be forced to the network result.
    
    Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
    Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit df0f23439a69eb5ca30668612f1c4e20041b5341
Author: Vladislav Zolotarov <vladz@broadcom.com>
Date:   Wed Aug 13 15:53:38 2008 -0700

    bnx2x: No LRO without Rx checksum
    
    No LRO without Rx checksum
    Disabling LRO when Rx checksum is disabled
    
    Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com>
    Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 353029896a5ed6cf42f4ce45729851b23c94d874
Author: Yitchak Gertner <gertner@broadcom.com>
Date:   Wed Aug 13 15:53:12 2008 -0700

    bnx2x: Wrong structure size
    
    Wrong structure size
    The wrong structure was used in the sizeof to clear (luckily both
    structures have the same size in this version...)
    
    Signed-off-by: Yitchak Gertner <gertner@broadcom.com>
    Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 72ce58c328d7131d96280135f8be858603522911
Author: Eilon Greenstein <eilong@broadcom.com>
Date:   Wed Aug 13 15:52:46 2008 -0700

    bnx2x: WoL capability
    
    WoL capability
    All designs reported WoL capability regardless of HW limitations - check
    if this device is actually capable of WoL
    
    Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 3101c2bc9043c1499158837648a29dd79ee2f5e7
Author: Yitchak Gertner <gertner@broadcom.com>
Date:   Wed Aug 13 15:52:28 2008 -0700

    bnx2x: Clearing MAC addresses filters
    
    Clearing MAC addresses filters
    When the driver unloads, it should clear the MAC addresses filters in
    the HW - this prevents packets from entering the chip when the driver is
    re-loaded before initializing the right filters
    
    Signed-off-by: Yitchak Gertner <gertner@broadcom.com>
    Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 12469401bc5aebb1c1482db1253c986cf8221281
Author: Yitchak Gertner <gertner@broadcom.com>
Date:   Wed Aug 13 15:52:08 2008 -0700

    bnx2x: Delay in while loops
    
    Delay in while loops
    The delay in the loop should be after the change. This has very little
    effect (can save one delay) but it is the right thing to do
    
    Signed-off-by: Yitchak Gertner <gertner@broadcom.com>
    Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 5c862848172846a7aa88d0a564eb8998ecac2f0d
Author: Eilon Greenstein <eilong@broadcom.com>
Date:   Wed Aug 13 15:51:48 2008 -0700

    bnx2x: PBA Table Page Alignment Workaround
    
    PBA Table Page Alignment Workaround
    The PBA table starts on the middle of the page and that's causing very
    low performance with virtualization. The solution is not to update via
    the BAR directly but via chip access to the same memory
    
    Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 9dabc4242f7e51d98a71af7ee11a36e637897f9e
Author: Yitchak Gertner <gertner@broadcom.com>
Date:   Wed Aug 13 15:51:28 2008 -0700

    bnx2x: Self-test false positive
    
    Self-test false positive
    - The memory test should use a mask according to the chip type
    - In the register test, check the port only once and not inside the for
      loop (not causing a failure - just ugly)
    
    Signed-off-by: Yitchak Gertner <gertner@broadcom.com>
    Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 326262307bad2391a6393bb1968ed9a9a16fc617
Author: Eilon Greenstein <eilong@broadcom.com>
Date:   Wed Aug 13 15:51:07 2008 -0700

    bnx2x: Memory allocation
    
    Memory allocation
    - The CQE ring was allocated to the max size even for a chip that does
      not support it. Fixed to allocate according to the chip type to save
      memory
    - The rx_page_ring was not freed on driver unload
    
    Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 3fcaf2e566b9cf8ccd16bcda3440717236de163d
Author: Eilon Greenstein <eilong@broadcom.com>
Date:   Wed Aug 13 15:50:45 2008 -0700

    bnx2x: HW attention lock
    
    HW attention lock
    Making sure that only one function will handle the HW attention. This
    makes the device parameter aeu_mask redundant so it is removed
    
    Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 4a37fb660c5505e0ee7ae16d80a06e85affe3055
Author: Yitchak Gertner <gertner@broadcom.com>
Date:   Wed Aug 13 15:50:23 2008 -0700

    bnx2x: HW lock mechanism
    
    HW lock mechanism
    Enhancing the HW lock to work per function and not only per port - this
    is needed for the next patch that protects races over HW attention
    detection between the different functions. At this chance, changing the
    functions names to be more inline with the current naming convention
    
    Signed-off-by: Yitchak Gertner <gertner@broadcom.com>
    Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit da5a662a2326931bef25f0e534c9c1702f862399
Author: Vladislav Zolotarov <vladz@broadcom.com>
Date:   Wed Aug 13 15:50:00 2008 -0700

    bnx2x: Load/Unload under traffic
    
    Load/Unload under traffic
    Few issues were found when loading and unloading under traffic:
    - When receiving Tx interrupt call netif_wake_queue if the queue is
      stopped but the state is open
    - Check that interrupts are enabled before doing anything else on the
      msix_fp_int function
    - In nic_load, enable the interrupts only when needed and ready for it
    - Function stop_leading returns status since it can fail
    - Add 1ms delay when unloading the driver to validate that there are no
      open transactions that already started by the FW
    - Splitting the "has work" function into Tx and Rx so the same function
      will be used on unload and interrupts
    - Do not request for WoL if only resetting the device (save the time
      that it takes the FW to set the link after reset)
    - Fixing the device reset after iSCSI boot and before driver load - all
      internal buffers must be cleared before the driver is loaded
    
    Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com>
    Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 471de716b782fb55ae0fdc040cf2722caffeeb94
Author: Eilon Greenstein <eilong@broadcom.com>
Date:   Wed Aug 13 15:49:35 2008 -0700

    bnx2x: FW Internal Memory structure
    
    FW Internal Memory structure
    The FW uses data structures on the chip internal memory to aggregate the
    connections when TPA is enabled. The driver was clearing the wrong offsets
    and therefore one function could cause another function to loose packets.
    Changing the initialization of the chip internal memory to clear only the
    relevant memory for each function which is being loaded
    
    Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 66e855f3f5197fec1162c5235fdb5f92b956d618
Author: Yitchak Gertner <gertner@broadcom.com>
Date:   Wed Aug 13 15:49:05 2008 -0700

    bnx2x: Statistics
    
    Statistics
    - Making sure that each drop is accounted for in the driver statistics
    - Clearing the FW statistics when driver is loaded to prevent
      inconsistency with HW statistics
    - Once error is detected (bnx2x_panic_dump), stop the statistics
      before other actions (currently it is stopped last and can corrupt
      the data) - Adding HW checksum error counter to the statistics
    - Removing unused variable stats_ticks
    - Using macros instead of magic numbers to indicate which statistics are
      shared per port and which are per function
    
    Signed-off-by: Yitchak Gertner <gertner@broadcom.com>
    Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 1adcd8bee37f494e22aee856467e994ae086ae45
Author: Eilon Greenstein <eilong@broadcom.com>
Date:   Wed Aug 13 15:48:29 2008 -0700

    bnx2x: Not dropping packets with L3/L4 checksum error
    
    Not dropping packets with L3/L4 checksum error
    Those packets should be passed to the OS. The problem is clear in
    forwarding mode.
    
    Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 19680c4850c1e5c2b4371388637c7ce86b8570b6
Author: Eilon Greenstein <eilong@broadcom.com>
Date:   Wed Aug 13 15:47:33 2008 -0700

    bnx2x: FW (bootcode) interface fixes
    
    FW (bootcode) interface fixes
    - Making sure that the device will not cause kernel panic of the
      bootcode is corrupted or missing
    - Removing module debug parameter "nomcp" since no one should work
      without the bootcode (this is a left over from the chip bring up days)
    - Instead of waiting fix amount of time for bootcode response, sample it
      every 10ms (usually the answer is ready after less than 10ms)
    
    Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 8d0968abd03ec6b407df117adc773562386702fa
Merge: 9ea319b... e491401...
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Wed Aug 13 15:24:35 2008 -0700

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
      crypto: padlock - fix VIA PadLock instruction usage with irq_ts_save/restore()
      crypto: hash - Add missing top-level functions
      crypto: hash - Fix digest size check for digest type
      crypto: tcrypt - Fix AEAD chunk testing
      crypto: talitos - Add handling for SEC 3.x treatment of link table

commit d4766692e72422f3b0f0e9ac6773d92baad07d51
Author: Jarek Poplawski <jarkao2@gmail.com>
Date:   Wed Aug 13 15:20:24 2008 -0700

    pkt_sched: Protect gen estimators under est_lock.
    
    gen_kill_estimator() required rtnl_lock() protection, but since it is
    moved to an RCU callback __qdisc_destroy() let's use est_lock instead.
    
    Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit b9a3b1102bc80b4044224494100f67de132d5448
Author: David S. Miller <davem@davemloft.net>
Date:   Wed Aug 13 15:18:38 2008 -0700

    pkt_sched: Fix queue quiescence testing in dev_deactivate().
    
    Based upon discussions with Jarek P. and Herbert Xu.
    
    First, we're testing the wrong qdisc.  We just reset the device
    queue qdiscs to &noop_qdisc and checking it's state is completely
    pointless here.
    
    We want to wait until the previous qdisc that was sitting at
    the ->qdisc pointer is not busy any more.  And that would be
    ->qdisc_sleeping.
    
    Because of how we propagate the samples qdisc pointer down into
    qdisc_run and friends via per-cpu ->output_queue and netif_schedule,
    we have to wait also for the __QDISC_STATE_SCHED bit to clear as
    well.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 9ea319b61613085f501a79cf8d405cb221d084f3
Merge: 3e11acd... c6a7b0f...
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Wed Aug 13 15:17:49 2008 -0700

    Merge git://oss.sgi.com:8090/xfs/linux-2.6
    
    * git://oss.sgi.com:8090/xfs/linux-2.6: (45 commits)
      [XFS] Fix use after free in xfs_log_done().
      [XFS] Make xfs_bmap_*_count_leaves void.
      [XFS] Use KM_NOFS for debug trace buffers
      [XFS] use KM_MAYFAIL in xfs_mountfs
      [XFS] refactor xfs_mount_free
      [XFS] don't call xfs_freesb from xfs_unmountfs
      [XFS] xfs_unmountfs should return void
      [XFS] cleanup xfs_mountfs
      [XFS] move root inode IRELE into xfs_unmountfs
      [XFS] stop using file_update_time
      [XFS] optimize xfs_ichgtime
      [XFS] update timestamp in xfs_ialloc manually
      [XFS] remove the sema_t from XFS.
      [XFS] replace dquot flush semaphore with a completion
      [XFS] replace inode flush semaphore with a completion
      [XFS] extend completions to provide XFS object flush requirements
      [XFS] replace the XFS buf iodone semaphore with a completion
      [XFS] clean up stale references to semaphores
      [XFS] use get_unaligned_* helpers
      [XFS] Fix compile failure in xfs_buf_trace()
      ...

commit 26b284de54a5ca3dfbe2fd9a51ac1923e80085a2
Author: Jarek Poplawski <jarkao2@gmail.com>
Date:   Wed Aug 13 15:16:43 2008 -0700

    pkt_sched: Fix oops in htb_delete.
    
    Recent changes introduced a bug in htb_delete(): cl->parent->children
    counter update misses checking cl->parent for NULL, which is used for
    root classes, so deleting them causes an oops.
    
    Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 3e11acd4306d558249c31cf6cac09f218f2de52e
Merge: 758db3f... 5140934...
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Wed Aug 13 15:16:10 2008 -0700

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/dlm
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/dlm:
      dlm: rename structs
      dlm: add missing kfrees

commit 64c00d81b5c2491bd140b3c8eb2e8c351513f971
Author: Andrew Gallatin <gallatin@myri.com>
Date:   Wed Aug 13 15:16:00 2008 -0700

    pktgen: prevent pktgen from using bad tx queue
    
    With the new multi-queue transmit code, it is possible to accidentally
    make pktgen pick a non-existing tx queue simply by using a stale
    script to drive pktgen.  Access to this non-existing tx queue will
    then trigger a bad memory access and kill the machine.
    
    For example, setting "queue_map_max 2" will cause my machine to die
    when accessing a garbage spinlock in the non-existing tx queue:
    
    BUG: spinlock bad magic on CPU#0, kpktgend_0/564
      lock: ffff88001ddf6718, .magic: ffffffff, .owner: /-1, .owner_cpu: 0
    Pid: 564, comm: kpktgend_0 Not tainted 2.6.27-rc3 #35
    
    Call Trace:
      [<ffffffff803a1228>] spin_bug+0xa4/0xac
      [<ffffffff803a1253>] _raw_spin_lock+0x23/0x123
      [<ffffffff8055b06f>] _spin_lock_bh+0x17/0x1b
      [<ffffffff804cb57d>] pktgen_thread_worker+0xa97/0x1002
      [<ffffffff8022874d>] ? finish_task_switch+0x38/0x97
      [<ffffffff80242077>] ? autoremove_wake_function+0x0/0x36
      [<ffffffff80242077>] ? autoremove_wake_function+0x0/0x36
      [<ffffffff804caae6>] ? pktgen_thread_worker+0x0/0x1002
      [<ffffffff80241a40>] kthread+0x44/0x6d
      [<ffffffff8020c399>] child_rip+0xa/0x11
      [<ffffffff802419fc>] ? kthread+0x0/0x6d
      [<ffffffff8020c38f>] ? child_rip+0x0/0x11
    
    The attached patch adds some sanity checking to prevent
    these sorts of configuration errors.
    
    Signed-off-by: Andrew Gallatin <gallatin@myri.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit c2dcfde8274883e1f6050784dcbd34b01e824b91
Author: H. Peter Anvin <hpa@zytor.com>
Date:   Wed Aug 13 13:14:22 2008 -0700

    x86: cleanup for setup code crashes during IST probe
    
    Clean up the code for crashes during SpeedStep probing on older
    machines.
    
    Signed-off-by: H. Peter Anvin <hpa@zytor.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 758db3f2118703a1e36374dae5d58bed963e7e0d
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Wed Aug 13 14:26:22 2008 -0700

    [h8300] move include/asm-h8300 to arch/h8300/include/asm
    
    Done as a script (well, a single "git mv" actually) on request from
    Yoshinori Sato as a way to avoid a huge diff.
    
    Requested-by: Yoshinori Sato <ysato@users.sourceforge.jp>
    Cc: Sam Ravnborg <sam@ravnborg.org>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

commit 3e8a0a559c66ee9e7468195691a56fefc3589740
Author: Arnaldo Carvalho de Melo <acme@redhat.com>
Date:   Wed Aug 13 13:48:39 2008 -0700

    dccp: change L/R must have at least one byte in the dccpsf_val field
    
    Thanks to Eugene Teo for reporting this problem.
    
    Signed-off-by: Eugene Teo <eugenete@kernel.sg>
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit c1e24df27fb1058739789126db6ad1b1ef719346
Author: Jean-Christophe DUBOIS <jcd@tribudubois.net>
Date:   Wed Aug 13 13:35:37 2008 -0700

    xfrm: remove unnecessary variable in xfrm_output_resume() 2nd try
    
    Small fix removing an unnecessary intermediate variable.
    
    Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 51409340d240dabe66adb49f645588c3a802d055
Author: David Teigland <teigland@redhat.com>
Date:   Thu Jul 31 09:31:53 2008 -0500

    dlm: rename structs
    
    Add a dlm_ prefix to the struct names in config.c.  This resolves a
    conflict with struct node in particular, when include/linux/node.h
    happens to be included.
    
    Reported-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: David Teigland <teigland@redhat.com>

commit cb980d9a3ec3d39e30e0a4c473df528c09e0dcf3
Author: David Teigland <teigland@redhat.com>
Date:   Tue Jul 29 15:21:19 2008 -0500

    dlm: add missing kfrees
    
    A couple of unlikely error conditions were missing a kfree on the error
    exit path.
    
    Reported-by: Juha Leppanen <juha_motorsportcom@luukku.com>
    Signed-off-by: David Teigland <teigland@redhat.com>

commit 2df8b1d656021e180ab93c8a4b2c9c2923d30b82
Author: Arjan van de Ven <arjan@linux.intel.com>
Date:   Wed Jul 30 12:43:11 2008 -0700

    lockdep: use WARN() in kernel/lockdep.c
    
    Use WARN() instead of a printk+WARN_ON() pair; this way the message
    becomes part of the warning section for better reporting/collection.
    
    Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

commit 875e40b97571e1f06d1184ad6cbb2acf9cb31a23
Author: Arjan van de Ven <arjan@linux.intel.com>
Date:   Wed Jul 30 12:26:26 2008 -0700

    x86: use WARN() in arch/x86/mm/pageattr.c
    
    Use WARN() instead of a printk+WARN_ON() pair; this way the message becomes
    part of the warning section for better reporting/collection.
    
    Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
    Acked-by: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Cc: akpm@linux-foundation.org
    Cc: arjan@linux.intel.com
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 720b499c806200d06f4f22c668d46db784117089
Author: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Date:   Wed Aug 13 16:16:31 2008 +0300

    UBIFS: remove unneeded check
    
    Commit d70b67c8bc72ee23b55381bd6a884f4796692f77 fixed VFS and
    it never calls FS lookup function in deleted directories now.
    We may remove corresponding UBIFS check.
    
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

commit 0a883a05c54b326bcf99c0902af28dae0386be0a
Author: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Date:   Wed Aug 13 14:13:26 2008 +0300

    UBIFS: few commentary fixes
    
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

commit a726c6009e6eba4acfccf8b683854866eeabb184
Author: John Keller <jpk@sgi.com>
Date:   Tue Jul 29 14:34:16 2008 -0500

    x86: allow MMCONFIG above 4GB on x86_64
    
    SGI UV will have MMCFG base addresses that are greater than 4GB (32 bits).
    
    v2: Use CONFIG_RESOURCES_64BIT instead of CONFIG_X86_64.
    v3: Create a flag, that is set by platform specific code,
        to disable the > 4GB check.
    
    Signed-off-by: John Keller <jpk@sgi.com>
    Cc: jpk@sgi.com
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 6b3560229d3b6be7443fa9f9c6502e660bcfef5f
Author: Marcin Slusarz <marcin.slusarz@gmail.com>
Date:   Tue Aug 12 23:23:05 2008 +0200

    x86: fix 2 section mismatch warnings - find_and_reserve_crashkernel
    
    WARNING: vmlinux.o(.text+0xcd1f): Section mismatch in reference from the function find_and_reserve_crashkernel() to the function .init.text:find_e820_area()
    The function find_and_reserve_crashkernel() references
    the function __init find_e820_area().
    This is often because find_and_reserve_crashkernel lacks a __init
    annotation or the annotation of find_e820_area is wrong.
    
    WARNING: vmlinux.o(.text+0xcd38): Section mismatch in reference from the function find_and_reserve_crashkernel() to the function .init.text:reserve_bootmem_generic()
    The function find_and_reserve_crashkernel() references
    the function __init reserve_bootmem_generic().
    This is often because find_and_reserve_crashkernel lacks a __init
    annotation or the annotation of reserve_bootmem_generic is wrong.
    
    find_and_reserve_crashkernel is called from __init function (reserve_crashkernel)
    and calls 2 __init functions (find_e820_area, reserve_bootmem_generic),
    so mark it __init
    
    Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit e49140120c88eb99db1a9172d9ac224c0f2bbdd2
Author: Suresh Siddha <suresh.b.siddha@intel.com>
Date:   Wed Aug 13 22:02:26 2008 +1000

    crypto: padlock - fix VIA PadLock instruction usage with irq_ts_save/restore()
    
    Wolfgang Walter reported this oops on his via C3 using padlock for
    AES-encryption:
    
    ##################################################################
    
    BUG: unable to handle kernel NULL pointer dereference at 000001f0
    IP: [<c01028c5>] __switch_to+0x30/0x117
    *pde = 00000000
    Oops: 0002 [#1] PREEMPT
    Modules linked in:
    
    Pid: 2071, comm: sleep Not tainted (2.6.26 #11)
    EIP: 0060:[<c01028c5>] EFLAGS: 00010002 CPU: 0
    EIP is at __switch_to+0x30/0x117
    EAX: 00000000 EBX: c0493300 ECX: dc48dd00 EDX: c0493300
    ESI: dc48dd00 EDI: c0493530 EBP: c04cff8c ESP: c04cff7c
     DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
    Process sleep (pid: 2071, ti=c04ce000 task=dc48dd00 task.ti=d2fe6000)
    Stack: dc48df30 c0493300 00000000 00000000 d2fe7f44 c03b5b43 c04cffc8 00000046
           c0131856 0000005a dc472d3c c0493300 c0493470 d983ae00 00002696 00000000
           c0239f54 00000000 c04c4000 c04cffd8 c01025fe c04f3740 00049800 c04cffe0
    Call Trace:
     [<c03b5b43>] ? schedule+0x285/0x2ff
     [<c0131856>] ? pm_qos_requirement+0x3c/0x53
     [<c0239f54>] ? acpi_processor_idle+0x0/0x434
     [<c01025fe>] ? cpu_idle+0x73/0x7f
     [<c03a4dcd>] ? rest_init+0x61/0x63
     =======================
    
    Wolfgang also found out that adding kernel_fpu_begin() and kernel_fpu_end()
    around the padlock instructions fix the oops.
    
    Suresh wrote:
    
    These padlock instructions though don't use/touch SSE registers, but it behaves
    similar to other SSE instructions. For example, it might cause DNA faults
    when cr0.ts is set. While this is a spurious DNA trap, it might cause
    oops with the recent fpu code changes.
    
    This is the code sequence  that is probably causing this problem:
    
    a) new app is getting exec'd and it is somewhere in between
       start_thread() and flush_old_exec() in the load_xyz_binary()
    
    b) At pont "a", task's fpu state (like TS_USEDFPU, used_math() etc) is
       cleared.
    
    c) Now we get an interrupt/softirq which starts using these encrypt/decrypt
       routines in the network stack. This generates a math fault (as
       cr0.ts is '1') which sets TS_USEDFPU and restores the math that is
       in the task's xstate.
    
    d) Return to exec code path, which does start_thread() which does
       free_thread_xstate() and sets xstate pointer to NULL while
       the TS_USEDFPU is still set.
    
    e) At the next context switch from the new exec'd task to another task,
       we have a scenarios where TS_USEDFPU is set but xstate pointer is null.
       This can cause an oops during unlazy_fpu() in __switch_to()
    
    Now:
    
    1) This should happen with or with out pre-emption. Viro also encountered
       similar problem with out CONFIG_PREEMPT.
    
    2) kernel_fpu_begin() and kernel_fpu_end() will fix this problem, because
       kernel_fpu_begin() will manually do a clts() and won't run in to the
       situation of setting TS_USEDFPU in step "c" above.
    
    3) This was working before the fpu changes, because its a spurious
       math fault  which doesn't corrupt any fpu/sse registers and the task's
       math state was always in an allocated state.
    
    With out the recent lazy fpu allocation changes, while we don't see oops,
    there is a possible race still present in older kernels(for example,
    while kernel is using kernel_fpu_begin() in some optimized clear/copy
    page and an interrupt/softirq happens which uses these padlock
    instructions generating DNA fault).
    
    This is the failing scenario that existed even before the lazy fpu allocation
    changes:
    
    0. CPU's TS flag is set
    
    1. kernel using FPU in some optimized copy  routine and while doing
    kernel_fpu_begin() takes an interrupt just before doing clts()
    
    2. Takes an interrupt and ipsec uses padlock instruction. And we
    take a DNA fault as TS flag is still set.
    
    3. We handle the DNA fault and set TS_USEDFPU and clear cr0.ts
    
    4. We complete the padlock routine
    
    5. Go back to step-1, which resumes clts() in kernel_fpu_begin(), finishes
    the optimized copy routine and does kernel_fpu_end(). At this point,
    we have cr0.ts again set to '1' but the task's TS_USEFPU is stilll
    set and not cleared.
    
    6. Now kernel resumes its user operation. And at the next context
    switch, kernel sees it has do a FP save as TS_USEDFPU is still set
    and then will do a unlazy_fpu() in __switch_to(). unlazy_fpu()
    will take a DNA fault, as cr0.ts is '1' and now, because we are
    in __switch_to(), math_state_restore() will get confused and will
    restore the next task's FP state and will save it in prev tasks's FP state.
    Remember, in __switch_to() we are already on the stack of the next task
    but take a DNA fault for the prev task.
    
    This causes the fpu leakage.
    
    Fix the padlock instruction usage by calling them inside the
    context of new routines irq_ts_save/restore(), which clear/restore cr0.ts
    manually in the interrupt context. This will not generate spurious DNA
    in the  context of the interrupt which will fix the oops encountered and
    the possible FPU leakage issue.
    
    Reported-and-bisected-by: Wolfgang Walter <wolfgang.walter@stwm.de>
    Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
    Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

commit c72f4573a5e05e35a31474977f500cbe21dcbb11
Author: Andrew Morton <akpm@linux-foundation.org>
Date:   Tue Aug 12 13:27:37 2008 -0700

    lockdep: spin_lock_nest_lock(), checkpatch fixes
    
    fix:
    
     WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
     #46: FILE: kernel/spinlock.c:326:
     +EXPORT_SYMBOL(_spin_lock_nest_lock);
    
    total: 0 errors, 1 warnings, 26 lines checked
    
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 73909f7a665991013dcff42a815fda76d3a7300a
Merge: d6672c5... 30a2f3c...
Author: Ingo Molnar <mingo@elte.hu>
Date:   Wed Aug 13 13:56:44 2008 +0200

    Merge commit 'v2.6.27-rc3' into core/urgent

commit c9d08f0860d47ed6a3fe91d0f19335086179be7b
Author: Marcin Slusarz <marcin.slusarz@gmail.com>
Date:   Tue Aug 12 23:23:03 2008 +0200

    x86: fix 2 section mismatch warnings - map_high()
    
    WARNING: vmlinux.o(.text+0x14cf8): Section mismatch in reference from the function map_high() to the function .init.text:init_extra_mapping_uc()
    The function map_high() references
    the function __init init_extra_mapping_uc().
    This is often because map_high lacks a __init
    annotation or the annotation of init_extra_mapping_uc is wrong.
    
    WARNING: vmlinux.o(.text+0x14d05): Section mismatch in reference from the function map_high() to the function .init.text:init_extra_mapping_wb()
    The function map_high() references
    the function __init init_extra_mapping_wb().
    This is often because map_high lacks a __init
    annotation or the annotation of init_extra_mapping_wb is wrong.
    
    map_high is called only from __init functions (map_*_high)
    and calls 2 __init_functions (init_extra_mapping_*)
    
    Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit a12e61df4fa1cfae7a6b76976fa65a6fcb048e3f
Merge: 7b27718... 30a2f3c...
Author: Ingo Molnar <mingo@elte.hu>
Date:   Wed Aug 13 13:08:47 2008 +0200

    Merge commit 'v2.6.27-rc3' into x86/urgent

commit d6672c501852d577097f6757c311d937aca0b04b
Author: Ingo Molnar <mingo@elte.hu>
Date:   Fri Aug 1 11:23:50 2008 +0200

    lockdep: build fix
    
    fix:
    
     kernel/built-in.o: In function `lockdep_stats_show':
     lockdep_proc.c:(.text+0x3cb2f): undefined reference to `lockdep_count_forward_deps'
     kernel/built-in.o: In function `l_show':
     lockdep_proc.c:(.text+0x3d02b): undefined reference to `lockdep_count_forward_deps'
     lockdep_proc.c:(.text+0x3d047): undefined reference to `lockdep_count_backward_deps'
    
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 318e5313923197e71a94f7b18835151649384b7f
Author: Herbert Xu <herbert@gondor.apana.org.au>
Date:   Tue Aug 5 13:34:30 2008 +0800

    crypto: hash - Add missing top-level functions
    
    The top-level functions init/update/final were missing for ahash.
    
    Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

commit dbaaba1d0abf6871c7db6e3d15a46206bc386db1
Author: Herbert Xu <herbert@gondor.apana.org.au>
Date:   Sun Aug 3 21:19:43 2008 +0800

    crypto: hash - Fix digest size check for digest type
    
    The changeset ca786dc738f4f583b57b1bba7a335b5e8233f4b0
    
    	crypto: hash - Fixed digest size check
    
    missed one spot for the digest type.  This patch corrects that
    error.
    
    Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

commit f176e632efad33aeb2d3c5ddfa86861c0d60553c
Author: Herbert Xu <herbert@gondor.apana.org.au>
Date:   Wed Jul 30 16:23:51 2008 +0800

    crypto: tcrypt - Fix AEAD chunk testing
    
    My changeset 4b22f0ddb6564210c9ded7ba25b2a1007733e784
    
    	crypto: tcrpyt - Remove unnecessary kmap/kunmap calls
    
    introduced a typo that broke AEAD chunk testing.  In particular,
    axbuf should really be xbuf.
    
    There is also an issue with testing the last segment when encrypting.
    The additional part produced by AEAD wasn't tested.  Similarly, on
    decryption the additional part of the AEAD input is mistaken for
    corruption.
    
    Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

commit f3c85bc1bc72b4cc8d58664a490a9d42bdb6565a
Author: Lee Nipper <lee.nipper@freescale.com>
Date:   Wed Jul 30 16:26:57 2008 +0800

    crypto: talitos - Add handling for SEC 3.x treatment of link table
    
    Later SEC revision requires the link table (used for scatter/gather)
    to have an extra entry to account for the total length in descriptor [4],
    which contains cipher Input and ICV.
    This only applies to decrypt, not encrypt.
    Without this change, on 837x, a gather return/length error results
    when a decryption uses a link table to gather the fragments.
    This is observed by doing a ping with size of 1447 or larger with AES,
    or a ping with size 1455 or larger with 3des.
    
    So, add check for SEC compatible "fsl,3.0" for using extra link table entry.
    
    Signed-off-by: Lee Nipper <lee.nipper@freescale.com>
    Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
    Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

commit 7b27718bdb1b70166383dec91391df5534d449ee
Author: Joerg Roedel <joro@8bytes.org>
Date:   Wed Aug 13 10:07:05 2008 +0200

    x86: fix setup code crashes on my old 486 box
    
    yesterday I tried to reactivate my old 486 box and wanted to install a
    current Linux with latest kernel on it. But it turned out that the
    latest kernel does not boot because the machine crashes early in the
    setup code.
    
    After some debugging it turned out that the problem is the query_ist()
    function. If this interrupt with that function is called the machine
    simply locks up. It looks like a BIOS bug. Looking for a workaround for
    this problem I wrote the attached patch. It checks for the CPUID
    instruction and if it is not implemented it does not call the speedstep
    BIOS function. As far as I know speedstep should be available since some
    Pentium earliest.
    
    Alan Cox observed that it's available since the Pentium II, so cpuid
    levels 4 and 5 can be excluded altogether.
    
    H. Peter Anvin cleaned up the code some more:
    
    > Right in concept, but I dislike the implementation (duplication of the
    > CPU detect code we already have).  Could you try this patch and see if
    > it works for you?
    
    which, with a small modification to fix a build error with it the
    resulting kernel boots on my machine.
    
    Signed-off-by: Joerg Roedel <joro@8bytes.org>
    Signed-off-by: "H. Peter Anvin" <hpa@zytor.com>
    Cc: <stable@kernel.org>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 0ed89b06e49c326bff81d81f24b9ba955eb912d5
Author: Johannes Weiner <hannes@saeurebad.de>
Date:   Wed Aug 13 10:17:24 2008 +0200

    x86: propagate new nonpanic bootmem macros to CONFIG_HAVE_ARCH_BOOTMEM_NODE
    
    Commit 74768ed833344b "page allocator: use no-panic variant of
    alloc_bootmem() in alloc_large_system_hash()" introduced two new
    _nopanic macros which are undefined for CONFIG_HAVE_ARCH_BOOTMEM_NODE.
    
    Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
    Acked-by: "Jan Beulich" <jbeulich@novell.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 36723873b664fb6b5cfe06d291df948126e43f50
Author: Jamal Hadi Salim <hadi@cyberus.ca>
Date:   Wed Aug 13 02:41:45 2008 -0700

    net-sched: fix Action flushing return code
    
    Flushing must consistently return ENOMEM on failure of any allocation
    
    Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit f97017cdefefdb6a0e19266024b0c6f9fd411eeb
Author: Jamal Hadi Salim <hadi@cyberus.ca>
Date:   Wed Aug 13 02:41:22 2008 -0700

    net-sched: Fix actions flushing
    
    Flushing of actions has been broken since we changed
    the semantics of netlink parsed tb[X] to mean X is an attribute type.
    This makes the flushing work.
    
    Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 55546ac45dfb4087437bedaed43400630c96680e
Author: Michael Hennerich <michael.hennerich@analog.com>
Date:   Wed Aug 13 17:41:13 2008 +0800

    Blackfin arch: workaround SIC_IWR1 reset bug, by keeping MDMA0/1 always enabled in SIC_IWR1.
    
    This way we ensure that reboot succeeds.
    
    Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit 34093d055e09d1bb549efc11c8d448373437bbe4
Author: Julien Brunel <brunel@diku.dk>
Date:   Wed Aug 13 02:40:48 2008 -0700

    net/rxrpc: Use an IS_ERR test rather than a NULL test
    
    In case of error, the function rxrpc_get_transport returns an ERR
    pointer, but never returns a NULL pointer. So after a call to this
    function, a NULL test should be replaced by an IS_ERR test.
    
    A simplified version of the semantic patch that makes this change is
    as follows:
    (http://www.emn.fr/x-info/coccinelle/)
    
    // <smpl>
    @correct_null_test@
    expression x,E;
    statement S1, S2;
    @@
    x =  rxrpc_get_transport(...)
    <... when != x = E
    if (
    (
    - x@p2 != NULL
    + ! IS_ERR ( x )
    |
    - x@p2 == NULL
    + IS_ERR( x )
    )
     )
    S1
    else S2
    ...>
    ? x = E;
    // </smpl>
    
    Signed-off-by: Julien Brunel <brunel@diku.dk>
    Signed-off-by: Julia Lawall <julia@diku.dk>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 317900cb010f4aca0e3cb14a02d0ddcc44ddafa7
Author: Jamal Hadi Salim <hadi@cyberus.ca>
Date:   Wed Aug 13 02:39:56 2008 -0700

    wext: Send name on events
    
    In the minimal the wireless extensions oughta send at least
    the name in addition to the ifindex.
    
    Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 6bf90b2bf4084a64bbcf96a0b93dc64c77288028
Author: Rami Rosen <ramirose@gmail.com>
Date:   Wed Aug 13 02:35:39 2008 -0700

    ipv6: Kill unused ip6_prohibit_entry and ip6_blk_hole_entry declarations.
    
    This patch removes ip6_prohibit_entry and ip6_blk_hole_entry
    declarations from include/net/ip6_route.h as they are unused.
    
    Signed-off-by: Rami Rosen <ramirose@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 83ac794f15d2311d8e9e641c73618011f2f7f0a1
Author: Rami Rosen <ramirose@gmail.com>
Date:   Wed Aug 13 02:34:39 2008 -0700

    ipv6: ip6_route.h cleanup.
    
    This patch removes rt6_lock declaration from include/net/ip6_route.h
    as it is unused.
    
    Signed-off-by: Rami Rosen <ramirose@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 6ced0b3f1e1c089caf8798485423a093744b6a48
Author: Andrew Morton <akpm@linux-foundation.org>
Date:   Wed Aug 13 02:32:06 2008 -0700

    net/tipc/subscr.c: don't use ___constant_swab32
    
    It's an internal implementation detail which we _should_ be free to change.
    So we did, and it promptly broke.
    
    The compiler shold be able to work out when to use the __constant version
    anyway.
    
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 83f36f3f35f4f83fa346bfff58a5deabc78370e5
Author: David S. Miller <davem@davemloft.net>
Date:   Wed Aug 13 02:13:34 2008 -0700

    pkt_sched: Add queue stopped test back to qdisc_run().
    
    Based upon a bug report by Andrew Gallatin on netdev
    with subject "CPU utilization increased in 2.6.27rc"
    
    In commit 37437bb2e1ae8af470dfcd5b4ff454110894ccaf
    ("pkt_sched: Schedule qdiscs instead of netdev_queue.")
    the test of the queue being stopped was erroneously
    removed from qdisc_run().
    
    When the TX queue of the device fills up, this omission
    causes lots of extraneous useless work to be queued up
    to softirq context, where we'll just return immediately
    because the device is still stuffed up.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 5e0115e500fe9dd2ca11e6f92db9123204f1327a
Author: Brian Haley <brian.haley@hp.com>
Date:   Wed Aug 13 01:58:57 2008 -0700

    ipv6: Fix OOPS, ip -f inet6 route get fec0::1, linux-2.6.26, ip6_route_output, rt6_fill_node+0x175
    
    Alexey Dobriyan wrote:
    > On Thu, Aug 07, 2008 at 07:00:56PM +0200, John Gumb wrote:
    >> Scenario: no ipv6 default route set.
    >
    >> # ip -f inet6 route get fec0::1
    >>
    >> BUG: unable to handle kernel NULL pointer dereference at 00000000
    >> IP: [<c0369b85>] rt6_fill_node+0x175/0x3b0
    >> EIP is at rt6_fill_node+0x175/0x3b0
    >
    > 0xffffffff80424dd3 is in rt6_fill_node (net/ipv6/route.c:2191).
    > 2186                    } else
    > 2187    #endif
    > 2188                            NLA_PUT_U32(skb, RTA_IIF, iif);
    > 2189            } else if (dst) {
    > 2190                    struct in6_addr saddr_buf;
    > 2191      ====>         if (ipv6_dev_get_saddr(ip6_dst_idev(&rt->u.dst)->dev,
    >					       ^^^^^^^^^^^^^^^^^^^^^^^^
    >											NULL
    >
    > 2192                                           dst, 0, &saddr_buf) == 0)
    > 2193                            NLA_PUT(skb, RTA_PREFSRC, 16, &saddr_buf);
    > 2194            }
    
    The commit that changed this can't be reverted easily, but the patch
    below works for me.
    
    Fix NULL de-reference in rt6_fill_node() when there's no IPv6 input
    device present in the dst entry.
    
    Signed-off-by: Brian Haley <brian.haley@hp.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 5acd6ff8ac09eb71f3aef2ccccefab658be8aff4
Author: Zoltan Sogor <weth@inf.u-szeged.hu>
Date:   Tue Aug 12 13:54:54 2008 +0300

    UBIFS: fix budgeting request alignment in xattr code
    
    Data length has to be aligned in the budgeting request. Code
    in xattr.c did not do this.
    
    Signed-off-by: Zoltan Sogor <weth@inf.u-szeged.hu>
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

commit 840dc6b891d521f18bf081bd5a32e4a1f8110abc
Author: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Date:   Fri Aug 1 18:13:37 2008 +0300

    UBIFS: improve arguments checking in debugging messages
    
    Use "if (0) printk()" construct in debugging print macros to
    make the debugging messages be checked even if debugging is
    off.
    
    This patch also removes some unneeded spaces and blank lines.
    
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

commit 81ffa38e1558f54db190e2d11e7260ab09c4acf2
Author: Adrian Hunter <ext-adrian.hunter@nokia.com>
Date:   Fri Aug 1 15:35:08 2008 +0300

    UBIFS: always set i_generation to 0
    
    UBIFS does not presently re-use inode numbers, so leaving
    i_generation zero is most appropriate for now.
    
    Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

commit 3a13252c6f3a029ac992a36910e945f361482797
Author: Adrian Hunter <ext-adrian.hunter@nokia.com>
Date:   Wed Jul 30 12:18:02 2008 +0300

    UBIFS: correct spelling of "thrice".
    
    Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>

commit 22bc7fa8c5da09805edc6a6199ce81373b2c207d
Author: Zoltan Sogor <weth@inf.u-szeged.hu>
Date:   Mon Jul 28 16:28:49 2008 +0200

    UBIFS: support splice_write
    
    Signed-off-by: Zoltan Sogor <weth@inf.u-szeged.hu>
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

commit 0010f18afc5f8ba25e1d20e3165894c32a65af02
Author: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Date:   Fri Jul 25 16:39:44 2008 +0300

    UBIFS: minor tweaks in commit
    
    No functional changes, just lessen the amount of indentations.
    
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

commit b364b41aeb0289be402be83eebca92eb90bfcb8b
Author: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Date:   Fri Jul 25 14:38:51 2008 +0300

    UBIFS: reserve more space for index
    
    At the moment UBIFS reserves twice old index size space for the
    index. But this is not enough in some cases, because if the indexing
    node are very fragmented and there are many small gaps, while the
    dirty index has big znodes - in-the-gaps method would fail.
    
    Thus, reserve trise as more, in which case we are guaranteed that
    we can commit in any case.
    
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

commit 1de9415906bccab51fb74c6adf575948610f0909
Author: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Date:   Fri Jul 25 12:58:38 2008 +0300

    UBIFS: print pid in dump function
    
    Useful when something fails and there are many processes
    racing.
    
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

commit dab4b4d2f915a65022343012a795f4ae4ae7e83c
Author: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Date:   Thu Jul 24 14:52:45 2008 +0300

    UBIFS: align inode data to eight
    
    UBIFS aligns node lengths to 8, so budgeting has to do the
    same. Well, direntry, inode, and page budgets are already
    aligned, but not inode data budget (e.g., data in special
    devices or symlinks). Do this for inode data as well.
    Also, add corresponding debugging checks.
    
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

commit 547000da6412c45456ff2ff44a171d01027bd727
Author: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Date:   Thu Jul 24 14:42:05 2008 +0300

    UBIFS: improve budgeting checks
    
    Budgeting is a crucial UBIFS subsystem - add more assertions
    to improve requests checking. This is not compiled in when
    UBIFS debugging is disabled.
    
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

commit f769108424a19c7758546d1d7d19f098b1a33759
Author: Adrian Hunter <ext-adrian.hunter@nokia.com>
Date:   Wed Jul 23 16:55:55 2008 +0300

    UBIFS: correct orphan deletion order
    
    The debug function that checks orphans, does so using the
    TNC mutex. That means it will not see a correct picture
    if the inode is removed from the orphan tree before it is
    removed from TNC.
    
    Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>

commit 7d62ff2c396470bb62a3853f14d3962eac1da974
Author: Adrian Hunter <ext-adrian.hunter@nokia.com>
Date:   Wed Jul 23 15:48:39 2008 +0300

    UBIFS: fix typos in comments
    
    Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>

commit bc813355c704e5916a86dd4b96fd226bfa3fc6ca
Author: Adrian Hunter <ext-adrian.hunter@nokia.com>
Date:   Wed Jul 23 15:23:11 2008 +0300

    UBIFS: do not union creat_sqnum and del_cmtno
    
    The values in these two fields need to be preserved independently
    and so a union cannot be used.
    
    Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>

commit de94eb558b542873d3f6f9ede1b8575fb5662248
Author: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Date:   Tue Jul 22 13:06:20 2008 +0300

    UBIFS: optimize deletions
    
    Every time anything is deleted, UBIFS writes the deletion inode
    node twice - once in 'ubifs_jnl_update()' and the second time in
    'ubifs_jnl_write_inode()'. However, the second write is not needed
    if no commit happened after 'ubifs_jnl_update()'. This patch
    checks that condition and avoids writing the deletion inode for
    the second time.
    
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

commit 014eb04b03202dc75c1c749df4246d98045f5e69
Author: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Date:   Mon Jul 21 17:14:29 2008 +0300

    UBIFS: increment commit number earlier
    
    Increment the commit number at the beginnig of the commit, instead
    of doing this after the commit. This is needed for further
    optimizations.
    
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

commit fd6c6b51e3677937090314b20b00f2194900d81b
Author: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Date:   Tue Jul 22 12:19:09 2008 +0300

    UBIFS: remove another unneeded function parameter
    
    The 'last_reference' parameter of 'pack_inode()' is not really
    needed because 'inode->i_nlink' may be tested instead. Zap it.
    
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

commit 1f28681ad34a0c7e51dc5070c84b53f7bd34f44c
Author: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Date:   Tue Jul 22 12:06:13 2008 +0300

    UBIFS: remove unneeded function parameter
    
    Simplify 'ubifs_jnl_write_inode()' by removing the 'deletion'
    parameter which is not really needed because we may test
    inode->i_nlink and check whether this is a deletion or not.
    
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

commit fbfa6c884aae2aff479eb8c996c564b1a34eae30
Author: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Date:   Tue Jul 22 11:52:52 2008 +0300

    UBIFS: do not write orphans back
    
    Orphan inodes are deleted inodes which will disappear after FS
    re-mount. There is not need to write orphan inodes back, because
    they are not needed on the flash media.
    
    So optimize orphans a little by not writing them back. Just mark
    them as clean, free the budget, and report success to VFS.
    
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

commit ff46d7b3e0870a70331b069372c36fbc43018c2d
Author: Adrian Hunter <ext-adrian.hunter@nokia.com>
Date:   Mon Jul 21 15:39:05 2008 +0300

    UBIFS: make ubifs_ro_mode() not inline
    
    We use ubifs_ro_mode() quite a lot, and not in fast-path, so
    there is no reason to blow the code up by having it inlined.
    Also, we usually want R/O mode change to be seen to other
    CPUs as soon as possible, so when we make this a function
    call, we will automatically have a memory barrier.
    
    Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

commit 2fb42b11f61cbcef7dfc225c1d26c4511436583d
Author: Adrian Hunter <ext-adrian.hunter@nokia.com>
Date:   Fri Jul 18 17:56:37 2008 +0300

    UBIFS: ensure UBIFS switches to read-only on error
    
    UBI transparently handles write errors by automatically copying
    and remapping the affected eraseblock. If UBI is unable to do
    that, for example its pool of eraseblocks reserved for bad block
    handling is empty, then the error is propagated to UBIFS. UBIFS
    must protect the media from falling into an inconsistent state
    by immediately switching to read-only mode. In the case of log
    updates, this was not being done.
    
    Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>

commit 16dfd804b44ef7156d1c201f100bd0d9dc6b7c4b
Author: Adrian Hunter <ext-adrian.hunter@nokia.com>
Date:   Fri Jul 18 16:47:41 2008 +0300

    UBIFS: fix error return in failure mode
    
    UBIFS recovery testing debug facility simulates media failures.
    When simulating an IO error, the error code returned must be
    -EIO but it was not always if the user switched off the
    debug recovery testing option at the same time.
    
    Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>

commit 1e0f358e29cc91c8eb09e10cbf1f6bb58a62c795
Author: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Date:   Mon Jul 21 10:59:53 2008 +0300

    UBIFS: free budget in delete_inode as well
    
    Although the inode is marked as clean when it is being deleted,
    it might stay and be used as orphan, and be marked as dirty.
    So we have to free the budget when we delete it.
    
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

commit 7d32c2bb143fa1ca3b0c420feb08a832d65395be
Author: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Date:   Fri Jul 18 18:54:29 2008 +0300

    UBIFS: improve debugging
    
    1. Print inode mode in some of debugging messages
    2. Add few more useful assertions
    
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

commit 182854b46f9feb6f1b03abe747bb2beeebf2adb0
Author: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Date:   Fri Jul 18 18:54:29 2008 +0300

    UBIFS: fix budgeting calculations
    
    The 'ubifs_release_dirty_inode_budget()' was buggy and incorrectly
    freed the budget, which led to not freeing all dirty data budget.
    This patch fixes that.
    
    Also, this patch fixes ubifs_mkdir() which passed 1 in dirty_ino_d,
    which makes no sense. Well, it is harmless though.
    
    Also, add few more useful assertions. And improve few debugging
    messages.
    
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

commit ce769caa50a3fc835b4fc1a6e1463ada127a2e8a
Author: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Date:   Fri Jul 18 12:54:21 2008 +0300

    UBIFS: print volume name as well
    
    We encouredge people to mount using volume name, not device
    numbers. So print the name of the mounted UBI volume, not just
    IDs.
    
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

commit 2e244d08369b510923fe8290d40d51b0e88bfebe
Author: Sebastian Siewior <bigeasy@linutronix.de>
Date:   Thu Jul 17 14:16:09 2008 +0200

    Documentation: fix typo in ubifs.txt
    
    Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

commit c6a7b0f8a49aa71792dd108efc535435f462bf79
Author: Lachlan McIlroy <lachlan@sgi.com>
Date:   Wed Aug 13 16:52:50 2008 +1000

    [XFS] Fix use after free in xfs_log_done().
    
    The ticket allocation code got reworked in 2.6.26 and we now free tickets
    whereas before we used to cache them so the use-after-free went
    undetected.
    
    SGI-PV: 985525
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31877a
    
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
    Signed-off-by: David Chinner <david@fromorbit.com>

commit c94312de223644e2f18e7064ae8cafa14e5c6ef6
Author: Ruben Porras <ruben.porras@linworks.de>
Date:   Wed Aug 13 16:52:25 2008 +1000

    [XFS] Make xfs_bmap_*_count_leaves void.
    
    xfs_bmap_count_leaves and xfs_bmap_disk_count_leaves always return always
    0, make them void.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31844a
    
    Signed-off-by: Ruben Porras <ruben.porras@linworks.de>
    Signed-off-by: Donald Douwsma <donaldd@sgi.com>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit 5695ef46ef02ba1c6658daa46e6879a2d4f52f5f
Author: Lachlan McIlroy <lachlan@sgi.com>
Date:   Wed Aug 13 16:51:57 2008 +1000

    [XFS] Use KM_NOFS for debug trace buffers
    
    Use KM_NOFS to prevent recursion back into the filesystem which can cause
    deadlocks.
    
    In the case of xfs_iread() we hold the lock on the inode cluster buffer
    while allocating memory for the trace buffers. If we recurse back into XFS
    to flush data that may require a transaction to allocate extents which
    needs log space. This can deadlock with the xfsaild thread which can't
    push the tail of the log because it is trying to get the inode cluster
    buffer lock.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31838a
    
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
    Signed-off-by: David Chinner <david@fromorbit.com>

commit d62c251fe4a06144255291cffd68cbadf3bf002f
Author: Christoph Hellwig <hch@infradead.org>
Date:   Wed Aug 13 16:51:29 2008 +1000

    [XFS] use KM_MAYFAIL in xfs_mountfs
    
    Use KM_MAYFAIL for the m_perag allocation, we can deal with the error
    easily and blocking forever during mount is not a good idea either.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31837a
    
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit ff4f038c6bbb27044a84adbcd27bc237d7237e66
Author: Christoph Hellwig <hch@infradead.org>
Date:   Wed Aug 13 16:50:47 2008 +1000

    [XFS] refactor xfs_mount_free
    
    xfs_mount_free mostly frees the perag data, which is something that is
    duplicated in the mount error path.
    
    Move the XFS_QM_DONE call to the caller and remove the useless
    mutex_destroy/spinlock_destroy calls so that we can re-use it for the
    mount error path. Also rename it to xfs_free_perag to reflect what it
    does.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31836a
    
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit 6203300e5e9121440b27d3ed0b9fe2a64cb62b53
Author: Christoph Hellwig <hch@infradead.org>
Date:   Wed Aug 13 16:50:21 2008 +1000

    [XFS] don't call xfs_freesb from xfs_unmountfs
    
    xfs_readsb is called before xfs_mount so xfs_freesb should be called after
    xfs_unmountfs, too. This means it now happens after a few things during
    the of xfs_unmount which all have nothing to do with the superblock.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31835a
    
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit 41b5c2e77a0221cf07ac127afa122add67ac5418
Author: Christoph Hellwig <hch@infradead.org>
Date:   Wed Aug 13 16:49:57 2008 +1000

    [XFS] xfs_unmountfs should return void
    
    xfs_unmounts can't and shouldn't return errors so declare it as returning
    void.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31833a
    
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit 4249023a5d14f28d4e68ba15d24d25c0e5be71a6
Author: Christoph Hellwig <hch@infradead.org>
Date:   Wed Aug 13 16:49:32 2008 +1000

    [XFS] cleanup xfs_mountfs
    
    Remove all the useless flags and code keyed off it in xfs_mountfs.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31831a
    
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit 77508ec8e6ed72c9ba8ca74248a7aabd664e3f57
Author: Christoph Hellwig <hch@infradead.org>
Date:   Wed Aug 13 16:49:04 2008 +1000

    [XFS] move root inode IRELE into xfs_unmountfs
    
    The root inode is allocated in xfs_mountfs so it should be release in
    xfs_unmountfs. For the unmount case that means we do it after the the
    xfs_sync(mp, SYNC_WAIT | SYNC_CLOSE) in the forced shutdown case and the
    dmapi unmount event. Note that both reference the rip variable which might
    be freed by that time in case inode flushing has kicked in, so strictly
    speaking this might count as a bug fix
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31830a
    
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit 3a76c1ea07ee4e9da7c8e476e43be7e1b2bf24fb
Author: Christoph Hellwig <hch@infradead.org>
Date:   Wed Aug 13 16:48:12 2008 +1000

    [XFS] stop using file_update_time
    
    xfs_ichtime updates the xfs_inode and Linux inode timestamps just fine, no
    need to call file_update_time and then copy the values over to the XFS
    inode. The only additional thing in file_update_time are checks not
    applicable to the write path.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31829a
    
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
    Signed-off-by: David Chinner <david@fromorbit.com>

commit 8e5975c82f66bce36955f38e9abc259d5143a72a
Author: Christoph Hellwig <hch@infradead.org>
Date:   Wed Aug 13 16:45:13 2008 +1000

    [XFS] optimize xfs_ichgtime
    
    Port a little optmization from file_update_time to xfs_ichgtime, and only
    update the timestamp and mark the inode dirty if the timestamp actually
    changes in the timer tick resultion supported by the running kernel.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31827a
    
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit dff35fd41f252476cba7f761d7204dd9f47d739e
Author: Christoph Hellwig <hch@infradead.org>
Date:   Wed Aug 13 16:44:15 2008 +1000

    [XFS] update timestamp in xfs_ialloc manually
    
    In xfs_ialloc we just want to set all timestamps to the current time. We
    don't need to mark the inode dirty like xfs_ichgtime does, and we don't
    need nor want the opimizations in xfs_ichgtime that I will introduce in
    the next patch.
    
    So just opencode the timestamp update in xfs_ialloc, and remove the new
    unused XFS_ICHGTIME_ACC case in xfs_ichgtime.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31825a
    
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit ab4a9b04a33c97dd17495f943447f5a15ecf2b51
Author: David Chinner <david@fromorbit.com>
Date:   Wed Aug 13 16:42:10 2008 +1000

    [XFS] remove the sema_t from XFS.
    
    Now that all users of the sema_t are gone from XFS we can finally kill it.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31823a
    
    Signed-off-by: David Chinner <david@fromorbit.com>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit e1f49cf20cea18e3d1963939fe8612a75e319fbd
Author: David Chinner <david@fromorbit.com>
Date:   Wed Aug 13 16:41:43 2008 +1000

    [XFS] replace dquot flush semaphore with a completion
    
    Use the new completion flush code to implement the dquot flush lock.
    Removes one of the final users of semaphores in the XFS code base.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31822a
    
    Signed-off-by: David Chinner <david@fromorbit.com>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit c63942d3eeffb98219e05d0976862ab9907d297d
Author: David Chinner <david@fromorbit.com>
Date:   Wed Aug 13 16:41:16 2008 +1000

    [XFS] replace inode flush semaphore with a completion
    
    Use the new completion flush code to implement the inode flush lock.
    Removes one of the final users of semaphores in the XFS code base.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31817a
    
    Signed-off-by: David Chinner <david@fromorbit.com>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit 39d2f1ab2a36ac527a6c41cfe689f50c239eaca3
Author: David Chinner <david@fromorbit.com>
Date:   Wed Aug 13 16:40:43 2008 +1000

    [XFS] extend completions to provide XFS object flush requirements
    
    XFS object flushing doesn't quite match existing completion semantics.  It
    mixed exclusive access with completion.  That is, we need to mark an object as
    being flushed before flushing it to disk, and then block any other attempt to
    flush it until the completion occurs.  We do this but adding an extra count to
    the completion before we start using them.  However, we still need to
    determine if there is a completion in progress, and allow no-blocking attempts
    fo completions to decrement the count.
    
    To do this we introduce:
    
    int try_wait_for_completion(struct completion *x)
    	returns a failure status if done == 0, otherwise decrements done
    	to zero and returns a "started" status. This is provided
    	to allow counted completions to begin safely while holding
    	object locks in inverted order.
    
    int completion_done(struct completion *x)
    	returns 1 if there is no waiter, 0 if there is a waiter
    	(i.e. a completion in progress).
    
    This replaces the use of semaphores for providing this exclusion
    and completion mechanism.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31816a
    
    Signed-off-by: David Chinner <david@fromorbit.com>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit b4dd330b9e0c9c78ebff754e72563b148f05e9e0
Author: David Chinner <david@fromorbit.com>
Date:   Wed Aug 13 16:36:11 2008 +1000

    [XFS] replace the XFS buf iodone semaphore with a completion
    
    The xfs_buf_t b_iodonesema is really just a semaphore that wants to be a
    completion. Change it to a completion and remove the last user of the
    sema_t from XFS.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31815a
    
    Signed-off-by: David Chinner <david@fromorbit.com>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit 12017faf387437c01ff63bbe46b629550b15bd70
Author: David Chinner <david@fromorbit.com>
Date:   Wed Aug 13 16:34:31 2008 +1000

    [XFS] clean up stale references to semaphores
    
    A lot of code has been converted away from semaphores, but there are still
    comments that reference semaphore behaviour. The log code is the worst
    offender. Update the comments to reflect what the code really does now.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31814a
    
    Signed-off-by: David Chinner <david@fromorbit.com>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit 597bca6378e0273a5d16346c941cab1ec2e0116d
Author: Harvey Harrison <harvey.harrison@gmail.com>
Date:   Wed Aug 13 16:29:21 2008 +1000

    [XFS] use get_unaligned_* helpers
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31813a
    
    Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit d63f154a36c4ec7c2826874371887cecae375ebb
Author: Lachlan McIlroy <lachlan@sgi.com>
Date:   Wed Aug 13 16:28:40 2008 +1000

    [XFS] Fix compile failure in xfs_buf_trace()
    
    SGI-PV: 957103
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31804a
    
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit 169d6227a71da125913c69c381643a8ae89da62d
Author: Christoph Hellwig <hch@infradead.org>
Date:   Wed Aug 13 16:25:27 2008 +1000

    [XFS] Use the same btree_cur union member for alloc and inobt trees.
    
    The alloc and inobt btree use the same agbp/agno pair in the btree_cur
    union. Make them use the same bc_private.a union member so that code for
    these two short form btree implementations can be shared.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31788a
    
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Tim Shimmin <tes@sgi.com>
    Signed-off-by: David Chinner <david@fromorbit.com>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit cdcf43335cbb2380e533441e007e0c4ec42634d5
Author: Christoph Hellwig <hch@infradead.org>
Date:   Wed Aug 13 16:23:50 2008 +1000

    [XFS] small cleanups in xfs_btree.c
    
    Remove unneeded xfs_btree_get_block forward declaration. Move
    xfs_btree_firstrec next to xfs_btree_lastrec.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31787a
    
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Tim Shimmin <tes@sgi.com>
    Signed-off-by: David Chinner <david@fromorbit.com>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit 41be8bed1f3168f34386f3a15d63682cfd586b8e
Author: Christoph Hellwig <hch@infradead.org>
Date:   Wed Aug 13 16:23:13 2008 +1000

    [XFS] sanitize xfs_initialize_vnode
    
    Sanitize setting up the Linux indode.
    
    Setting up the xfs_inode <-> inode link is opencoded in xfs_iget_core now
    because that's the only place it needs to be done, xfs_initialize_vnode is
    renamed to xfs_setup_inode and loses all superflous paramaters. The check
    for I_NEW is removed because it always is true and the di_mode check moves
    into xfs_iget_core because it's only needed there.
    
    xfs_set_inodeops and xfs_revalidate_inode are merged into xfs_setup_inode
    and the whole things is moved into xfs_iops.c where it belongs.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31782a
    
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Niv Sardi <xaiki@sgi.com>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit 5ec7f8c7d14a3ea6bf920b3350f5c5d3527cb837
Author: Christoph Hellwig <hch@infradead.org>
Date:   Wed Aug 13 16:22:40 2008 +1000

    [XFS] kill bhv_vnode_t
    
    All remaining bhv_vnode_t instance are in code that's more or less Linux
    specific. (Well, for xfs_acl.c that could be argued, but that code is on
    the removal list, too). So just do an s/bhv_vnode_t/struct inode/ over the
    whole tree. We can clean up variable naming and some useless helpers
    later.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31781a
    
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit df80c933f9eb01a7af3812bbe437e38205386304
Author: Christoph Hellwig <hch@infradead.org>
Date:   Wed Aug 13 16:22:09 2008 +1000

    [XFS] remove some easy bhv_vnode_t instances
    
    In various places we can just move a VFS_I call into the argument list of
    called functions/macros instead of having a local bhv_vnode_t.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31776a
    
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit e1cccd917be7364f81b5dc4e33ee3a6e0db21a99
Author: Christoph Hellwig <hch@infradead.org>
Date:   Wed Aug 13 16:18:07 2008 +1000

    [XFS] kill xfs_lock_dir_and_entry
    
    When multiple inodes are locked in XFS it happens in order of the inode
    number, with the everything but the first inode trylocked if any of the
    previous inodes is in the AIL.
    
    Except for the sorting of the inodes this logic is implemented in
    xfs_lock_inodes, but also partially duplicated in xfs_lock_dir_and_entry
    in a particularly stupid way adds a lock roundtrip if the inode ordering
    is not optimal.
    
    This patch adds a new helper xfs_lock_two_inodes that takes two inodes and
    locks them in the most optimal way according to the above locking protocol
    and uses it for all places that want to lock two inodes.
    
    The only caller of xfs_lock_inodes is xfs_rename which might lock up to
    four inodes.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31772a
    
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Donald Douwsma <donaldd@sgi.com>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit 1550d0b0b08bc34c0c37a86bd884b1a70782104e
Author: Christoph Hellwig <hch@infradead.org>
Date:   Wed Aug 13 16:17:37 2008 +1000

    [XFS] kill INDUCE_IO_ERROR
    
    All the error injection is already enabled through ifdef DEBUG, so kill
    the never set second cpp symbol to activate it without the rest of the
    debugging infrastructure.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31771a
    
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Niv Sardi <xaiki@sgi.com>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit 907f49a8f552acc5d75635e86d567f05daf5c0d8
Author: Christoph Hellwig <hch@infradead.org>
Date:   Wed Aug 13 16:13:45 2008 +1000

    [XFS] implement IHOLD/IRELE directly
    
    Now that all direct calls to VN_HOLD/VN_RELE are gone we can implement
    IHOLD/IRELE directly.
    
    For the IHOLD case also replace igrab with a direct increment of i_count
    because we are guaranteed to already have a live and referenced inode by
    the VFS. Also remove the vn_hold statistic because it's been rather
    meaningless for some time with most references done by other callers.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31764a
    
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit 0b1f917730dc2276fadbd9813ac3666abd7b1cbd
Author: Christoph Hellwig <hch@infradead.org>
Date:   Wed Aug 13 16:13:09 2008 +1000

    [XFS] remove remaining VN_HOLD calls
    
    Use IHOLD(ip) instead of VN_HOLD(VFS_I(ip)).
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31765a
    
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit 604323ca760beebf00a07153706dcbe7128324e0
Author: Christoph Hellwig <hch@infradead.org>
Date:   Wed Aug 13 16:12:37 2008 +1000

    [XFS] remove spurious VN_HOLD/VN_RELE calls from xfs_acl.c
    
    All the ACL routines are called from inode operations which are guaranteed
    to have a referenced inode by the VFS, so there's no need for the ACL code
    to grab another temporary one.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31763a
    
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit 863890cd90e8b213f7028036c6e2200d93223527
Author: Christoph Hellwig <hch@infradead.org>
Date:   Wed Aug 13 16:12:05 2008 +1000

    [XFS] kill vn_to_inode
    
    bhv_vnode_t is just a typedef for struct inode, so there's
    no need for a helper to convert between the two.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31761a
    
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit a19d033cd2cc66120f01b370ec081d67b59b7924
Author: Christoph Hellwig <hch@infradead.org>
Date:   Wed Aug 13 16:11:26 2008 +1000

    [XFS] Remove vn_from_inode()
    
    bhv_vnode_t is just a typedef for struct inode, so there's
    no need for a helper to convert between the two.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31760a
    
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit 39dab9d7daf5f664a3569378107a2cb284c8a594
Author: Eric Sandeen <sandeen@sandeen.net>
Date:   Wed Aug 13 16:10:52 2008 +1000

    [XFS] remove shouting-indirection macros from xfs_trans.h
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31758a
    
    Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
    Signed-off-by: Niv Sardi <xaiki@sgi.com>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit db7a2c71d287686eef1d4df1565fa32f89a9fe68
Author: Eric Sandeen <sandeen@sandeen.net>
Date:   Wed Aug 13 16:09:25 2008 +1000

    [XFS] convert xfs to use ERR_CAST
    
    Looks like somehow xfs got missed in the conversion that took place in
    e231c2ee64eb1c5cd3c63c31da9dac7d888dcf7f, "Convert ERR_PTR(PTR_ERR(p))
    instances to ERR_CAST(p)
    <http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit
    diff;h=e231c2ee64eb1c5cd3c63c31da9dac7d888dcf7f>"
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31757a
    
    Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
    Acked-by: David Howells <dhowells@redhat.com>
    Signed-off-by: Niv Sardi <xaiki@sgi.com>
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: David Howells <dhowells@redhat.com>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit cdeb380aa2ca3b8f8ba3736f2469f5818eadb9aa
Author: Eric Sandeen <sandeen@sandeen.net>
Date:   Wed Aug 13 16:07:53 2008 +1000

    [XFS] remove INT_GET and friends
    
    Thanks to hch's endian work, INT_GET etc are no longer used, and may as
    well be removed. INT_SET is still used in the acl code, though.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31756a
    
    Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
    Signed-off-by: Niv Sardi <xaiki@sgi.com>
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit 322ff6b8cd54feb1c4c0426630f3642ab1dd2176
Author: Niv Sardi <xaiki@sgi.com>
Date:   Wed Aug 13 16:05:49 2008 +1000

    [XFS] Move xfs_attr_rolltrans to xfs_trans_roll
    
    Move it from the attr code to the transaction code and make
    the attr code call the new function.
    
    We rolltrans is really usefull whenever we want to use rolling
    transaction, should be generic, it isn't dependent on any part
    of the attr code anyway.
    
    We use this excuse to change all the:
    
    if ((error = xfs_attr_rolltrans()))
    
    calls into:
    
    error = xfs_trans_roll();
    
    if (error)
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31729a
    
    Signed-off-by: Niv Sardi <xaiki@sgi.com>
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit a738159df2b97398f960978272944cbdd8f726ef
Author: Christoph Hellwig <hch@infradead.org>
Date:   Wed Aug 13 16:04:05 2008 +1000

    [XFS] don't leak m_fsname/m_rtname/m_logname
    
    Add a helper to free the m_fsname/m_rtname/m_logname allocations and use
    it properly for all mount failure cases. Also switch the allocations for
    these to kstrdup while we're at it.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31728a
    
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Niv Sardi <xaiki@sgi.com>
    Signed-off-by: David Chinner <david@fromorbit.com>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit 5e9da7b7a1edfc75a839b0269935393fa347f38b
Author: Niv Sardi <xaiki@sgi.com>
Date:   Wed Aug 13 16:03:35 2008 +1000

    [XFS] Move attr log alloc size calculator to another function.
    
    We will need that to be able to calculate the size of log we need for a
    specific attr (for Create+EA). The local flag is needed so that we can
    fail if we run into ENOSPC when trying to alloc blocks.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31727a
    
    Signed-off-by: Niv Sardi <xaiki@sgi.com>
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Tim Shimmin <tes@sgi.com>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit 6785073ba138a2f0dc575c332c1812b713670b6a
Author: David Chinner <david@fromorbit.com>
Date:   Wed Aug 13 16:02:51 2008 +1000

    [XFS] Use KM_NOFS for incore inode extent tree allocation V2
    
    If we allow incore extent tree allocations to recurse into the
    filesystem under memory pressure, new delayed allocations through
    xfs_iomap_write_delay() can deadlock on themselves if memory
    reclaim tries to write back dirty pages from that inode.
    
    It will deadlock in xfs_iomap_write_allocate() trying to take the
    ilock we already hold. This can also show up as complex ABBA deadlocks
    when multiple threads are triggering memory reclaim when trying to
    allocate extents.
    
    The main cause of this is the fact that delayed allocation is not done in
    a transaction, so KM_NOFS is not automatically added to the allocations to
    prevent this recursion.
    
    Mark all allocations done for the incore inode extent tree as KM_NOFS to
    ensure they never recurse back into the filesystem.
    
    Version 2: o KM_NOFS implies KM_SLEEP, so just use KM_NOFS
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31726a
    
    Signed-off-by: David Chinner <david@fromorbit.com>
    Signed-off-by: Niv Sardi <xaiki@sgi.com>
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit e6064d30c3407db7f8c19d5538ec847b29e47e30
Author: David Chinner <david@fromorbit.com>
Date:   Wed Aug 13 16:01:45 2008 +1000

    [XFS] XFS: Kill xfs_vtoi()
    
    xfs_vtoi() is redundant and only unsed in small sections of code.
    Replace them with widely used XFS_I() inline and kill xfs_vtoi().
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31725a
    
    Signed-off-by: David Chinner <david@fromorbit.com>
    Signed-off-by: Niv Sardi <xaiki@sgi.com>
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit e4f7529108d01bf66af8ebecd6be2b98d8db30ce
Author: David Chinner <david@fromorbit.com>
Date:   Wed Aug 13 16:00:45 2008 +1000

    [XFS] Kill shouty XFS_ITOV() macro
    
    Replace XFS_ITOV() with the new VFS_I() inline.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31724a
    
    Signed-off-by: David Chinner <david@fromorbit.com>
    Signed-off-by: Niv Sardi <xaiki@sgi.com>
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit 705db4a24e0576f30d736de3c49623b4686ce473
Author: David Chinner <david@fromorbit.com>
Date:   Wed Aug 13 15:47:43 2008 +1000

    [XFS] kill shouty XFS_ITOV_NULL macro
    
    Replace XFS_ITOV_NULL() with the new VFS_I() inline.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31722a
    
    Signed-off-by: David Chinner <david@fromorbit.com>
    Signed-off-by: Niv Sardi <xaiki@sgi.com>
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit 016516462575d28fab3354f762cad16c86c09116
Author: David Chinner <david@fromorbit.com>
Date:   Wed Aug 13 15:45:15 2008 +1000

    [XFS] Avoid directly referencing the VFS inode.
    
    In several places we directly convert from the XFS inode
    to the linux (VFS) inode by a simple deference of ip->i_vnode.
    We should not do this - a helper function should be used to
    extract the VFS inode from the XFS inode.
    
    Introduce the function VFS_I() to extract the VFS inode
    from the XFS inode. The name was chosen to match XFS_I() which
    is used to extract the XFS inode from the VFS inode.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31720a
    
    Signed-off-by: David Chinner <david@fromorbit.com>
    Signed-off-by: Niv Sardi <xaiki@sgi.com>
    Signed-off-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit 3790689fa3c771bba6bafb7dee3e8389dd0b55bc
Author: Lachlan McIlroy <lachlan@sgi.com>
Date:   Wed Aug 13 15:42:10 2008 +1000

    [XFS] Do not access buffers after dropping reference count
    
    We should not access a buffer after dropping it's reference count
    otherwise we could race with another thread that releases the final
    reference count and frees the buffer causing us to access potentially
    unmapped memory. The bug this change fixes only occured on DEBUG XFS since
    the offending code was in an ASSERT.
    
    SGI-PV: 984429
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31715a
    
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
    Signed-off-by: David Chinner <david@fromorbit.com>

commit 79071eb0b2f142b9cc6531d04fa2915943938b5e
Author: David Chinner <david@fromorbit.com>
Date:   Wed Aug 13 15:41:12 2008 +1000

    [XFS] Use the generic bitops rather than implementing them ourselves.
    
    This keeps xfs_lowbit64 as it was since there aren't good generic helpers
    there ... Patch inspired by Andi Kleen.
    
    SGI-PV: 981498
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31472a
    
    Signed-off-by: David Chinner <david@fromorbit.com>
    Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
    Signed-off-by: Donald Douwsma <donaldd@sgi.com>
    Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>

commit 4f70f7a91bffdcc39f088748dc678953eb9a3fbd
Author: David S. Miller <davem@davemloft.net>
Date:   Tue Aug 12 18:33:56 2008 -0700

    sparc64: Implement IRQ stacks.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit e34456825de0d3ac4c4e8fe0bdc6b599404ea06f
Author: Stephen Rothwell <sfr@canb.auug.org.au>
Date:   Tue Aug 12 17:45:23 2008 -0700

    sparc: remove include of linux/of_device.h from asm/of_device.h
    
    Now that all the direct includes of asm/of_device.h are gone, this is
    safe to do.
    
    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit da1562af624cbf17935c7fded51466bb1a1b63a8
Author: Nicolas Pitre <nico@cam.org>
Date:   Tue Aug 12 17:13:19 2008 +0100

    [ARM] 5194/1: update .gitignore
    
    Signed-off-by: Nicolas Pitre <nico@marvell.com>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

commit 8a5544c887a8682e39c94061c58180e9c44b050b
Author: Russell King <rmk@dyn-67.arm.linux.org.uk>
Date:   Tue Aug 12 14:02:23 2008 +0100

    [ARM] add proc-macros.S include to proc-arm940 and proc-arm946
    
    ... otherwise these fail to build.
    
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

commit 61db7fb1c78c32b6abdc5c7965981de332aeaa5b
Author: Paul Walmsley <paul@pwsan.com>
Date:   Tue Aug 12 00:04:15 2008 +0100

    [ARM] 5192/1: ARM TLB: add v7wbi_{possible,always}_flags to {possible,always}_tlb_flags
    
    Commit 2ccdd1e77da52ad494e9af46bf272d816830cb28 doesn't add
    v7wbi_possible_flags and v7wbi_always_flags to possible_tlb_flags and
    always_tlb_flags.  This causes the L2 cache flush in clean_pmd_entry()
    (intended for Feroceon only) to execute on ARMv7, and the CPU hangs.
    
    This patch is required for OMAP3 boards to boot.
    
    Signed-off-by: Paul Walmsley <paul@pwsan.com>
    Acked-by: Lennert Buytenhek <buytenh@wantstofly.org>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

commit 751a8ae95d7ab951104bd1bb643e4b8c8ee5fc4d
Author: Stefan Schmidt <stefan@datenfreihafen.org>
Date:   Tue Aug 12 11:15:02 2008 +0100

    [ARM] 5193/1: Wire up missing syscalls
    
    Setup some missing syscall pointed out by the checksyscalls.sh script. Fix two
    small whitespace issues while being there.
    
    Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

commit b03a5b7559563dafdbe52f8b5d8e453a914db941
Author: Russell King <rmk@dyn-67.arm.linux.org.uk>
Date:   Mon Aug 11 12:27:16 2008 +0100

    [ARM] traps: don't call undef hook functions with spinlock held
    
    Calling the undefined instruction handler functions with a
    spinlock held is a recipe for must_sleep() warnings.  Avoid it.
    
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

commit f64c0accea433a83261afb81193412146cc0e569
Author: Dmitry Baryshkov <dbaryshkov@gmail.com>
Date:   Fri Aug 8 23:14:58 2008 +0100

    [ARM] 5183/2: Provide Poodle LoCoMo GPIO names
    
    Fix Poodle ASoC compilation by providing Poodle LoCoMo GPIO names.
    
    Cc: Richard Purdie <rpurdie@rpsys.net>
    Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
    Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

commit c7498081a6f5d96c9f3243b6b5e020352903bfd2
Author: David S. Miller <davem@davemloft.net>
Date:   Tue Aug 12 02:03:49 2008 -0700

    sparc64: Fix recursion in stack overflow detection handling.
    
    The calls down into prom_printf() when we detect an overflowed stack
    can recurse again since the overflow stack will be "below" the current
    kernel stack limit.
    
    Prevent this by just returning straight if we are on the stack
    overflow safe stack already.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 987c402ac31988f7ecdb38b657bcfeea5831d479
Author: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Date:   Mon Aug 11 18:17:17 2008 -0700

    skbuff: Code readability NiT
    
    Inserting a space between the `-' improved the C readability (some languages
    allow hyphens within functions and variable names, which is confusing).
    
    Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 1cfa26661a85549063e369e2b40275eeaa7b923c
Author: Jarek Poplawski <jarkao2@gmail.com>
Date:   Mon Aug 11 18:11:06 2008 -0700

    pkt_sched: Add BH protection for qdisc_stab_lock.
    
    Since qdisc_stab_lock is used in qdisc_put_stab(), which is called in
    BH context from __qdisc_destroy() RCU callback, softirq safe locking
    is needed.
    
    Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 0a37c10ed460872d41259659f7f589edebdc42b7
Merge: 37cc678... e93615d...
Author: David S. Miller <davem@davemloft.net>
Date:   Mon Aug 11 18:04:35 2008 -0700

    Merge branch 'stealer/ipvs/for-davem' of git://git.stealer.net/linux-2.6

commit 54b4602d5fe50571362e101138d24edb9cf82d29
Author: Steve French <sfrench@us.ibm.com>
Date:   Mon Aug 11 22:31:40 2008 +0000

    [CIFS] remove trailing whitespace
    
    Signed-off-by: Steve French <sfrench@us.ibm.com>

commit 2c731afb0d4ba16018b400c75665fbdb8feb2175
Author: Steve French <sfrench@us.ibm.com>
Date:   Mon Aug 11 22:28:53 2008 +0000

    [CIFS] if get root inode fails during mount, cleanup tree connection
    
    CC: Stable Kernel <stable@kernel.org>
    Signed-off-by: Steve French <sfrench@us.ibm.com>

commit 37cc6780170f6f4fc3f9746d6a9bb2da1d999d7b
Author: Simon Horman <horms@verge.net.au>
Date:   Mon Aug 11 14:33:40 2008 -0700

    ipvs: add lvs-devel as a list contact
    
    Signed-off-by: Simon Horman <horms@verge.net.au>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit c6ed413ddcfb66e9d3e1318060271391c7659dd3
Author: Stephen Rothwell <sfr@canb.auug.org.au>
Date:   Mon Aug 11 14:30:53 2008 -0700

    sparc/drivers: use linux/of_device.h instead of asm/of_device.h
    
    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit e93615d0866a974afc7148172f8382e2af48c985
Author: Simon Horman <horms@verge.net.au>
Date:   Mon Aug 11 17:19:14 2008 +1000

    ipvs: Explictly clear ip_vs_stats members
    
    In order to align the coding styles of ip_vs_zero_stats() and
    its child-function ip_vs_zero_estimator(), clear ip_vs_stats
    members explicitlty rather than doing a limited memset().
    
    This was chosen over modifying ip_vs_zero_estimator() to use
    memset() as it is more robust against changes in members
    in the relevant structures. memset() would be prefered if
    all members of the structure were to be cleared.
    
    Cc: Sven Wegener <sven.wegener@stealer.net>
    Signed-off-by: Simon Horman <horms@verge.net.au>
    Signed-off-by: Sven Wegener <sven.wegener@stealer.net>

commit 519e49e888458649dde453d36c08b7f3432525dc
Author: Sven Wegener <sven.wegener@stealer.net>
Date:   Sun Aug 10 18:24:41 2008 +0000

    ipvs: No need to zero out ip_vs_stats during initialization
    
    It's a global variable and automatically initialized to zero. And now we can
    also initialize the lock at compile time.
    
    Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
    Acked-by: Simon Horman <horms@verge.net.au>

commit 3a14a313f9b406c37ab7e3f855b060eb8587b8c7
Author: Sven Wegener <sven.wegener@stealer.net>
Date:   Sun Aug 10 18:24:41 2008 +0000

    ipvs: Embed estimator object into stats object
    
    There's no reason for dynamically allocating an estimator object for every
    stats object. Directly embed an estimator object into every stats object and
    switch to using the kernel-provided list implementation. This makes the code
    much simpler and faster, as we do not need to traverse the list of all
    estimators to find the one belonging to a stats object. There's no need to use
    an rwlock, as we only have one reader. Also reorder the members of the
    estimator structure slightly to avoid padding overhead. This can't be done
    with the stats object as the members are currently copied to our user space
    object via memcpy() and changing it would break ABI.
    
    Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
    Acked-by: Simon Horman <horms@verge.net.au>

commit 5587da55fbf332ab8d1b37637536f94bc373867f
Author: Sven Wegener <sven.wegener@stealer.net>
Date:   Sun Aug 10 18:24:40 2008 +0000

    ipvs: Mark net_vs_ctl_path const
    
    Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
    Acked-by: Simon Horman <horms@verge.net.au>

commit 048cf48b897bcae9e6fa8b46b6976dab5e710e3c
Author: Sven Wegener <sven.wegener@stealer.net>
Date:   Sun Aug 10 18:24:35 2008 +0000

    ipvs: Annotate init functions with __init
    
    Being able to discard these functions saves a couple of bytes at runtime. The
    cleanup functions can't be annotated with __exit as they are also called from
    init functions.
    
    Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
    Acked-by: Simon Horman <horms@verge.net.au>

commit d149ccc9cf85cdf089c1b2189ade111305712b0c
Author: Sven Wegener <sven.wegener@stealer.net>
Date:   Sun Aug 10 09:18:02 2008 +0000

    ipvs: Initialize schedulers' struct list_head at compile time
    
    No need to do it at runtime and this saves a couple of bytes in the text
    section.
    
    Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
    Acked-by: Simon Horman <horms@verge.net.au>

commit 66a0be47200fff30f8c482ea584052c6affb08cb
Author: Sven Wegener <sven.wegener@stealer.net>
Date:   Sun Aug 10 09:18:02 2008 +0000

    ipvs: Use list_empty() instead of open-coding the same functionality
    
    Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
    Acked-by: Simon Horman <horms@verge.net.au>

commit afdd614071aef652f5a3e2a06965de049dd8339b
Author: Sven Wegener <sven.wegener@stealer.net>
Date:   Sun Aug 10 09:18:01 2008 +0000

    ipvs: Use ARRAY_SIZE()
    
    Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
    Acked-by: Simon Horman <horms@verge.net.au>

commit 8ab19ea36c5c5340ff598e4d15fc084eb65671dc
Author: Sven Wegener <sven.wegener@stealer.net>
Date:   Sun Aug 10 09:17:59 2008 +0000

    ipvs: Fix possible deadlock in estimator code
    
    There is a slight chance for a deadlock in the estimator code. We can't call
    del_timer_sync() while holding our lock, as the timer might be active and
    spinning for the lock on another cpu. Work around this issue by using
    try_to_del_timer_sync() and releasing the lock. We could actually delete the
    timer outside of our lock, as the add and kill functions are only every called
    from userspace via [gs]etsockopt() and are serialized by a mutex, but better
    make this explicit.
    
    Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
    Cc: stable <stable@kernel.org>
    Acked-by: Simon Horman <horms@verge.net.au>

commit bc0fde2fad007a81ecffceb25a893a6c3f1ed767
Author: Sven Wegener <sven.wegener@stealer.net>
Date:   Sun Aug 10 09:14:05 2008 +0000

    ipvs: Fix possible deadlock in sync code
    
    Commit 998e7a76804b7a273a0460c2cdd5a51fa9856717 ("ipvs: Use kthread_run()
    instead of doing a double-fork via kernel_thread()") introduced a possible
    deadlock in the sync code. We need to use the _bh versions for the lock, as the
    lock is also accessed from a bottom half.
    
    Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
    Acked-by: Simon Horman <horms@verge.net.au>

commit cbbdece3048d0844b1cc6f4f8d18085e190721d7
Author: Andrew Morton <akpm@linux-foundation.org>
Date:   Sun Aug 10 23:06:25 2008 -0400

    Input: xilinx_ps2 - fix warning
    
    drivers/input/serio/xilinx_ps2.c:272: warning: cast from pointer
    to integer of different size
    
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

commit 9dd428680573d7867ee5e40fa3f059a98301d416
Author: Russell King <rmk@dyn-67.arm.linux.org.uk>
Date:   Sun Aug 10 12:18:26 2008 +0100

    [ARM] dma-mapping: provide sync_range APIs
    
    Convert the existing dma_sync_single_for_* APIs to the new range based
    APIs, and make the dma_sync_single_for_* API a superset of it.
    
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

commit 98ed7d4b1a4eebc1ac25929b6968673bef4d54c3
Author: Russell King <rmk@dyn-67.arm.linux.org.uk>
Date:   Sun Aug 10 12:10:49 2008 +0100

    [ARM] dma-mapping: improve type-safeness of DMA translations
    
    OMAP at least gets the return type(s) for the DMA translation functions
    wrong, which can lead to subtle errors.  Avoid this by moving the DMA
    translation functions to asm/dma-mapping.h, and converting them to
    inline functions.
    
    Fix the OMAP DMA translation macros to use the correct argument and
    result types.
    
    Also, remove the unnecessary casts in dmabounce.c.
    
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

commit b6b7922fbda63040946cac8251d5618ee7880e8a
Author: David S. Miller <davem@davemloft.net>
Date:   Sat Aug 9 16:25:26 2008 -0700

    sparc64: Don't MAGIC_SYSRQ ifdef smp_fetch_global_regs and support code.
    
    Based upon a report and initial patch by Friedrich Oslage.
    
    The intention is to provide this facility for
    __trigger_all_cpu_backtrace even if MAGIC_SYSRQ is not set.
    
    The only part that should have MAGIC_SYSRQ ifdef protection is the
    sparc_globalreg_op sysrq regitration and immediate code.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 492c71dd545a54dc62df8780bd8d233d771748df
Merge: f0af724... 18365d1...
Author: Russell King <rmk@dyn-67.arm.linux.org.uk>
Date:   Sat Aug 9 18:03:13 2008 +0100

    Merge branch 'for-rmk' of git://git.marvell.com/orion

commit 18365d181fe7fee8b52cd12482200d3a4c48d05e
Author: Lennert Buytenhek <buytenh@wantstofly.org>
Date:   Sat Aug 9 15:38:18 2008 +0200

    [ARM] Kirkwood: instantiate the orion_spi driver in the platform code
    
    Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>

commit 60296c71f6c5063e3c1f1d2619ca0b60940162e7
Author: Lennert Buytenhek <buytenh@wantstofly.org>
Date:   Tue Aug 5 01:56:13 2008 +0200

    [ARM] prevent crashing when too much RAM installed
    
    This patch will truncate and/or ignore memory banks if their kernel
    direct mappings would (partially) overlap with the vmalloc area or
    the mappings between the vmalloc area and the address space top, to
    prevent crashing during early boot if there happens to be more RAM
    installed than we are expecting.
    
    Since the start of the vmalloc area is not at a fixed address (but
    the vmalloc end address is, via the per-platform VMALLOC_END define),
    a default area of 128M is reserved for vmalloc mappings, which can
    be shrunk or enlarged by passing an appropriate vmalloc= command line
    option as it is done on x86.
    
    On a board with a 3:1 user:kernel split, VMALLOC_END at 0xfe000000,
    two 512M RAM banks and vmalloc=128M (the default), this patch gives:
    
    	Truncating RAM at 20000000-3fffffff to -35ffffff (vmalloc region overlap).
    	Memory: 512MB 352MB = 864MB total
    
    On a board with a 3:1 user:kernel split, VMALLOC_END at 0xfe800000,
    two 256M RAM banks and vmalloc=768M, this patch gives:
    
    	Truncating RAM at 00000000-0fffffff to -0e7fffff (vmalloc region overlap).
    	Ignoring RAM at 10000000-1fffffff (vmalloc region overlap).
    
    Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
    Tested-by: Riku Voipio <riku.voipio@iki.fi>

commit 09c0ed2e6eb87613b2670c15ba771ac671db19d9
Author: Saeed Bishara <saeed@marvell.com>
Date:   Mon Jun 23 04:26:07 2008 -1100

    [ARM] Kirkwood: Instantiate mv_xor driver
    
    Signed-off-by: Saeed Bishara <saeed@marvell.com>
    Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>

commit 1d5a1a6e92abb1ecb011a673e637146c4e232f1e
Author: Saeed Bishara <saeed@marvell.com>
Date:   Mon Jun 16 23:25:12 2008 -1100

    [ARM] Orion: Instantiate mv_xor driver for 5182
    
    Signed-off-by: Saeed Bishara <saeed@marvell.com>
    Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>

commit 3af6b0440f7b318af3f6a4c4ce251753377dba3a
Author: Martin Michlmayr <tbm@cyrius.com>
Date:   Thu Jul 31 07:38:24 2008 +0300

    [ARM] Orion: enable CONFIG_RTC_DRV_S35390A in the defconfg for QNAP devices
    
    The QNAP TS-109/TS-209 and TS-409 devices need RTC_DRV_S35390A.
    
    Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
    Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>

commit 627ca2fe93e7ef5e746c27f08a4f86cbc04dd915
Author: Martin Michlmayr <tbm@cyrius.com>
Date:   Sun Jul 13 15:59:00 2008 +0300

    [ARM] Orion: enable RTC_DRV_PCF8563 in the defconfig for HP mv2120
    
    Enable RTC_DRV_PCF8563 in the Orion defconfig since this driver is
    needed by the HP mv2120.
    
    Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
    Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>

commit 94434ba09add528dbd48b9765a31c86372f94dd0
Author: Martin Michlmayr <tbm@cyrius.com>
Date:   Sun Jul 13 16:53:31 2008 +0300

    [ARM] Orion: enable KEYBOARD_GPIO in the defconfg
    
    Enable KEYBOARD_GPIO in the Orion defconfig because a number of Orion
    devices, such as the HP mv2120, define gpio-keys buttons.
    
    Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
    Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>

commit 5cebbd09fc06f4159f10f9f86bbd1517ac0279a2
Author: Martin Michlmayr <tbm@cyrius.com>
Date:   Thu Jul 31 07:38:08 2008 +0300

    [ARM] Orion: Export the reset button of the QNAP TS-409
    
    The reset button on the QNAP TS-409 is available through gpio.
    
    Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
    Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>

commit 28ca8c802f71283d610656a207f3325c09e4585e
Author: Martin Michlmayr <tbm@cyrius.com>
Date:   Tue Jul 22 01:49:22 2008 +0300

    [ARM] Orion: use better key codes for the TS-209/TS-409 buttons
    
    Use key codes for the buttons on the TS-209/TS-409 that make more
    sense than the current values.
    
    Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
    Acked-by: Byron Bradley <byron.bbradley@gmail.com>
    Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>

commit 4a4e30afefbfd069ef09de3514cce4886e83ff10
Author: Martin Michlmayr <tbm@cyrius.com>
Date:   Mon Jul 21 19:58:48 2008 +0300

    [ARM] Orion: export red SATA lights on TS-409, fix SATA presence/activity
    
    Export the four red SATA LEDs on the QNAP TS-409 that are connected
    through gpio.  Since the boot loader apparently sets the SATA LEDs 2-4
    to red and the SATA LED can only be red or green (but not both),
    exporting the red SATA LEDs (which automatically turns them off upon
    boot) makes the green SATA presence/activity indication visible.
    
    Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
    Acked-by: Sylver Bruneau <sylver.bruneau@googlemail.com>
    Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>

commit ce72e36ed1a57ba086270039c7d6fac9bf1c5fbc
Author: Lennert Buytenhek <buytenh@wantstofly.org>
Date:   Sat Aug 9 15:17:27 2008 +0200

    [ARM] Orion: support D0 5281 silicon
    
    On D0 5281 SoCs, we need to disable the wait-for-interrupt
    instruction due to an erratum.
    
    Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
    Signed-off-by: Nicolas Pitre <nico@marvell.com>
    Acked-by: Martin Michlmayr <tbm@cyrius.com>

commit f0af7245f1725fdc39b32b59c20500448437ddbe
Merge: 796aade... f47c32f...
Author: Russell King <rmk@dyn-67.arm.linux.org.uk>
Date:   Sat Aug 9 14:09:32 2008 +0100

    Merge branch 'for-rmk' of git://aeryn.fluff.org.uk/bjdooks/linux

commit f47c32f3ae604669c3af0b7a07917270a235bd84
Author: Ben Dooks <ben-linux@fluff.org>
Date:   Fri Aug 8 21:22:40 2008 +0100

    [ARM] S3C24XX: Documentation: Update GPIO status
    
    Update the status of the S3C24XX GPIO now we have
    moved to supporting GPIOLIB
    
    Signed-off-by: Ben Dooks <ben-linux@fluff.org>

commit a0f774b59ee9e80d7423feba312c6132ca068e96
Author: Ben Dooks <ben-linux@fluff.org>
Date:   Fri Aug 8 21:22:39 2008 +0100

    [ARM] S3C24XX: Documentation: update SD/MMC status
    
    Update SD/MMC status now that the driver is merged.
    
    Signed-off-by: Ben Dooks <ben-linux@fluff.org>

commit bc4c7265a0876e84cedbbc76f517a702b6e133b4
Author: Ben Dooks <ben-linux@fluff.org>
Date:   Fri Aug 8 21:22:38 2008 +0100

    [ARM] S3C24XX: Documentation: Update suported CPU list
    
    Update supported and in-progress cpu list.
    
    Signed-off-by: Ben Dooks <ben-linux@fluff.org>

commit cbc212e877b37fff84fd4b7ad2c44e4cd1888c85
Author: Ben Dooks <ben-linux@fluff.org>
Date:   Fri Aug 8 21:22:37 2008 +0100

    [ARM] S3C24XX: Documentation: update platform docs
    
    Update documentation in arch/arm/plat-s3c24xx
    
    Signed-off-by: Ben Dooks <ben-linux@fluff.org>

commit ed414fb7b840b2ca8bf033efcd9fe9ea8d6fe800
Author: Ben Dooks <ben-linux@fluff.org>
Date:   Fri Aug 8 21:22:36 2008 +0100

    [ARM] S3C24XX: Fix section mismatch for s3c_lookup_cpu
    
    s3c_lookup_cpu is only used at init time, so make
    it __init.
    
    Signed-off-by: Ben Dooks <ben-linux@fluff.org>

commit e38d523fd0932a5d4ef2865360d8828efcf05392
Author: Ben Dooks <ben-linux@fluff.org>
Date:   Fri Aug 8 21:22:35 2008 +0100

    [ARM] CATS: Do not try and map bad PCI IRQ numbers
    
    The cats_map_irq() function in the Simtec CATS support
    code is mapping IRQ 255 (invalid IRQ) into what is a
    supposedly valid interrupt numner which can cause problems
    with other devices then seeing an interrupt they cannot
    claim.
    
    If the IRQ number if >= 255, then return -1 as this is not
    something we can map.
    
    Signed-off-by: Ben Dooks <ben-linux@fluff.org>

commit 29210475945f13c61a7994b54ccf37692a075aeb
Author: Huang Weiyi <weiyi.huang@gmail.com>
Date:   Fri Aug 8 21:22:34 2008 +0100

    [ARM] JIVE: Remove duplicated mtd includes
    
    Removed duplicated include file <linux/mtd/mtd.h> and <linux/mtd/partitions.h>
    in arch/arm/mach-s3c2412/mach-jive.c.
    
    Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com>
    Signed-off-by: Ben Dooks <ben-linux@fluff.org>

commit 631c9a8a79b9b94eef56afa3bff107ce27c4c2bb
Author: Krzysztof Helt <krzysztof.h1@wp.pl>
Date:   Fri Aug 8 21:34:10 2008 +0100

    [ARM] S3C24XX: Compilation fix if s3c2410 is not selected
    
    This patch fixes compilation error if no s3c2410 processor is selected
    but the s3c244x is selected. The function s3c2410_baseclk_add() is now
    available for all Samsung cpus.
    
    Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
    [ben-linux@fluff.org: Whitespace and description fixups]
    Signed-off-by: Ben Dooks <ben-linux@fluff.org>

commit 6f088f1d215be5250582b974f83f0e3aa6ad3a28
Author: Lennert Buytenhek <buytenh@wantstofly.org>
Date:   Sat Aug 9 13:44:58 2008 +0200

    [ARM] Move include/asm-arm/plat-orion to arch/arm/plat-orion/include/plat
    
    This patch performs the equivalent include directory shuffle for
    plat-orion, and fixes up all users.
    
    Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>

commit d97106ea52aa57e63ff40d04479016836bbb5a4e
Author: Herbert Xu <herbert@gondor.apana.org.au>
Date:   Sat Aug 9 00:35:05 2008 -0700

    udp: Drop socket lock for encapsulated packets
    
    The socket lock is there to protect the normal UDP receive path.
    Encapsulation UDP sockets don't need that protection.  In fact
    the locking is deadly for them as they may contain another UDP
    packet within, possibly with the same addresses.
    
    Also the nested bit was copied from TCP.  TCP needs it because
    of accept(2) spawning sockets.  This simply doesn't apply to UDP
    so I've removed it.
    
    Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 8123b421e8ed944671d7241323ed3198cccb4041
Author: David S. Miller <davem@davemloft.net>
Date:   Fri Aug 8 23:23:39 2008 -0700

    pkt_sched: Fix ingress deletion and filter attachment.
    
    Based upon bug reports by Stephen Hemminger.
    
    We still had some cases using ->qdisc instead of ->qdisc_sleeping.
    
    Also, qdisc_lookup() should return ingress qdiscs.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>

commit 88da765f4d5f59f67a7a51c8f5d608a836b32133
Author: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date:   Fri Aug 8 14:59:32 2008 -0400

    Input: bcm5974 - implement autosuspend support
    
    Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

commit f89bd95c5c946776f116ffeb997653d4193d6a35
Author: Henrik Rydberg <rydberg@euromail.se>
Date:   Fri Aug 8 14:59:30 2008 -0400

    Input: bcm5974 - add driver for Macbook Air and Pro Penryn touchpads
    
    This driver adds support for the multitouch trackpad on the new
    Apple Macbook Air and Macbook Pro Penryn laptops. It replaces the
    appletouch driver on those computers, and integrates well with the
    synaptics driver of the Xorg system.
    
    [dtor@mail.ru: various cleanups]
    Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
    Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

commit e4ddcb0a6bf04d53ce77b4eb87bbbb32c4261d11
Merge: f2afa77... 6e86841...
Author: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date:   Fri Aug 8 16:21:02 2008 -0400

    Merge commit 'v2.6.27-rc1' into for-linus

commit af7a535688a758d15f06a98833e6a143b29af9de
Merge: 0c17e4c... c41107c...
Author: Ben Dooks <ben-linux@fluff.org>
Date:   Fri Aug 8 21:10:12 2008 +0100

    Merge http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm into for-rmk

commit f2afa7711f8585ffc088ba538b9a510e0d5dca12
Author: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date:   Fri Aug 8 11:46:53 2008 -0400

    Input: paper over a bug in Synaptics X driver
    
    Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

commit 5402a7349d26875f69c184badf87b88541b1cf6c
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Tue Aug 5 11:42:42 2008 -0400

    Input: evdev - split EVIOCGBIT handlig into a separate function
    
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

commit 56ac36d722d0d27c03599d1245ac0ab59e474e5c
Author: Dan Williams <dan.j.williams@intel.com>
Date:   Thu Aug 7 10:02:47 2008 -0700

    md: cancel check/repair requests when recovery is needed
    
    If a 'repair' is requested when an array is in a position to 'recover' raid1
    will perform the repair while md believes a recovery is happening.  Address
    this at both ends, i.e. cancel check/repair requests upon detecting a
    recover condition and do not call ->spare_active after completing a
    check/repair.
    
    Signed-off-by: Dan Williams <dan.j.williams@intel.com>

commit 8e4ae1017a555662d698ea4616dcfe71b17d3732
Author: Carlos Corbacho <carlos@strangeworlds.co.uk>
Date:   Wed Aug 6 14:28:43 2008 -0400

    Input: i8042 - Add Dritek quirk for Acer TravelMate 4280
    
    Reported-by: Mattias Jernberg <nostrad@gmail.com>
    Signed-off-by: Carlos Corbacho <carlos@strangeworlds.co.uk>
    Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

commit d3d0ac23a308f92fc5e5e2846ca40e7bffa5cec3
Author: Robin Getz <rgetz@blackfin.uclinux.org>
Date:   Wed Aug 6 17:49:27 2008 +0800

    Blackfin arch: Fix bug - when expanding the trace buffer, it does not print out the decoded instruction.
    
    as pointed out by Michael McTernan in the forums, when expanding
    the trace buffer, it does not print out the decoded instruction.
    
    Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit 56f5f59052bb662a77d5ffd6cbe5861a2ef2407c
Author: Michael Hennerich <michael.hennerich@analog.com>
Date:   Wed Aug 6 17:55:32 2008 +0800

    Blackfin arch: Fix Bug - System with EMAC driver enabled - Core not idling
    
     - Disable all bits in SIC_IWR unless we are going into a real (DPMC)
       power saving mode. Any Interrupt can wake the core form it's idle state.
    
     - Remove deep sleep mode as it is not going to be used anywhere:
       We support sleep, sleep deeper and hibernate.
    
    Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit 15b07536892284449ac5cd9488a8da1054b4295b
Author: Mike Frysinger <vapier.adi@gmail.com>
Date:   Wed Aug 13 16:19:36 2008 +0800

    Blackfin arch: delete unused cache functions
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit 07aa7be5708afb3d9afa68f6f853c98e51bc64b3
Author: Mike Frysinger <vapier.adi@gmail.com>
Date:   Wed Aug 13 16:16:11 2008 +0800

    Blackfin arch: convert L2 defines to be the same as the L1 defines
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit 17e89bcfa12f71b840361da07fe6c2f9c48d0605
Author: Mike Frysinger <vapier.adi@gmail.com>
Date:   Wed Aug 6 17:23:50 2008 +0800

    Blackfin arch: unify the duplicated portions of __start and split mach-specific pieces into _mach_early_start where they will be easier to trim over time
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit 67618fd8748a5d83f6bdcd578c8e748c3f47c4d4
Author: Mike Frysinger <vapier.adi@gmail.com>
Date:   Wed Aug 6 17:18:31 2008 +0800

    Blackfin arch: add asm/thread_info.h for THREAD_SIZE define
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit 7e64acabfdb530b1b7d3db2592d75d102827baf3
Author: Mike Frysinger <vapier.adi@gmail.com>
Date:   Wed Aug 6 17:17:10 2008 +0800

    Blackfin arch: move async memory programming into common setup_arch() as the banks dont really need to be setup fully as early as head.S
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit 1375204611f417541e55ee09e248acdbbb94356d
Author: Mike Frysinger <vapier.adi@gmail.com>
Date:   Wed Aug 6 17:10:57 2008 +0800

    Blackfin arch: make sure the BSS and kernel load address are 4 byte aligned
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit 09e1f70e31ed6ca23dd42feb10aa104fc1b04c40
Author: Mike Frysinger <vapier.adi@gmail.com>
Date:   Wed Aug 6 17:15:27 2008 +0800

    Blackfin arch: unify the duplicated _real_start functions
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit 778307d372555f979cf6cef112a6d7fbff056cd9
Author: Mike Frysinger <vapier.adi@gmail.com>
Date:   Wed Aug 6 17:05:20 2008 +0800

    Blackfin arch: remove support for Anomaly 05000125 as it doesnt exist on any supported processor/silicon
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit d6a29891369827317659b7833170d2f5f0c7b97f
Author: Sonic Zhang <sonic.zhang@analog.com>
Date:   Tue Aug 5 18:28:26 2008 +0800

    Blackfin arch: Fix bugs - Make kgdb code apparent to app debugging.
    
     - Skip single step if global interrupt disable bit is set.
     - Extend bernds' patch r4673 to skip single step in any interrupt entry
       that interrupts the code which is under single stepping. Bernds' patch
       only allow user space single stepping.
    
    Singed-off-by: Sonic Zhang <sonic.zhang@analog.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit fe5aeb93024791a5aa69741015db33093198ff47
Author: Mike Frysinger <vapier.adi@gmail.com>
Date:   Tue Aug 5 18:29:56 2008 +0800

    Blackfin arch: use symbolic IRQ_PF define rather than hardcoded
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit 908089118dd5b20c6694e9543fccd9b2490b1c6b
Author: Mike Frysinger <vapier.adi@gmail.com>
Date:   Tue Aug 5 18:41:20 2008 +0800

    Blackfin arch: remove pata resources from generic board
    
    these are highly board specific, so putting into generic doesnt make much sense
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit b9da3b9240f175a29274abb8a94d962b67bbabf6
Author: Mike Frysinger <vapier.adi@gmail.com>
Date:   Wed Aug 13 15:49:35 2008 +0800

    Blackfin arch: add support for board tcm-bf537
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit 8ea8949733e35597efa45e71c0d3d65cafd7687a
Author: Mike Frysinger <vapier.adi@gmail.com>
Date:   Tue Aug 5 18:14:44 2008 +0800

    Blackfin arch: add board resources for parallel flash on cm-bf537
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit aa5829776347dbd9eeb461f650c1d085cf463a83
Author: Robin Getz <rgetz@blackfin.uclinux.org>
Date:   Tue Aug 5 17:47:29 2008 +0800

    Blackfin arch: be consistant with parition names, and ensure the bus is identified
    
    Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit 4a88d0ce494034fbb8dd0076d80e71b38abf5748
Author: Michael Hennerich <michael.hennerich@analog.com>
Date:   Tue Aug 5 17:38:41 2008 +0800

    Blackfin arch: Functional power management support
    
    Merge VR Regulator Hibernate wakeups into set_irq_wake for internal
    interrupts.
    
    Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit 5400c5aa2de41501be7529831c9df36c729bf371
Author: Jie Zhang <jie.zhang@analog.com>
Date:   Tue Aug 5 17:33:38 2008 +0800

    Blackfin arch: Fix bug - This change eliminates impact on application debugging
    
    Signed-off-by: Jie Zhang <jie.zhang@analog.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit 0f0625d895bc5b3c3d7352486a94e5a75f10fd35
Author: Mike Frysinger <vapier.adi@gmail.com>
Date:   Tue Aug 5 17:10:58 2008 +0800

    Blackfin arch: remove useless mtd defines in uClinux
    
    dont bother protecting the mtd defines as anything that incorrectly
    uses it will get an error during link time anyways ... this prevents
    large pointless rebuilds of most files whenever the uclinux mtd map changes state
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>

commit 0310fa216decc3ecfab41f327638fa48a81f3735
Author: NeilBrown <neilb@suse.de>
Date:   Tue Aug 5 15:54:14 2008 +1000

    Allow raid10 resync to happening in larger chunks.
    
    The raid10 resync/recovery code currently limits the amount of
    in-flight resync IO to 2Meg.  This was copied from raid1 where
    it seems quite adequate.  However for raid10, some layouts require
    a bit of seeking to perform a resync, and allowing a larger buffer
    size means that the seeking can be significantly reduced.
    
    There is probably no real need to limit the amount of in-flight
    IO at all.  Any shortage of memory will naturally reduce the
    amount of buffer space available down to a set minimum, and any
    concurrent normal IO will quickly cause resync IO to back off.
    
    The only problem would be that normal IO has to wait for all resync IO
    to finish, so a very large amount of resync IO could cause unpleasant
    latency when normal IO starts up.
    
    So: increase RESYNC_DEPTH to allow 32Meg of buffer (if memory is
    available) which seems to be a good amount.  Also reduce the amount
    of memory reserved as there is no need to keep 2Meg just for resync if
    memory is tight.
    
    Thanks to Keld for the suggestion.
    
    Cc: Keld Jørn Simonsen <keld@dkuug.dk>
    Signed-off-by: NeilBrown <neilb@suse.de>

commit c89a8eee61540df04fc83f32f51ef0f46ec018b1
Author: NeilBrown <neilb@suse.de>
Date:   Tue Aug 5 15:54:13 2008 +1000

    Allow faulty devices to be removed from a readonly array.
    
    Removing faulty devices from an array is a two stage process.
    First the device is moved from being a part of the active array
    to being similar to a spare device.  Then it can be removed
    by a request from user space.
    
    The first step is currently not performed for read-only arrays,
    so the second step can never succeed.
    
    So allow readonly arrays to remove failed devices (which aren't
    blocked).
    
    Signed-off-by: NeilBrown <neilb@suse.de>

commit ac4090d24c6a26211bc4523d920376e054d4f3f8
Author: NeilBrown <neilb@suse.de>
Date:   Tue Aug 5 15:54:13 2008 +1000

    Don't let a blocked_rdev interfere with read request in raid5/6
    
    When we have externally managed metadata, we need to mark a failed
    device as 'Blocked' and not allow any writes until that device
    have been marked as faulty in the metadata and the Blocked flag has
    been removed.
    
    However it is perfectly OK to allow read requests when there is a
    Blocked device, and with a readonly array, there may not be any
    metadata-handler watching for blocked devices.
    
    So in raid5/raid6 only allow a Blocked device to interfere with
    Write request or resync.  Read requests go through untouched.
    
    raid1 and raid10 already differentiate between read and write
    properly.
    
    Signed-off-by: NeilBrown <neilb@suse.de>

commit dba034eef2456d2a9f9a76806846c97acf6c3ad1
Author: NeilBrown <neilb@suse.de>
Date:   Tue Aug 5 15:54:13 2008 +1000

    Fail safely when trying to grow an array with a write-intent bitmap.
    
    We cannot currently change the size of a write-intent bitmap.
    So if we change the size of an array which has such a bitmap, it
    tries to set bits beyond the end of the bitmap.
    
    For now, simply reject any request to change the size of an array
    which has a bitmap.  mdadm can remove the bitmap and add a new one
    after the array has changed size.
    
    Signed-off-by: NeilBrown <neilb@suse.de>

commit 2b25000bf5157c28d8591f03f0575248a8cbd900
Author: NeilBrown <neilb@suse.de>
Date:   Tue Aug 5 15:54:13 2008 +1000

    Restore force switch of md array to readonly at reboot time.
    
    A recent patch allowed do_md_stop to know whether it was being called
    via an ioctl or not, and thus where to allow for an extra open file
    descriptor when checking if it is in use.
    This broke then switch to readonly performed by the shutdown notifier,
    which needs to work even when the array is still (apparently) active
    (as md doesn't get told when the filesystem becomes readonly).
    
    So restore this feature by pretending that there can be lots of
    file descriptors open, but we still want do_md_stop to switch to
    readonly.
    
    Signed-off-by: NeilBrown <neilb@suse.de>

commit 19052c0e85a3e9d3b7d190b29fcdbf0e6c105381
Author: NeilBrown <neilb@suse.de>
Date:   Tue Aug 5 15:54:13 2008 +1000

    Make writes to md/safe_mode_delay immediately effective.
    
    If we reduce the 'safe_mode_delay', it could still wait for the old
    delay to completely expire before doing anything about safe_mode.
    Thus the effect if the change is delayed.
    
    To make the effect more immediate, run the timeout function
    immediately if the delay was reduced.  This may cause it to run
    slightly earlier that required, but that is the safer option.
    
    Signed-off-by: NeilBrown <neilb@suse.de>

commit d488d3ed009ab16eeda230cd1d42e394e868f32a
Author: Harley Laue <losinggeneration@gmail.com>
Date:   Wed Jul 30 10:46:39 2008 -0400

    Input: xpad - add Pelican Eclipse D-Pad to the list of devices
    
    Signed-off-by: Harley Laue <losinggeneration@gmail.com>
    Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

commit 9b07044cd8bd15fb5991e9b27136979a43538636
Author: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Date:   Wed Jul 30 10:34:02 2008 -0400

    Input: gpio-keys - make gpio_keys_device_driver static
    
    This fixes the sparse warning
    
    	symbol 'gpio_keys_device_driver' was not declared. Should it be static?
    
    Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
    Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

commit 74dd4393445ba37b79041d92de6ff7e7b68a4aec
Author: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Date:   Wed Jul 30 10:33:43 2008 -0400

    Input: gpio-keys - fix possible NULL pointer dereference
    
    bdata->button is used in gpio_check_button but never initialized.  Having a
    device with debounce_interval != 0 without this patch resulted on an oops on
    my machine.
    
    Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
    Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

commit 558a171d778293176bf70bc34e18a92faef5bfa1
Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
Date:   Tue Jul 29 01:14:59 2008 -0400

    Input: wm97xx - enable sub-drivers by default
    
    Currently the support for each WM97xx touchscreen model is compiled out
    by default, meaning that the default configuration when the driver is
    built is for it to support no hardware.  This is suboptimal and leads to
    problems like distribution kernels shipping a non-functional driver.
    
    Change the default to support all controllers and update the help text
    to reflect this.
    
    Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
    Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

commit 6ffac1e90a17ea0aded5c581204397421eec91b6
Author: Suresh Siddha <suresh.b.siddha@intel.com>
Date:   Thu Jul 24 18:07:56 2008 -0700

    x64, fpu: fix possible FPU leakage in error conditions
    
    On Thu, Jul 24, 2008 at 03:43:44PM -0700, Linus Torvalds wrote:
    > So how about this patch as a starting point? This is the RightThing(tm) to
    > do regardless, and if it then makes it easier to do some other cleanups,
    > we should do it first. What do you think?
    
    restore_fpu_checking() calls init_fpu() in error conditions.
    
    While this is wrong(as our main intention is to clear the fpu state of
    the thread), this was benign before commit 92d140e21f1 ("x86: fix taking
    DNA during 64bit sigreturn").
    
    Post commit 92d140e21f1, live FPU registers may not belong to this
    process at this error scenario.
    
    In the error condition for restore_fpu_checking() (especially during the
    64bit signal return), we are doing init_fpu(), which saves the live FPU
    register state (possibly belonging to some other process context) into
    the thread struct (through unlazy_fpu() in init_fpu()). This is wrong
    and can leak the FPU data.
    
    For the signal handler restore error condition in restore_i387(), clear
    the fpu state present in the thread struct(before ultimately sending a
    SIGSEGV for badframe).
    
    For the paranoid error condition check in math_state_restore(), send a
    SIGSEGV, if we fail to restore the state.
    
    Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
    Cc: <stable@kernel.org>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

commit 0c17e4ceedd35c78b1c7413dbd16279a350be6bc
Merge: 19c1d6a... b9d2252...
Author: Ben Dooks <ben-linux@fluff.org>
Date:   Tue Jul 15 20:19:14 2008 +0100

    Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into for-rmk

commit 19c1d6a34abf73d0baf8e325d018c920fa78dddc
Author: Arnaud Patard (Rtp <arnaud.patard@rtp-net.org>
Date:   Tue Jul 8 01:03:46 2008 +0200

    [ARM] S3C24XX: Fix SERIAL_SAMSUNG entry
    
    The SERIAL_SAMSUNG needs SERIAL_CORE but doesn't select it, leading to a
    build failure. Adding a 'select SERIAL_CORE' cure the trouble.
    
    Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
    Signed-off-by: Ben Dooks <ben-linux@fluff.org>

commit 2bc7509f62da572925ef33365d4fc16f8b4abdd4
Author: Ben Dooks <ben-linux@fluff.org>
Date:   Tue Jul 15 17:17:48 2008 +0100

    [ARM] S3C24XX: s3c243xx_clock_register() data can be __initdata
    
    Any data being passed to s3c243xx_clock_register() can be
    marked as __initdata as it is an array of pointers to
    'struct clk' that are to be registered on initialisation.
    
    The s3c243xx_clock_register function uses this array to
    register clocks and does not require it to stay around
    after exit.
    
    Signed-off-by: Ben Dooks <ben-linux@fluff.org>