19 Jan, 2009

1 commit


17 Jan, 2009

19 commits

  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (23 commits)
    ACPI PCI hotplug: harden against panic regression
    ACPI: rename main.c to sleep.c
    dell-laptop: move to drivers/platform/x86/ from drivers/misc/
    eeepc-laptop: enable Bluetooth ACPI details
    ACPI: fix ACPI_FADT_S4_RTC_WAKE comment
    kprobes: check CONFIG_FREEZER instead of CONFIG_PM
    PM: Fix freezer compilation if PM_SLEEP is unset
    thermal fixup for broken BIOS which has invalid trip points.
    ACPI: EC: Don't trust ECDT tables from ASUS
    ACPI: EC: Limit workaround for ASUS notebooks even more
    ACPI: thinkpad-acpi: bump up version to 0.22
    ACPI: thinkpad-acpi: handle HKEY event 6030
    ACPI: thinkpad-acpi: clean-up fan subdriver quirk
    ACPI: thinkpad-acpi: start the event hunt season
    ACPI: thinkpad-acpi: handle HKEY thermal and battery alarms
    ACPI: thinkpad-acpi: clean up hotkey_notify()
    ACPI: thinkpad-acpi: use killable instead of interruptible mutexes
    ACPI: thinkpad-acpi: add UWB radio support
    ACPI: thinkpad-acpi: preserve radio state across shutdown
    ACPI: thinkpad-acpi: resume with radios disabled
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
    netxen: include ipv6.h (fixes build failure)
    netxen: avoid invalid iounmap

    Linus Torvalds
     
  • ACPI hotplug panic with current git head
    http://lkml.org/lkml/2009/1/10/136

    Rather than reverting the entire commit that causes the crash:
    e8c331e963c58b83db24b7d0e39e8c07f687dbc6
    "PCI hotplug: introduce functions for ACPI slot detection"

    simply harden against it while the changes to
    the hotplug code on this particularl machine are understood.

    Signed-off-by: James Bottomley
    Acked-by: Jesse Barnes
    Signed-off-by: Len Brown

    James Bottomley
     
  • Len Brown
     
  • Len Brown
     
  • Len Brown
     
  • Signed-off-by: Len Brown

    Len Brown
     
  • Signed-off-by: Len Brown

    Len Brown
     
  • Although rfkill support for the EEE bluetooth device has been added to
    2.6.28-rc the appropriate ACPI accessor definitions were not added, so
    the support was non functional. The patch below adds the get and set
    accessors and has been verified to work on an EEE 901.

    Signed-off-by: Jonathan McDowell
    Acked-by: Matthew Garrett
    Acked-by: Corentin Chary
    Signed-off-by: Len Brown

    Jonathan McDowell
     
  • ACPI thermal driver only re-evaluate VALID trip points.

    For the broken BIOS show in
    http://bugzilla.kernel.org/show_bug.cgi?id=8544
    the active[0] is set to invalid at boot time
    and it will not be re-evaluated again.
    We can still get a single warning message at boot time.

    http://marc.info/?l=linux-kernel&m=120496222629983&w=2

    http://bugzilla.kernel.org/show_bug.cgi?id=12203

    Signed-off-by: Zhang Rui
    Tested-by: Márton Németh
    Signed-off-by: Len Brown

    Zhang Rui
     
  • Fixes a build error in absence of CONFIG_IPV6:

    drivers/net/netxen/netxen_nic_main.c:1189: error: implicit declaration of function 'ipv6_hdr'
    drivers/net/netxen/netxen_nic_main.c:1189: error: invalid type argument of '->'

    Reported-by: Ingo Molnar

    Signed-off-by: Dhananjay Phadke
    Signed-off-by: David S. Miller

    Dhananjay Phadke
     
  • http://bugzilla.kernel.org/show_bug.cgi?id=9399
    http://bugzilla.kernel.org/show_bug.cgi?id=11880

    Signed-off-by: Alexey Starikovskiy
    Signed-off-by: Len Brown

    Alexey Starikovskiy
     
  • For NX3031 only one I/O range is mapped, so unmapping other
    two which are used by older chips, causes this warning on
    ppc64.

    "Attempt to iounmap early bolted mapping at 0x0000000000000000"

    Signed-off-by: Dhananjay Phadke
    Signed-off-by: David S. Miller

    Dhananjay Phadke
     
  • References: http://bugzilla.kernel.org/show_bug.cgi?id=11884

    Signed-off-by: Alexey Starikovskiy
    Signed-off-by: Len Brown

    Alexey Starikovskiy
     
  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
    serial: Add 16850 uart type support to OF uart driver
    hvc_console: Remove tty->low_latency
    powerpc: Get the number of SLBs from "slb-size" property
    powerpc: is_hugepage_only_range() must account for both 4kB and 64kB slices
    powerpc/ps3: printing fixups for l64 to ll64 conversion drivers/video
    powerpc/ps3: Printing fixups for l64 to ll64 conversion drivers/scsi
    powerpc/ps3: Printing fixups for l64 to ll64 conversion drivers/ps3
    powerpc/ps3: Printing fixups for l64 to ll64 conversion sound/ppc
    powerpc/ps3: Printing fixups for l64 to ll64 conversion drivers/char
    powerpc/ps3: Printing fixups for l64 to ll64 conversion drivers/block
    powerpc/ps3: Printing fixups for l64 to ll64 conversion arch/powerpc
    powerpc/ps3: ps3_repository_read_mm_info() takes u64 * arguments
    powerpc/ps3: clear_bit()/set_bit() operate on unsigned longs
    powerpc/ps3: The lv1_ routines have u64 parameters
    powerpc/ps3: Use dma_addr_t down through the stack
    powerpc/ps3: set_dabr() takes an unsigned long
    powerpc: Cleanup from l64 to ll64 change drivers/scsi

    Linus Torvalds
     
  • * 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev:
    sata_fsl: Return non-zero on error in probe()
    drivers/ata/pata_ali.c: s/isa_bridge/ali_isa_bridge/ to fix alpha build
    libata: New driver for OCTEON SOC Compact Flash interface (v7).
    libata: Add another column to the ata_timing table.
    sata_via: Add VT8261 support
    pata_atiixp: update port enabledness test handling
    [libata] get-identity ioctl: Fix use of invalid memory pointer

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6:
    [SCSI] Skip deleted devices in __scsi_device_lookup_by_target()
    [SCSI] Add SUN Universal Xport to no attach blacklist
    [SCSI] iscsi_tcp: make padbuf non-static
    [SCSI] mpt fusion: Add Firmware debug support
    [SCSI] mpt fusion: Add separate msi enable disable for FC,SPI,SAS
    [SCSI] mpt fusion: Update MPI Headers to version 01.05.19
    [SCSI] qla2xxx: Fix ISP restart bug in multiq code

    Linus Torvalds
     
  • * 'drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
    drm/i915: lock correct mutex around object unreference.
    drm/i915: add support for physical memory objects
    drm/i915: make LVDS fixed mode a preferred mode
    drm: handle depth & bpp changes correctly
    drm: initial KMS config fixes
    drm/i915: setup sarea properly in master_priv
    drm/i915: set vblank enabled flag correctly across IRQ install/uninstall
    drm/i915: don't enable vblanks on disabled pipes

    Linus Torvalds
     
  • This reverts commit 98e6e286d7b01deb7453b717aa38ebb69d6cefc0, as Yinghai
    Lu reports that it breaks kexec with at least the e1000 and e1000e
    drivers. The reason is that the shutdown sequence puts the hardware
    into D3 sleep, and the commit causes us to claim that it then is in D0
    (running) state just because we don't understand the PM capabilities.

    Which then later makes "pci_set_power_state()" not do anything, and the
    device never wakes up properly and just returns 0xff to everything.

    Reported-by: Yinghai Lu
    Acked-by: From: Rafael J. Wysocki
    Cc: Jesse Barnes
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     

16 Jan, 2009

20 commits

  • while I was looking over kernel sources I've found this small bug.

    Formerly, zero was returned even if an error happened.

    Signed-off-by: Michal Sojka
    Signed-off-by: Jeff Garzik

    Michal Sojka
     
  • drivers/ata/pata_ali.c:44: error: static declaration of 'isa_bridge' follows non-static declaration
    arch/alpha/include/asm/pci.h:274: error: previous declaration of 'isa_bridge' was here

    Cc: Alan Cox
    Cc: Jeff Garzik
    Signed-off-by: Andrew Morton
    Signed-off-by: Jeff Garzik

    Andrew Morton
     
  • Cavium OCTEON processor support was recently merged, so now we have
    this CF driver for your consideration.

    Most OCTEON variants have *no* DMA or interrupt support on the CF
    interface so for these, only PIO is supported. Although if DMA is
    available, we do take advantage of it.

    Signed-off-by: David Daney
    Signed-off-by: Jeff Garzik

    David Daney
     
  • The forthcoming OCTEON SOC Compact Flash driver needs an additional
    timing value that was not available in the ata_timing table. I add a
    new column for dmack_hold time. The values were obtained from the
    Compact Flash specification Rev 4.1.

    Signed-off-by: David Daney
    Signed-off-by: Jeff Garzik

    David Daney
     
  • Signed-off-by: Joseph Chan
    Signed-off-by: Jeff Garzik

    JosephChan@via.com.tw
     
  • Port enabledness test fits much better into init_one() instead of
    pre_reset(). The reason why these tests are in pre_reset() is purely
    historical at this point. Move it to init_one(). This will help
    further changes.

    Signed-off-by: Tejun Heo
    Signed-off-by: Jeff Garzik

    Tejun Heo
     
  • for SAS drivers.

    Caught by Ke Wei (and team?) at Marvell.

    Also, move the ata_scsi_ioctl export to libata-scsi.c, as that seems to be the
    general trend.

    Acked-by: James Bottomley
    Signed-off-by: Jeff Garzik

    Jeff Garzik
     
  • This makes sure the mutex is held around the unreference.

    Signed-off-by: Dave Airlie

    Dave Airlie
     
  • This is an initial patch to do support for objects which needs physical
    contiguous main ram, cursors and overlay registers on older chipsets.

    These objects are bound on cursor bin, like pinning, and we copy
    the data to/from the backing store object into the real one on attach/detach.

    notes:
    possible over the top in attach/detach operations.
    no overlay support yet.

    Signed-off-by: Dave Airlie

    Dave Airlie
     
  • The detected fixed panel mode really is preferred, so mark it as such and
    add it to the LVDS connector mode list.

    Signed-off-by: Jesse Barnes
    Signed-off-by: Eric Anholt
    Signed-off-by: Dave Airlie

    Jesse Barnes
     
  • Signed-off-by: Jesse Barnes
    Signed-off-by: Eric Anholt
    Signed-off-by: Dave Airlie

    Jesse Barnes
     
  • When mode setting is first initialized, the driver will call into
    drm_helper_initial_config() to set up an initial output and framebuffer
    configuration. This routine is responsible for probing the available
    connectors, encoders, and crtcs, looking for modes and putting together
    something reasonable (where reasonable is defined as "allows kernel
    messages to be visible on as many displays as possible").

    However, the code was a bit too aggressive in setting default modes when
    none were found on a given connector. Even if some connectors had modes,
    any connectors found lacking modes would have the default 800x600 mode added
    to their mode list, which in some cases could cause problems later down the
    line. In my case, the LVDS was perfectly available, but the initial config
    code added 800x600 modes to both of the detected but unavailable HDMI
    connectors (which are on my non-existent docking station). This ended up
    preventing later code from setting a mode on my LVDS, which is bad.

    This patch fixes that behavior by making the initial config code walk
    through the connectors first, counting the available modes, before it decides
    to add any default modes to a possibly connected output. It also fixes the
    logic in drm_target_preferred() that was causing zeroed out modes to be set
    as the preferred mode for a given connector, even if no modes were available.

    Signed-off-by: Jesse Barnes
    Signed-off-by: Eric Anholt
    Signed-off-by: Dave Airlie

    Jesse Barnes
     
  • This patch adds support for "ns16850" as supported value
    of the compatible node in flat device tree uart descriptions.

    This is needed for example when you have a XR16C2850 uart
    connected to a PPC405's external bus controller.

    Signed-off-by: Matthias Fuchs
    Signed-off-by: Benjamin Herrenschmidt

    Matthias Fuchs
     
  • This patch removes the tty->low_latency setting.

    For irq based hvc_console backends the tty->low_latency must be set to 0,
    because the tty_flip_buffer_push() function must not be called from IRQ context
    (see drivers/char/tty_buffer.c).

    For polled backends, the low_latency setting causes the bug trace below, because
    tty_flip_buffer_push() is called within an atomic context and subsequent calls
    might sleep due to mutex_lock.

    BUG: sleeping function called from invalid context at /root/cvs/linux-2.6.git/kernel/mutex.c:207
    in_atomic(): 1, irqs_disabled(): 0, pid: 748, name: khvcd
    1 lock held by khvcd/748:
    #0: (hvc_structs_lock){--..}, at: [] khvcd+0x58/0x12c
    CPU: 0 Not tainted 2.6.29-rc1git #29
    Process khvcd (pid: 748, task: 000000002fb9a480, ksp: 000000002f66bd78)
    070000000000000a 000000002f66ba00 0000000000000002 (null)
    000000002f66baa0 000000002f66ba18 000000002f66ba18 0000000000104f08
    ffffffffffffc000 000000002f66bd78 (null) (null)
    000000002f66ba00 000000000000000c 000000002f66ba00 000000002f66ba70
    0000000000466af8 0000000000104f08 000000002f66ba00 000000002f66ba50
    Call Trace:
    ([] show_trace+0x138/0x158)
    [] show_stack+0xc6/0xf8
    [] dump_stack+0xb0/0xc0
    [] __might_sleep+0x14e/0x17c
    [] mutex_lock_nested+0x42/0x3b4
    [] echo_char_raw+0x3a/0x9c
    [] n_tty_receive_buf+0x1154/0x1208
    [] flush_to_ldisc+0x152/0x220
    [] tty_flip_buffer_push+0x6a/0x90
    [] hvc_poll+0x244/0x2c8
    [] khvcd+0x70/0x12c
    [] kthread+0x68/0xa0
    [] kernel_thread_starter+0x6/0xc
    [] kernel_thread_starter+0x0/0xc
    1 lock held by khvcd/748:
    #0: (hvc_structs_lock){--..}, at: [] khvcd+0x58/0x12c

    Signed-off-by: Hendrik Brueckner
    Acked-by: Christian Borntraeger
    Signed-off-by: Benjamin Herrenschmidt

    Hendrik Brueckner
     
  • Signed-off-by: Stephen Rothwell
    Acked-by: Geoff Levand
    Signed-off-by: Benjamin Herrenschmidt

    Stephen Rothwell
     
  • Signed-off-by: Stephen Rothwell
    Acked-by: Geoff Levand
    Signed-off-by: Benjamin Herrenschmidt

    Stephen Rothwell
     
  • Also some min -> mint_t conversion.

    Signed-off-by: Stephen Rothwell
    Acked-by: Geoff Levand
    Signed-off-by: Benjamin Herrenschmidt

    Stephen Rothwell
     
  • Also a couple of min -> min_t changes.

    Signed-off-by: Stephen Rothwell
    Acked-by: Geoff Levand
    Signed-off-by: Benjamin Herrenschmidt

    Stephen Rothwell
     
  • Signed-off-by: Stephen Rothwell
    Acked-by: Geoff Levand
    Signed-off-by: Benjamin Herrenschmidt

    Stephen Rothwell
     
  • We just fix up the reference parameters as the others are dealt with by
    arithmetic promotion rules and don't cause warnings.

    This removes warnings like this:

    arch/powerpc/platforms/ps3/interrupt.c:327: warning: passing argument 1 of 'lv1_construct_event_receive_port' from incompatible pointer type

    Also, these:

    drivers/ps3/ps3-vuart.c:462: warning: passing argument 4 of 'ps3_vuart_raw_read' from incompatible pointer type
    drivers/ps3/ps3-vuart.c:592: warning: passing argument 4 of 'ps3_vuart_raw_read' from incompatible pointer type

    Signed-off-by: Stephen Rothwell
    Acked-by: Geoff Levand
    Signed-off-by: Benjamin Herrenschmidt

    Stephen Rothwell