06 Feb, 2009

4 commits

  • A missing type cast results in writing way beyond the end of a kzalloc()'d
    memory segment resulting in slab corruption. But it seems like the better
    solution is to define ->recv_msg_slots as a 'void *' rather than a
    'struct xpc_notify_mq_msg_uv *' and add the type cast.

    Signed-off-by: Dean Nelson
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Dean Nelson
     
  • The ssc pointer is not valid when the id is not found in the list.
    Convert the message from a debug one into an error message and avoid
    dereferencing the bad pointer.

    Signed-off-by: Hans-Christian Egtvedt
    Cc: Kay Sievers
    Cc: Huang Weiyi
    Acked-by: Haavard Skinnemoen
    Cc: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Hans-Christian Egtvedt
     
  • dell-laptop makes use of the power supply class information to choose
    which backlight interface to change. Add a depends on it.

    Signed-off-by: Matthew Garrett
    Cc: Ingo Molnar
    Cc: "Rafael J. Wysocki"
    Cc: Len Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matthew Garrett
     
  • The device can take a while to respond to an open/close request, so
    increase the time kernel will wait for response (1 ms to 10ms).

    Also, properly clean up a channel on a failed open, by calling the channel
    close routine. Just freeing the memory isn't sufficient, the device needs
    to be informed that the channel is no longer open, and the device memory
    cleared of references to freed dma buffer.

    Signed-off-by: David Altobelli
    Cc: Greg KH
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Altobelli
     

04 Feb, 2009

1 commit


30 Jan, 2009

4 commits


27 Jan, 2009

5 commits


17 Jan, 2009

2 commits


16 Jan, 2009

1 commit

  • After XPC has been up and running on multiple partitions for any length of
    time, if XPC on one of the partitions is stopped and restarted (either by
    a rmmod/insmod or a system restart), it is possible for the XPCs running
    on the other partitions to falsely detect a lack of heartbeat from the XPC
    that was just restarted. This false detection will occur if the restarted
    XPC comes up within the five-seconds preceding one of the other XPC's
    heartbeat check (which occurs once every twenty seconds).

    The detection of no heartbeat results in the detecting XPC deactivating
    from the just restarted XPC. The only remedy is to restart one of the
    XPCs and hope that one doesn't hit this five-second window on any of the
    other partitions.

    Signed-off-by: Dean Nelson
    Signed-off-by: Robin Holt
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Dean Nelson
     

09 Jan, 2009

10 commits

  • Conflicts:
    drivers/misc/Kconfig

    Signed-off-by: Len Brown

    Len Brown
     
  • Len Brown
     
  • Len Brown
     
  • Len Brown
     
  • GBLS and GBLL only differ in the clearing of the GHKS flag, so there is no need
    to have two backlight level readouts. Also, per Peter Gruber, the need for the
    BLNF check has disappeared.
    As a result, cleanups can be made in the code. This has been tested on the both
    the S6410 and the S6420 platforms and causes no functionality regressions, on
    the console without X or within X. One module parameter to disable the hotkeys
    is dropped, as we only ever took one codepath anyway.

    Signed-off-by: Tony Vroon
    Tested-by: Peter Gruber
    Tested-By: Stephen Gildea
    Acked-by: Jonathan Woithe
    Signed-off-by: Len Brown

    Tony Vroon
     
  • The FUNC interface in the Fujitsu-Siemens DSDT was unused until now. It exposes
    state information that is now reported in additional platform files (whether the
    radios are killed by the hardware switch or operational, whether the machine is
    docked and whether the lid is open).
    Support for the backlight class is now extended with the ability to power the
    backlight on & off. Optional support for the LED class allows the keyboard
    headlamps found on the U810 netbook and the Fujitsu logo illumination on the
    P8010 notebook to be turned on & off.

    This was fed through checkpatch.pl and tested on the S6420, P8010 & U810 platforms.

    Signed-off-by: Stephen Gildea
    Tested-by: Stephen Gildea
    Tested-by: Julian Brown
    Signed-off-by: Tony Vroon
    Tested-by: Peter Gruber
    Acked-by: Jonathan Woithe
    Signed-off-by: Len Brown

    Tony Vroon
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (45 commits)
    [SCSI] qla2xxx: Update version number to 8.03.00-k1.
    [SCSI] qla2xxx: Add ISP81XX support.
    [SCSI] qla2xxx: Use proper request/response queues with MQ instantiations.
    [SCSI] qla2xxx: Correct MQ-chain information retrieval during a firmware dump.
    [SCSI] qla2xxx: Collapse EFT/FCE copy procedures during a firmware dump.
    [SCSI] qla2xxx: Don't pollute kernel logs with ZIO/RIO status messages.
    [SCSI] qla2xxx: Don't fallback to interrupt-polling during re-initialization with MSI-X enabled.
    [SCSI] qla2xxx: Remove support for reading/writing HW-event-log.
    [SCSI] cxgb3i: add missing include
    [SCSI] scsi_lib: fix DID_RESET status problems
    [SCSI] fc transport: restore missing dev_loss_tmo callback to LLDD
    [SCSI] aha152x_cs: Fix regression that keeps driver from using shared interrupts
    [SCSI] sd: Correctly handle 6-byte commands with DIX
    [SCSI] sd: DIF: Fix tagging on platforms with signed char
    [SCSI] sd: DIF: Show app tag on error
    [SCSI] Fix error handling for DIF/DIX
    [SCSI] scsi_lib: don't decrement busy counters when inserting commands
    [SCSI] libsas: fix test for negative unsigned and typos
    [SCSI] a2091, gvp11: kill warn_unused_result warnings
    [SCSI] fusion: Move a dereference below a NULL test
    ...

    Fixed up trivial conflict due to moving the async part of sd_probe
    around in the async probes vs using dev_set_name() in naming.

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (84 commits)
    wimax: fix kernel-doc for debufs_dentry member of struct wimax_dev
    net: convert pegasus driver to net_device_ops
    bnx2x: Prevent eeprom set when driver is down
    net: switch kaweth driver to netdevops
    pcnet32: round off carrier watch timer
    i2400m/usb: wrap USB power saving in #ifdef CONFIG_PM
    wimax: testing for rfkill support should also test for CONFIG_RFKILL_MODULE
    wimax: fix kconfig interactions with rfkill and input layers
    wimax: fix '#ifndef CONFIG_BUG' layout to avoid warning
    r6040: bump release number to 0.20
    r6040: warn about MAC address being unset
    r6040: check PHY status when bringing interface up
    r6040: make printks consistent with DRV_NAME
    gianfar: Fixup use of BUS_ID_SIZE
    mlx4_en: Returning real Max in get_ringparam
    mlx4_en: Consider inline packets on completion
    netdev: bfin_mac: enable bfin_mac net dev driver for BF51x
    qeth: convert to net_device_ops
    vlan: add neigh_setup
    dm9601: warn on invalid mac address
    ...

    Linus Torvalds
     
  • David S. Miller
     
  • Add a driver for controlling Dell-specific backlight and rfkill interfaces.
    This driver makes use of the dcdbas interface to the Dell firmware to
    allow the backlight and rfkill interfaces on Dell systems to be driven
    through the standardised sysfs interfaces.

    Signed-off-by: Matthew Garrett
    Cc: Matt Domsch
    Cc: Ivo van Doorn
    Cc: Len Brown
    Cc: Richard Purdie
    Cc: Henrique de Moraes Holschuh
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matthew Garrett
     

08 Jan, 2009

2 commits

  • Convert to net_device_ops and internal net_device_stats

    Signed-off-by: Stephen Hemminger
    Signed-off-by: David S. Miller

    Stephen Hemminger
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (24 commits)
    trivial: chack -> check typo fix in main Makefile
    trivial: Add a space (and a comma) to a printk in 8250 driver
    trivial: Fix misspelling of "firmware" in docs for ncr53c8xx/sym53c8xx
    trivial: Fix misspelling of "firmware" in powerpc Makefile
    trivial: Fix misspelling of "firmware" in usb.c
    trivial: Fix misspelling of "firmware" in qla1280.c
    trivial: Fix misspelling of "firmware" in a100u2w.c
    trivial: Fix misspelling of "firmware" in megaraid.c
    trivial: Fix misspelling of "firmware" in ql4_mbx.c
    trivial: Fix misspelling of "firmware" in acpi_memhotplug.c
    trivial: Fix misspelling of "firmware" in ipw2100.c
    trivial: Fix misspelling of "firmware" in atmel.c
    trivial: Fix misspelled firmware in Kconfig
    trivial: fix an -> a typos in documentation and comments
    trivial: fix then -> than typos in comments and documentation
    trivial: update Jesper Juhl CREDITS entry with new email
    trivial: fix singal -> signal typo
    trivial: Fix incorrect use of "loose" in event.c
    trivial: printk: fix indentation of new_text_line declaration
    trivial: rtc-stk17ta8: fix sparse warning
    ...

    Linus Torvalds
     

07 Jan, 2009

5 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6: (60 commits)
    uio: make uio_info's name and version const
    UIO: Documentation for UIO ioport info handling
    UIO: Pass information about ioports to userspace (V2)
    UIO: uio_pdrv_genirq: allow custom irq_flags
    UIO: use pci_ioremap_bar() in drivers/uio
    arm: struct device - replace bus_id with dev_name(), dev_set_name()
    libata: struct device - replace bus_id with dev_name(), dev_set_name()
    avr: struct device - replace bus_id with dev_name(), dev_set_name()
    block: struct device - replace bus_id with dev_name(), dev_set_name()
    chris: struct device - replace bus_id with dev_name(), dev_set_name()
    dmi: struct device - replace bus_id with dev_name(), dev_set_name()
    gadget: struct device - replace bus_id with dev_name(), dev_set_name()
    gpio: struct device - replace bus_id with dev_name(), dev_set_name()
    gpu: struct device - replace bus_id with dev_name(), dev_set_name()
    hwmon: struct device - replace bus_id with dev_name(), dev_set_name()
    i2o: struct device - replace bus_id with dev_name(), dev_set_name()
    IA64: struct device - replace bus_id with dev_name(), dev_set_name()
    i7300_idle: struct device - replace bus_id with dev_name(), dev_set_name()
    infiniband: struct device - replace bus_id with dev_name(), dev_set_name()
    ISDN: struct device - replace bus_id with dev_name(), dev_set_name()
    ...

    Linus Torvalds
     
  • Modify ioc4 to always load the sgiioc4 IDE module if the board carrying
    the IOC4 hardware actually implements the IDE interface (not all boards
    bring this functionality off the IOC4 chip). A drive hosted on the IDE
    interface may contain the root filesystem, and sgiioc4 doesn't load
    automatically as ioc4 owns the PCI device ID, not sgiioc4.

    [akpm@linux-foundation.org: coding-style fixes]
    Signed-off-by: Michael Reed
    Signed-off-by: Brent Casavant
    Cc: Bartlomiej Zolnierkiewicz
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Brent Casavant
     
  • Use the newly introduced pci_ioremap_bar() function in drivers/misc.
    pci_ioremap_bar() just takes a pci device and a bar number, with the goal
    of making it really hard to get wrong, while also having a central place
    to stick sanity checks.

    Signed-off-by: Arjan van de Ven
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arjan van de Ven
     
  • CC: Jack Steiner
    Signed-off-by: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Kay Sievers
     
  • Signed-off-by: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Kay Sievers
     

06 Jan, 2009

3 commits


03 Jan, 2009

1 commit


31 Dec, 2008

2 commits