31 Jan, 2009

2 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (29 commits)
    tulip: fix 21142 with 10Mbps without negotiation
    drivers/net/skfp: if !capable(CAP_NET_ADMIN): inverted logic
    gianfar: Fix Wake-on-LAN support
    smsc911x: timeout reaches -1
    smsc9420: fix interrupt signalling test failures
    ucc_geth: Change uec phy id to the same format as gianfar's
    wimax: fix build issue when debugfs is disabled
    netxen: fix memory leak in drivers/net/netxen_nic_init.c
    tun: Add some missing TUN compat ioctl translations.
    ipv4: fix infinite retry loop in IP-Config
    net: update documentation ip aliases
    net: Fix OOPS in skb_seq_read().
    net: Fix frag_list handling in skb_seq_read
    netxen: revert jumbo ringsize
    ath5k: fix locking in ath5k_config
    cfg80211: print correct intersected regulatory domain
    cfg80211: Fix sanity check on 5 GHz when processing country IE
    iwlwifi: fix kernel oops when ucode DMA memory allocation failure
    rtl8187: Fix error in setting OFDM power settings for RTL8187L
    mac80211: remove Michael Wu as maintainer
    ...

    Linus Torvalds
     
  • This fixes a crash observed when non-existant enable_ms function is
    called for jsm driver.

    Signed-off-by: Scott Kilau
    Signed-off-by: Paul Larson
    Signed-off-by: Linus Torvalds

    Paul Larson
     

30 Jan, 2009

35 commits

  • Commit e57db7b (SATA Sil: Blacklist system that spins off disks during ACPI power off)
    breaks build like the following, in both cases when CONFIG_DMI set or not.

    drivers/ata/sata_sil.c: In function 'sil_broken_system_poweroff':
    drivers/ata/sata_sil.c:713: error: implicit declaration of function 'dmi_first_match'
    drivers/ata/sata_sil.c:713: warning: initialization makes pointer from integer without a cast

    sata_sil.c should include dmi.h

    Signed-off-by: Alexander Beregalov
    Signed-off-by: Linus Torvalds

    Alexander Beregalov
     
  • Move DMA-mapping.txt to Documentation/PCI/.

    DMA-mapping.txt was supposed to be moved from Documentation/ to
    Documentation/PCI/. The 00-INDEX files in those two directories
    were updated, along with a few other text files, but the file
    itself somehow escaped being moved, so move it and update more
    text files and source files with its new location.

    Signed-off-by: Randy Dunlap
    Acked-by: Greg Kroah-Hartman
    cc: Jesse Barnes
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6:
    Staging: poch: fix verification of memory area
    Staging: usbip: usbip_start_threads(): handle kernel_thread failure
    staging: agnx: drivers/staging/agnx/agnx.h needs
    Staging: android: task_get_unused_fd_flags: fix the wrong usage of tsk->signal
    Staging: android: Add lowmemorykiller documentation.
    Staging: android: fix build error on 64bit boxes
    Staging: android: timed_gpio: Fix build to build on kernels after 2.6.25.
    Staging: android: binder: fix arm build errors
    Staging: meilhaus: fix Kbuild
    Staging: comedi: fix Kbuild

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6:
    driver-core: fix kernel-doc parameter name
    UIO: Add missing documentation of features added recently
    Sync patch for jp_JP/stable_kernel_rules.txt

    Linus Torvalds
     
  • * 'linux-next' of git://git.infradead.org/ubi-2.6:
    UBI: allow direct user-space I/O
    UBI: fix resource de-allocation
    UBI: remove unused variable
    UBI: use nicer 64-bit math
    UBI: add ioctl compatibility
    UBI: constify file operations
    UBI: allow all ioctls
    UBI: remove unnecessry header inclusion
    UBI: improve ioctl commentaries
    UBI: add ioctl for is_mapped operation
    UBI: add ioctl for unmap operation
    UBI: add ioctl for map operation

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid:
    HID: document difference between hid_blacklist and hid_ignore_list
    HID: add antec-branded soundgraph imon devices to blacklist
    HID: fix reversed logic in disconnect testing of hiddev
    HID: adjust report descriptor fixup for MS 1028 receiver

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
    lguest: Fix a memory leak with the lg object during launcher close
    lguest: disable the FORTIFY for lguest.
    lguest: typos fix

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6:
    ieee1394: sbp2: add workarounds for 2nd and 3rd generation iPods
    firewire: sbp2: add workarounds for 2nd and 3rd generation iPods
    firewire: sbp2: fix DMA mapping leak on the failure path
    firewire: sbp2: define some magic numbers as macros
    firewire: sbp2: fix payload limit at S1600 and S3200
    ieee1394: sbp2: don't assume zero model_id or firmware_revision if there is none
    ieee1394: sbp2: fix payload limit at S1600 and S3200
    ieee1394: sbp2: update a help string
    ieee1394: support for speeds greater than S800
    firewire: core: optimize card shutdown
    ieee1394: ohci1394: increase AT req. retries, fix ack_busy_X from Panasonic camcorders and others
    firewire: ohci: increase AT req. retries, fix ack_busy_X from Panasonic camcorders and others
    firewire: ohci: change "context_stop: still active" log message
    firewire: keep highlevel drivers attached during brief connection loss
    firewire: unnecessary BM delay after generation rollover
    firewire: insist on successive self ID complete events

    Linus Torvalds
     
  • s/unlock/lock/

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

    Reported-by: Daniel Vetter
    Cc: Dave Airlie
    Acked-by: Jesse Barnes
    Cc: Eric Anholt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     
  • If the initial state is not set when the input device is set up, the first
    docking event after the module is loaded will be lost.

    Signed-off-by: Frans Pop
    Acked-by: Matthew Garrett
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Frans Pop
     
  • MacPro 3 have more temperature sensors than the previous MacPro's also the
    sensor THTG has been removed. This patch add supports for the newer
    temperature sensors in the MacPro3.

    Signed-off-by: Bharath Ramesh
    Signed-off-by: Henrik Rydberg
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bharath Ramesh
     
  • Bump hpilo module version to indicate that the open/close bug is fixed.

    Signed-off-by: David Altobelli
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Altobelli
     
  • Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alex Buell
     
  • Error was introduced in commit fe8e4e039dc3 ("hp-wmi: handle
    rfkill_register() failure").

    Signed-off-by: Frans Pop
    Acked-by: Larry Finger
    Acked-by: Matthew Garrett
    Cc: Matthew Garrett
    Cc: Len Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Frans Pop
     
  • Fix request-already-requested handling in gpio_request().

    Signed-off-by: Magnus Damm
    Acked-by: David Brownell
    Cc: [2.6.28.x]
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Magnus Damm
     
  • Clean up the stale DBUG_ON checks and add a couple new ones.

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

    Robin Holt
     
  • If the bte copy fails, the attempt to retrieve payloads merely returns a
    null pointer deref and not NULL as was expected.

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

    Robin Holt
     
  • The clearing of the msg->flags needs a barrier between it and the notify
    of the channel threads that the messages are cleaned and ready for use.

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

    Robin Holt
     
  • with current kernels, tulip 21142 ethernet controllers fail to connect
    to a 10Mbps only (i.e. without negotiation-partner) network. It used
    to work in 2.4 kernels. Fix that. Tested on a 21142 Rev 0x11.

    Signed-off-by: Philippe De Muyter
    Signed-off-by: David S. Miller

    Philippe De Muyter
     
  • Fix inverted logic

    Signed-off-by: Roel Kluin
    Signed-off-by: David S. Miller

    Roel Kluin
     
  • commit 0f0ca340e57bd7446855fefd07a64249acf81223 ("phy: power
    management support") caused a regression in the gianfar driver.

    Now phylib turns off PHY power during suspend, and thus WOL
    doesn't work anymore.

    This patch workarounds the issue by enabling wakeup in the MDIO
    device, i.e. just restores the old behaviour for the gianfar
    driver. Note that this way all PHYs on a given MDIO bus won't
    be turned off during suspend, which isn't good from the power
    saving point of view.

    A proper, per netdevice wakeup management support will need
    a bit reworked phylib suspend/resume logic.

    Signed-off-by: Anton Vorontsov
    Signed-off-by: David S. Miller

    Anton Vorontsov
     
  • With a postfix decrement the timeout will reach -1 rather than 0,
    so the warning will not be issued.

    Signed-off-by: Roel Kluin
    Acked-by: Steve Glendinning
    Signed-off-by: David S. Miller

    Roel Kluin
     
  • smsc9420 performs an interrupt signalling test when the interface is
    brought up. The current code mistakenly sets its test flag to false
    AFTER enabling the software interrupt source, making failure quite
    likely.

    This patch changes the code to set the test flag BEFORE enabling
    interrupts. I've also removed an smp_wmb because the following spinlock
    provides an implicit memory barrier.

    Signed-off-by: Steve Glendinning
    Signed-off-by: David S. Miller

    Steve Glendinning
     
  • The commit b31a1d8b41513b96e9c7ec2f68c5734cef0b26a4 ("gianfar: Convert
    gianfar to an of_platform_driver") changes the gianfar's phy id to the
    format like "mdio@xxxx:xx", but uec still uses the old format like
    "xxxxxxxx:xx". For the board whose UEC uses gianfar-mdio like
    MPC8568MDS, the phy can not be attached because of the incompatible
    phy id format. This patch changes uec's phy id to the same format as
    gianfar's.

    Signed-off-by: Haiying Wang
    Signed-off-by: David S. Miller

    Haiying Wang
     
  • As reported by Toralf Förster and Randy Dunlap.

    - http://linuxwimax.org/pipermail/wimax/2009-January/000460.html

    - http://lkml.org/lkml/2009/1/29/279

    The definitions needed for the wimax stack and i2400m driver debug
    infrastructure was, by mistake, compiled depending on CONFIG_DEBUG_FS
    (by them being placed in the debugfs.c files); thus the build broke in
    2.6.29-rc3 when debugging was enabled (CONFIG_WIMAX_DEBUG) and
    DEBUG_FS was disabled.

    These definitions are always needed if debug is enabled at compile
    time (independently of DEBUG_FS being or not enabled), so moving them
    to a file that is always compiled fixes the issue.

    Signed-off-by: Inaky Perez-Gonzalez
    Signed-off-by: David S. Miller

    Inaky Perez-Gonzalez
     
  • Fix a memory leak identified by Rusty Russell during LCA09 by
    kfree'ing the lg object instead of just clearing it when the
    launcher closes.

    Signed-off-by: Mark Wallis
    Signed-off-by: Rusty Russell

    Mark Wallis
     
  • 3 points

    lguest_asm.S => i386_head.S
    LHCALL_BREAK => LHREQ_BREAK
    perferred => preferred

    Signed-off-by: Atsushi SAKAI
    Signed-off-by: Rusty Russell

    Atsushi SAKAI
     
  • For kernel bugzilla #12537:
    http://bugzilla.kernel.org/show_bug.cgi?id=12537

    Free memory.

    Signed-off-by: Daniel Marjamäki
    Signed-off-by: David S. Miller

    Daniel Marjamäki
     
  • Reducing jumbo ring size below 1024 reduces throughput for old
    firmwares (3.4.216 and older) running on older (NX2031) chip,
    so restore it back to 1024.

    This was reduced in commit 32ec803348b4d5f1353e1d7feae30880b8b3e342
    ("netxen: reduce memory footprint").

    Raising jumbo ring size from 512 to 1024, adds ~4MB per port, but
    there's still big saving because of original patch (~20MB per port).

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

    Dhananjay Phadke
     
  • David S. Miller
     
  • ath5k_config updates the software context without taking sc->lock.

    Changes-licensed-under: 3-Clause-BSD

    Signed-off-by: Bob Copeland
    Acked-by: Nick Kossifidis
    Signed-off-by: John W. Linville

    Bob Copeland
     
  • The patch fixes memcpy to NULL address when the ucode DMA allocation failure.

    This is a fix to bug
    http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1861

    Signed-off-by: Zhu Yi
    Signed-off-by: Reinette Chatre
    Signed-off-by: John W. Linville

    Zhu, Yi
     
  • After reports of poor performance, a review of the latest vendor driver
    (rtl8187_linux_26.1025.0328.2007) for RTL8187L devices was undertaken.

    A difference was found in the code used to index the OFDM power tables. When
    the Linux driver was changed, my unit works at a much greater range than
    before. I think this fixes Bugzilla #12380 and has been tested by at least
    two other users.

    Signed-off-by: Larry Finger
    Tested-by: Martín Ernesto Barreyro
    Cc: Stable
    Signed-off-by: John W. Linville

    Larry Finger
     
  • as per https://bugs.launchpad.net/bugs/294391. These got one sample of
    each iPod generation going. However there still occurred I/O stalls
    with the 3rd generation iPod which remain undiagnosed at the time of
    this writing.

    Acked-by: Jarod Wilson
    Signed-off-by: Stefan Richter

    Stefan Richter
     
  • According to https://bugs.launchpad.net/bugs/294391
    - 3rd generation iPods need the "fix capacity" workaround after all
    (apparently they crash after the last sector was accessed),
    - 2nd generation iPods need the "128 kB maximum request size"
    workaround.

    Alas both iPod generations feature the same model ID in the config ROM,
    hence we can only define a shared quirks list entry for them. Luckily
    the fix capacity workaround did not show a negative effect in Jarod's
    tests with 2nd gen. iPod.

    A side note: Apple computers in target mode (or at least an x86 Mac
    mini) don't have firmware_version and model_id, hence none of the iPod
    quirks list entries is active for them.

    Tested-by: Jarod Wilson
    Acked-by: Jarod Wilson
    Signed-off-by: Stefan Richter

    Stefan Richter
     

29 Jan, 2009

3 commits