Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v2.6.30-rc1-gi…
Commits on Apr 9, 2009
  1. @torvalds

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-f…

    torvalds authored
    …or-linus
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
      work_on_cpu(): rewrite it to create a kernel thread on demand
      kthread: move sched-realeted initialization from kthreadd context
      kthread: Don't looking for a task in create_kthread() #2
  2. @torvalds

    Merge git://git.infradead.org/battery-2.6

    torvalds authored
    * git://git.infradead.org/battery-2.6:
      pda_power: Add optional OTG transceiver and voltage regulator support
      pcf50633_charger: Remove unused mbc_set_status function
      pcf50633_charger: Enable periodic charging restart
  3. @torvalds

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    torvalds authored
    …/git/jmorris/security-testing-2.6
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6:
      cap_prctl: don't set error to 0 at 'no_change'
  4. @torvalds

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6

    torvalds authored
    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
      igb: remove sysfs entry that was used to set the number of vfs
      igbvf: add new driver to support 82576 virtual functions
      drivers/net/eql.c: Fix a dev leakage.
      niu: Fix unused variable warning.
      r6040: set MODULE_VERSION
      bnx2: Don't use reserved names
      FEC driver: add missing #endif
      niu: Fix error handling
      mv643xx_eth: don't reset the rx coal timer on interface up
      smsc911x: correct debugging message on mii read timeout
      ethoc: fix library build errors
      netfilter: ctnetlink: fix regression in expectation handling
      netfilter: fix selection of "LED" target in netfilter
      netfilter: ip6tables regression fix
  5. @torvalds

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6

    torvalds authored
    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
      sparc: Hook up sys_preadv and sys_pwritev
      sparc64: add_node_ranges() must be __init
      serial: sunsu: sunsu_kbd_ms_init needs to be __devinit
      sparc: Fix section mismatch warnings in cs4231 sound driver.
      sparc64: Fix section mismatch warnings in PCI controller drivers.
      sparc64: Fix section mismatch warnings in power driver.
      sparc64: get_cells() can't be marked __init
  6. @torvalds

    Merge branch 'ext3-latency-fixes' of git://git.kernel.org/pub/scm/lin…

    torvalds authored
    …ux/kernel/git/tytso/ext4
    
    * 'ext3-latency-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
      ext3: Try to avoid starting a transaction in writepage for data=writepage
      block_write_full_page: switch synchronous writes to use WRITE_SYNC_PLUG
  7. @rustyrussell

    work_on_cpu(): rewrite it to create a kernel thread on demand

    Andrew Morton authored rustyrussell committed
    Impact: circular locking bugfix
    
    The various implemetnations and proposed implemetnations of work_on_cpu()
    are vulnerable to various deadlocks because they all used queues of some
    form.
    
    Unrelated pieces of kernel code thus gained dependencies wherein if one
    work_on_cpu() caller holds a lock which some other work_on_cpu() callback
    also takes, the kernel could rarely deadlock.
    
    Fix this by creating a short-lived kernel thread for each work_on_cpu()
    invokation.
    
    This is not terribly fast, but the only current caller of work_on_cpu() is
    pci_call_probe().
    
    It would be nice to find some other way of doing the node-local
    allocations in the PCI probe code so that we can zap work_on_cpu()
    altogether.  The code there is rather nasty.  I can't think of anything
    simple at this time...
    
    Cc: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
  8. @utrace @rustyrussell

    kthread: move sched-realeted initialization from kthreadd context

    utrace authored rustyrussell committed
    kthreadd is the single thread which implements ths "create" request, move
    sched_setscheduler/etc from create_kthread() to kthread_create() to
    improve the scalability.
    
    We should be careful with sched_setscheduler(), use _nochek helper.
    
    Signed-off-by: Oleg Nesterov <oleg@redhat.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: "Eric W. Biederman" <ebiederm@xmission.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Pavel Emelyanov <xemul@openvz.org>
    Cc: Vitaliy Gusev <vgusev@openvz.org
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
  9. @rustyrussell

    kthread: Don't looking for a task in create_kthread() #2

    Vitaliy Gusev authored rustyrussell committed
    Remove the unnecessary find_task_by_pid_ns(). kthread() can just
    use "current" to get the same result.
    
    Signed-off-by: Vitaliy Gusev <vgusev@openvz.org>
    Acked-by: Oleg Nesterov <oleg@redhat.com>
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Commits on Apr 8, 2009
  1. cap_prctl: don't set error to 0 at 'no_change'

    Serge E. Hallyn authored James Morris committed
    One-liner: capsh --print is broken without this patch.
    
    In certain cases, cap_prctl returns error > 0 for success.  However,
    the 'no_change' label was always setting error to 0.  As a result,
    for example, 'prctl(CAP_BSET_READ, N)' would always return 0.
    It should return 1 if a process has N in its bounding set (as
    by default it does).
    
    I'm keeping the no_change label even though it's now functionally
    the same as 'error'.
    
    Signed-off-by: Serge Hallyn <serue@us.ibm.com>
    Acked-by: David Howells <dhowells@redhat.com>
    Signed-off-by: James Morris <jmorris@namei.org>
  2. @davem330

    igb: remove sysfs entry that was used to set the number of vfs

    Alexander Duyck authored davem330 committed
    This patch removes the sysfs entry num_vfs which was added to support
    enabling pci virtual functions for 82576.
    
    To prevent VFs from loading automatically a module parameter "max_vfs" was
    added so that the number of VFs per PF can be limited.  This is especially
    useful when 4 or more 82576 ports are on the system because otherwise to
    load all VFs would result in 8 interface per physical port.
    
    Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
    Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  3. @davem330

    igbvf: add new driver to support 82576 virtual functions

    Alexander Duyck authored davem330 committed
    This adds an igbvf driver to handle virtual functions provided by the
    igb driver when SR-IOV has been enabled.  A virtual function is a
    lightweight pci-e function that supports a single queue and shares
    resources with the 82576 physical function contained within the igb
    driver.
    
    To spawn virtual functions from the igb driver all that is needed is to
    enable CONFIG_PCI_IOV and have an 82576 Ethernet adapter on a system that
    supports SR-IOV in the BIOS.  The virtual functions will appear after the
    interface is loaded.
    
    Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
    Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  4. @macrosheep @davem330

    drivers/net/eql.c: Fix a dev leakage.

    macrosheep authored davem330 committed
    After dev_get_by_name(), we should follow a dev_put().
    
    Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  5. @davem330

    niu: Fix unused variable warning.

    davem330 authored
    Don't strain gcc's tiny mind.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
  6. @ffainelli @davem330

    r6040: set MODULE_VERSION

    ffainelli authored davem330 committed
    This patch sets MODULE_VERSION in order to help users track
    changes to this module.
    
    Signed-off-by: Florian Fainelli <florian@openwrt.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  7. @davem330

    bnx2: Don't use reserved names

    Bastian Blank authored davem330 committed
    The mips identifier is reserved by gcc on mips plattforms. Don't use it
    in the code.
    
    Signed-off-by: Bastian Blank <waldi@debian.org>
    Tested-by: Martin Michlmayr <tbm@cyrius.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  8. @davem330

    FEC driver: add missing #endif

    Sascha Hauer authored davem330 committed
    Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  9. @error27 @davem330

    niu: Fix error handling

    error27 authored davem330 committed
    platform_device_register_simple() returns ERR_PTR(), not NULL, if an error 
    occurs.
    
    Found by smatch (http://repo.or.cz/w/smatch.git).  Compile tested.
    
    Signed-off-by: Dan Carpenter <error27@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  10. @davem330

    mv643xx_eth: don't reset the rx coal timer on interface up

    Lennert Buytenhek authored davem330 committed
    Move SDMA configuration from interface up to port probe, to prevent
    overwriting the receive coalescing timer value on interface up.
    
    Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  11. @davem330

    smsc911x: correct debugging message on mii read timeout

    Steve Glendinning authored davem330 committed
    the warning printed when a mii READ times out currently says "Timed out
    waiting for MII write to finish".  This patch corrects this.
    
    Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  12. @davem330

    ethoc: fix library build errors

    Randy Dunlap authored davem330 committed
    ethoc indirectly uses crc32_le() and bitrev32(), so select
    those library functions to be built.
    
    drivers/built-in.o: In function `ethoc_set_multicast_list':
    ethoc.c:(.text+0x6226f): undefined reference to `crc32_le'
    ethoc.c:(.text+0x62276): undefined reference to `bitrev32'
    
    Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  13. @torvalds

    Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/g…

    torvalds authored
    …it/aegl/linux-2.6
    
    * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
      [IA64] wire up preadv/pwritev system calls
  14. @torvalds

    Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/g…

    torvalds authored
    …it/lenb/linux-acpi-2.6
    
    * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
      x86 ACPI: Add support for Always Running APIC timer
      ACPI x86: Make aperf/mperf MSR access in acpi_cpufreq read_only
      ACPI x86: Cleanup acpi_cpufreq structures related to aperf/mperf
      ACPICA: delete check for AML access to port 0x81-83
      ACPI: WMI: use .notify method instead of installing handler directly
      sony-laptop: use .notify method instead of installing handler directly
      panasonic-laptop: use .notify method instead of installing handler directly
      fujitsu-laptop: use .notify method instead of installing hotkey handler directly
      fujitsu-laptop: use .notify method instead of installing handler directly
      ACPI: video: use .notify method instead of installing handler directly
      ACPI: thermal: use .notify method instead of installing handler directly
      ACPI battery: fix async boot oops
      ACPI: delete acpi_device.g_list
      NULL noise: drivers/platform/x86/panasonic-laptop.c
      ACPI: cpufreq: remove dupilcated #include
      ACPI: Adjust Kelvin offset to match local implementation
      ACPI: convert acpi_device_lock spinlock to mutex
  15. @torvalds

    Merge master.kernel.org:/home/rmk/linux-2.6-arm

    torvalds authored
    * master.kernel.org:/home/rmk/linux-2.6-arm:
      [ARM] 5446/1: ohci-at91: Limit vbus_pin assignment to the size of the array
      [ARM] 5445/1: AT91: Remove flexible array from USBH platform data
      [ARM] 5447/1: Add SZ_32K
      [ARM] omap: fix omap1 clock usecount decrement bug
      [ARM] pxa: register AC97 controller devices
      [ARM] pxa/csb701: do not register devices on non-csb726 boads
      [ARM] pxa/colibri: get rid of set_irq_type()
      [ARM] pxa/colibri: provide MAC address from ATAG_SERIAL
      [ARM] pxa/cm-x2xx: fix ucb1400 not being registered
      [ARM] pxa: Add support for suspend on PalmTX, T5 and LD
      [ARM] pxa: PalmTE2 support for battery, UDC, IrDA and backlight
      [ARM] pxa: Palm Tungsten E2 basic support
      [ARM] pxa/em-x270: add libertas device registration
      [ARM] pxa/magician: Enable bq24022 regulator for gpio_vbus and pda_power
  16. @torvalds

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    torvalds authored
    …/git/drzeus/mmc
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc:
      mmc_spi: support for non-byte-aligned cards
      omap_hsmmc: Do not expect cmd/data to be non-null when CC/TC occurs
      mmc: Fix compile for omap_hsmmc.c
      mmc_spi: convert timeout handling to jiffies and avoid busy waiting
      mmc_spi: do not check CID and CSD blocks with CRC16
      omap_hsmmc: Flush posted write to IRQ
      New mail address for Pierre Ossman
      imxmmc: move RSSR BLR
      imxmmc: init-exit rework
      mmc: Accept EXT_CSD rev 1.3 since it is backwards compatible with 1.2
  17. @Alan-Cox @torvalds

    tty: MAX3100

    Alan-Cox authored torvalds committed
    Thou shalt remember to use 'git add' or errors shall be visited on your
    downloads and there shall be wrath from on list and much gnashing of teeth.
    
    Thou shalt remember to use git status or there shall be catcalls and much
    embarrasment shall come to pass.
    
    Signed-off-by: Alan "I'm hiding" Cox <alan@lxorguk.ukuu.org.uk>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  18. [IA64] wire up preadv/pwritev system calls

    Tony Luck authored Tony Luck committed
    Gerd Hoffmann added these to Linux.  Let ia64 use them.
    
    Signed-off-by: Tony Luck <tony.luck@intel.com>
  19. @davem330
  20. @JustinWaters

    [ARM] 5446/1: ohci-at91: Limit vbus_pin assignment to the size of the…

    JustinWaters authored Russell King committed
    … array
    
    Currently, the vbus_pin assignment loop is limited by the value of the "ports"
    variable in the platform data.  Now that the vbus_pin array is no longer
    flexible, we can use its actual size.
    
    Signed-off-by: Justin Waters <justin.waters@timesys.com>
    Acked-by: Andrew Victor <linux@maxim.org.za>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  21. @JustinWaters

    [ARM] 5445/1: AT91: Remove flexible array from USBH platform data

    JustinWaters authored Russell King committed
    The flexible array in the USBH platform data is not safe to copy.  The
    compiler will not allocate any extra memory for the non-init platform
    data structure (in the *_devices.c files) since it isn't given any
    defaults at compile time.  When the probe function attempts to address
    that array, it will actually attempt to access data in an adjacent
    structure.
    
    Since there are currently no (known) implementations of the at91 USBH
    IP with more than 2 vbus pins, I am capping the value at 2.  If somebody
    tries to assign more, then the compiler will produce a warning.
    
    Signed-off-by: Justin Waters <justin.waters@timesys.com>
    Acked-by: David Brownell <dbrownell@users.sourceforge.net>
    Acked-by: Andrew Victor <linux@maxim.org.za>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  22. @linusw

    [ARM] 5447/1: Add SZ_32K

    linusw authored Russell King committed
    This adds a SZ_32K define to the available sizes. I need it for an
    upcoming platform support.
    
    Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  23. mmc_spi: support for non-byte-aligned cards

    Wolfgang Muees authored Pierre Ossman committed
    A very large subset of SD cards in the market send their
    responses and data non-byte-aligned. So add logic to the
    mmc spi driver to handle this mess.
    
    Signed-off-by: Wolfgang Muees <wolfgang.mues@auerswald.de>
    Signed-off-by: Pierre Ossman <pierre@ossman.eu>
  24. omap_hsmmc: Do not expect cmd/data to be non-null when CC/TC occurs

    Jarkko Lavinen authored Pierre Ossman committed
    With spurious interrupt cmd can be null even when we have CC
    set in irq status.
    
    Fixes: NB#106295 - prevent potential kernel crash in the MMC driver
    
    Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com>
    Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
    Signed-off-by: Pierre Ossman <pierre@ossman.eu>
  25. @tmlind

    mmc: Fix compile for omap_hsmmc.c

    tmlind authored Pierre Ossman committed
    This fixes the issue noted by Russell King:
    
    drivers/mmc/host/omap_hsmmc.c: In function 'mmc_omap_xfer_done':
    drivers/mmc/host/omap_hsmmc.c:301: error: implicit declaration of function 'mmc_omap_fclk_lazy_disable'
    
    This got broken by 4a694dc.
    
    Signed-off-by: Tony Lindgren <tony@atomide.com>
    Signed-off-by: Pierre Ossman <pierre@ossman.eu>
  26. mmc_spi: convert timeout handling to jiffies and avoid busy waiting

    Wolfgang Muees authored Pierre Ossman committed
    SD/MMC card timeouts can be very high. So avoid busy-waiting,
    using the scheduler. Calculate all timeouts in jiffies units,
    because this will give us the correct sign when to involve
    the scheduler.
    
    Signed-off-by: Wolfgang Muees <wolfgang.mues@auerswald.de>
    Signed-off-by: Pierre Ossman <pierre@ossman.eu>
Something went wrong with that request. Please try again.