02 Mar, 2010

4 commits


26 Feb, 2010

1 commit


24 Feb, 2010

5 commits

  • * Modification of Kconfig to add the Option
    * 1 new file : buffalo-wxl-setup.c
    This file is inspired from the db-78xx0-setup.c already present.
    The following is done:
    - Configure MPP Lines for the plateform (see my patch for MPP)
    This is taken from the stock kernel provided by buffalotech (the vendor)
    - GigaBit Ethernet
    - Sata
    - Uart are initiallized in a different way than on the dev board as we
    have one core only.
    - USB

    The kernel has been running for some days now on my plateform.

    Signed-off-by: Sebastien Requiem
    Signed-off-by: Nicolas Pitre

    Sebastien Requiem
     
  • This patch is composed of two new files :

    - mpp.c which is mainly inspired by the same file as in mach-kirkwood

    - mpp.h that is written from the documentation provided by Marvell
    http://www.marvell.com/products/processors/embedded/discovery_innovation/HW_MV78100_OpenSource.pdf

    Moreover, due to some implementation problem, I have
    defined some MPPX_UNUSED that offer developers the possibility
    to SET MPP to some unused value (such as for Buffalo WXL).

    Note: This patch doesn't support MV78200 yet (only 78100 MPP lines have
    been written)

    Signed-off-by: Sebastien Requiem
    Signed-off-by: Nicolas Pitre

    Sebastien Requiem
     
  • Accept SD CD and SD WP in accordance to
    http://plugcomputer.org/data/docs/Sheeva-PowerPlug-V1.3-GTI-090906.pdf
    on MPP 47 and 44 respectively on the eSATA SheevaPlug

    Signed-off-by: John Holland
    Signed-off-by: Nicolas Pitre
    --

    John Holland
     
  • Enable the kirkwood SATA SoC interface on the eSATA SheevaPlug.

    Signed-off-by: John Holland
    Signed-off-by: Nicolas Pitre
    --

    John Holland
     
  • Allow basic eSATA SheevaPlug board configuration and build.

    Signed-off-by: John Holland
    Signed-off-by: Nicolas Pitre
    --

    John Holland
     

20 Feb, 2010

3 commits


19 Feb, 2010

9 commits


18 Feb, 2010

10 commits

  • Most laptops have keys that are intended to toggle all device state, not
    just wifi. These are currently generally mapped to KEY_WLAN. As a result,
    rfkill will only kill or enable wifi in response to the key press. This
    confuses users and can make it difficult for them to enable bluetooth
    and wwan devices.

    This patch adds a new keycode, KEY_RFKILL. It indicates that the system
    should toggle the state of all rfkillable devices.

    Signed-off-by: Matthew Garrett
    Acked-by: Marcel Holtmann
    Signed-off-by: Dmitry Torokhov

    Matthew Garrett
     
  • 633aae2 "Input: i8042 - switch to using dev_pm_ops" removed handling
    for PMSG_THAW, since we do not need to do anything during freeze and
    thus it was thougt that thaw is not needed as well. However, there is
    a period when interrupts are kept off, and if key happens to be pressed
    during that time KBC becomes jammed. To avoid the jam we simply need
    to poll KBC once during thaw.

    Signed-off-by: Alan Jenkins
    Signed-off-by: Dmitry Torokhov

    Alan Jenkins
     
  • …5108', 'pdc', 'hotplug-null-ref' and 'thinkpad' into release

    Len Brown
     
  • We broke "acpi=ht" in 2.6.32 by disabling MADT parsing
    for acpi=disabled. e5b8fc6ac158f65598f58dba2c0d52ba3b412f52
    This also broke systems which invoked acpi=ht via DMI blacklist.

    acpi=ht is a really ugly hack,
    but restore it for those that still use it.

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

    Signed-off-by: Len Brown

    Len Brown
     
  • * 'for-airlied' of git://git.freedesktop.org/git/nouveau/linux-2.6:
    drm/nouveau: Force TV encoder DPMS reinit after resume.
    drm/nouveau: use mutex for vbios lock

    Dave Airlie
     
  • Previous code did associate fence to bo before the fence was emited
    and it also didn't lock protected access to ttm sync_obj member.
    Both of this flaw leads to possible race between different code
    path. This patch fix this by associating fence only once the fence
    is emitted and properly lock protect access to sync_obj member of
    ttm.

    Fix:
    https://bugs.freedesktop.org/show_bug.cgi?id=26438
    and likely similar others bugs
    Signed-off-by: Jerome Glisse
    Signed-off-by: Dave Airlie

    Jerome Glisse
     
  • There is 3 different distinct states for an indirect buffer (IB) :
    1- free with no fence
    2- free with a fence
    3- non free (fence doesn't matter)
    Previous code mixed case 2 & 3 in a single one leading to possible
    catastrophique failure. This patch rework the handling and properly
    separate each case. So when you get ib we set the ib as non free and
    fence status doesn't matter. Fence become active (ie has a meaning
    for the ib code) once the ib is scheduled or free. This patch also
    get rid of the alloc bitmap as it was overkill, we know go through
    IB pool list like in a ring buffer as the oldest IB is the first
    one the will be free.

    Fix :
    https://bugs.freedesktop.org/show_bug.cgi?id=26438
    and likely other bugs.

    V2 remove the scheduled list, it's useless now, fix free ib scanning

    Signed-off-by: Jerome Glisse
    Signed-off-by: Dave Airlie

    Jerome Glisse
     
  • cf. https://bugzilla.redhat.com/show_bug.cgi?id=533561

    Signed-off-by: Adam Jackson
    Signed-off-by: Dave Airlie

    Adam Jackson
     
  • When the vmwgfx module is loaded on top of vesafb, it would operate in
    stealth mode in parallel with vesafb, evicting VRAM on dropmaster.

    Change that to use the vesafb handover mechanism, like other drmfb drivers.

    Signed-off-by: Thomas Hellstrom
    Signed-off-by: Dave Airlie

    Thomas Hellstrom
     
  • For usec delays use udelay instead of scheduling, this should
    allow reclocking to happen faster. This also was the cause
    of reported 33s delays at bootup on certain systems.

    fixes: freedesktop.org bug 25506

    Cc: stable@kernel.org
    Signed-off-by: Dave Airlie

    Dave Airlie
     

17 Feb, 2010

8 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6:
    serial: 8250: add serial transmitter fully empty test

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6:
    USB: gadget: fix EEM gadget CRC usage
    USB: otg Kconfig: let USB_OTG_UTILS select USB_ULPI option
    USB: g_multi: fix CONFIG_USB_G_MULTI_RNDIS usage
    kfifo: Don't use integer as NULL pointer
    USB: FHCI: Fix build after kfifo rework
    kfifo: Make kfifo_initialized work after kfifo_free
    USB: serial: add usbid for dell wwan card to sierra.c
    USB: SIS USB2VGA DRIVER: support KAIREN's USB VGA adaptor USB20SVGA-MB-PLUS
    USB: ehci: phy low power mode bug fixing
    USB: s3c-hsotg: Export usb_gadget_register_driver()
    USB: r8a66597-udc: Prototype IS_ERR() and PTR_ERR()
    USB: ftdi_sio: add device IDs (several ELV, one Mindstorms NXT)
    USB: storage: Remove unneeded SC/PR from unusual_devs.h
    USB: ftdi_sio: new device id for papouch AD4USB
    USB: usbfs: properly clean up the as structure on error paths
    USB: usbfs: only copy the actual data received

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6:
    class: Free the class private data in class_release
    sysfs: sysfs_sd_setattr set iattrs unconditionally

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (22 commits)
    be2net: set proper value to version field in req hdr
    xfrm: Fix xfrm_state_clone leak
    ipcomp: Avoid duplicate calls to ipcomp_destroy
    ethtool: allow non-admin user to read GRO settings.
    ixgbe: fix WOL register setup for 82599
    ixgbe: Fix - Do not allow Rx FC on 82598 at 1G due to errata
    sfc: Fix SFE4002 initialisation
    mac80211: fix handling of null-rate control in rate_control_get_rate
    inet: Remove bogus IGMPv3 report handling
    iwlwifi: fix AMSDU Rx after paged Rx patch
    tcp: fix ICMP-RTO war
    via-velocity: Fix races on shared interrupts
    via-velocity: Take spinlock on set coalesce
    via-velocity: Remove unused IRQ status parameter from rx_srv and tx_srv
    rtl8187: Add new device ID
    iwmc3200wifi: Test of wrong pointer after kzalloc in iwm_mlme_update_bss_table()
    ath9k: Fix sequence numbers for PAE frames
    mac80211: fix deferred hardware scan requests
    iwlwifi: Fix to set correct ht configuration
    mac80211: Fix probe request filtering in IBSS mode
    ...

    Linus Torvalds
     
  • When controlling an industrial radio modem it can be necessary to
    manipulate the handshake lines in order to control the radio modem's
    transmitter, from userspace.

    The transmitter should not be turned off before all characters have been
    transmitted. serial8250_tx_empty() was reporting that all characters were
    transmitted before they actually were.

    ===

    Discovered in parallel with more testing and analysis by Kees Schoenmakers
    as follows:

    I ran into an NetMos 9835 serial pci board which behaves a little
    different than the standard. This type of expansion board is very common.

    "Standard" 8250 compatible devices clear the 'UART_LST_TEMT" bit together
    with the "UART_LSR_THRE" bit when writing data to the device.

    The NetMos device does it slightly different

    I believe that the TEMT bit is coupled to the shift register. The problem
    is that after writing data to the device and very quickly after that one
    does call serial8250_tx_empty, it returns the wrong information.

    My patch makes the test more robust (and solves the problem) and it does
    not affect the already correct devices.

    Alan:

    We may yet need to quirk this but now we know which chips we have a
    way to do that should we find this breaks some other 8250 clone with
    dodgy THRE.

    Signed-off-by: Dick Hollenbeck
    Signed-off-by: Alan Cox
    Cc: Kees Schoenmakers
    Signed-off-by: Andrew Morton
    Cc: stable
    Signed-off-by: Greg Kroah-Hartman

    Dick Hollenbeck
     
  • Fix a memory leak by freeing the memory allocated in __class_register
    for the class private data.

    Signed-off-by: Laurent Pinchart
    Acked-by: Artem Bityutskiy
    Cc: stable
    Signed-off-by: Greg Kroah-Hartman

    Laurent Pinchart
     
  • There is currently a bug in sysfs_sd_setattr inherited from
    sysfs_setattr in 2.6.32 where the first time we set the attributes
    on a sysfs file we allocate backing store but do not set the
    backing store attributes. Resulting in overly restrictive
    permissions on sysfs files.

    The fix is to simply modify the code so that it always executes
    when we update the sysfs attributes, as we did in 2.6.31 and earlier.

    Signed-off-by: Eric W. Biederman
    Tested-by: Jean Delvare
    Cc: stable
    Signed-off-by: Greg Kroah-Hartman

    Eric W. Biederman
     
  • eem_wrap() is sending a sentinel CRC, but it didn't indicate that to
    the host, it should zero bit 14 (bmCRC) in the EEM packet header,
    instead of setting it.

    Also remove a redundant crc calculation in eem_unwrap().

    Signed-off-by: Steve Longerbeam
    Acked-by: Brian Niebuhr
    Acked-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    Brian Niebuhr