27 Feb, 2010

26 commits


26 Feb, 2010

1 commit


25 Feb, 2010

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus: (44 commits)
    Add MAINTAINERS entry for virtio_console
    virtio: console: Fill ports' entire in_vq with buffers
    virtio: console: Error out if we can't allocate buffers for control queue
    virtio: console: Add ability to remove module
    virtio: console: Ensure no memleaks in case of unused buffers
    virtio: console: show error message if hvc_alloc fails for console ports
    virtio: console: Add debugfs files for each port to expose debug info
    virtio: console: Add ability to hot-unplug ports
    virtio: console: Handle port hot-plug
    virtio: console: Remove cached data on port close
    virtio: console: Register with sysfs and create a 'name' attribute for ports
    virtio: console: Ensure only one process can have a port open at a time
    virtio: console: Add file operations to ports for open/read/write/poll
    virtio: console: Associate each port with a char device
    virtio: console: Prepare for writing to userspace buffers
    virtio: console: Add a new MULTIPORT feature, support for generic ports
    virtio: console: Introduce a send_buf function for a common path for sending data to host
    virtio: console: Introduce function to hand off data from host to readers
    virtio: console: Separate out find_vqs operation into a different function
    virtio: console: Separate out console init into a new function
    ...

    Linus Torvalds
     

24 Feb, 2010

3 commits

  • Two years ago 5bbf89fc2608 removed the horrible bzImage unpacking code.
    Now it's time to remove the unneeded zlib.h include, too.

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
    net: bug fix for vlan + gro issue
    tc35815: Remove a wrong netif_wake_queue() call which triggers BUG_ON
    cdc_ether: new PID for Ericsson C3607w to the whitelist (resubmit)
    IPv6: better document max_addresses parameter
    MAINTAINERS: update mv643xx_eth maintenance status
    e1000: Fix DMA mapping error handling on RX
    iwlwifi: sanity check before counting number of tfds can be free
    iwlwifi: error checking for number of tfds in queue
    iwlwifi: set HT flags after channel in rxon

    Linus Torvalds
     
  • The main benefit of using ACPI host bridge window information is that
    we can do better resource allocation in systems with multiple host bridges,
    e.g., http://bugzilla.kernel.org/show_bug.cgi?id=14183

    Sometimes we need _CRS information even if we only have one host bridge,
    e.g., https://bugs.launchpad.net/ubuntu/+source/linux/+bug/341681

    Most of these systems are relatively new, so this patch turns on
    "pci=use_crs" only on machines with a BIOS date of 2008 or newer.

    Signed-off-by: Bjorn Helgaas
    Signed-off-by: Jesse Barnes

    Bjorn Helgaas
     

23 Feb, 2010

3 commits

  • Andrew Morton wrote:
    >> >From ip-sysctl.txt file in kernel documentation I can see following description
    >> for max_addresses:
    >> max_addresses - INTEGER
    >> Number of maximum addresses per interface. 0 disables limitation.
    >> It is recommended not set too large value (or 0) because it would
    >> be too easy way to crash kernel to allow to create too much of
    >> autoconfigured addresses.
    ^^^^^^^^^^^^^^

    >> If this parameter applies only for auto-configured IP addressed, please state
    >> it more clearly in docs or rename the parameter to show that it refers to
    >> auto-configuration.

    It did mention autoconfigured in the text, but the below makes it more obvious.

    More clearly document IPv6 max_addresses parameter.

    Signed-off-by: Brian Haley
    Signed-off-by: David S. Miller

    Brian Haley
     
  • Apparently, some machines may have problems with PCI run-time power
    management if MSIs are used for the native PCIe PME signaling. In
    particular, on the MSI Wind U-100 PCIe PME interrupts are not
    generated by a PCIe root port after a resume from suspend to RAM, if
    the system wake-up was triggered by a PME from the device attached to
    this port. [It doesn't help to free the interrupt on suspend and
    request it back on resume, even if that is done along with disabling
    the MSI and re-enabling it, respectively.] However, if INTx
    interrupts are used for this purpose on the same machine, everything
    works just fine.

    For this reason, add a kernel command line switch allowing one to
    request that MSIs be not used for the native PCIe PME signaling,
    introduce a DMI table allowing us to blacklist machines that need
    this switch to be set by default and put the MSI Wind U-100 into this
    table.

    Signed-off-by: Rafael J. Wysocki
    Signed-off-by: Jesse Barnes

    Rafael J. Wysocki
     
  • PCIe native PME detection mechanism is based on interrupts generated
    by root ports or event collectors every time a PCIe device sends a
    PME message upstream.

    Once a PME message has been sent by an endpoint device and received
    by its root port (or event collector in the case of root complex
    integrated endpoints), the Requester ID from the message header is
    registered in the root port's Root Status register. At the same
    time, the PME Status bit of the Root Status register is set to
    indicate that there's a PME to handle. If PCIe PME interrupt is
    enabled for the root port, it generates an interrupt once the PME
    Status has been set. After receiving the interrupt, the kernel can
    identify the PCIe device that generated the PME using the Requester
    ID from the root port's Root Status register. [For details, see PCI
    Express Base Specification, Rev. 2.0.]

    Implement a driver for the PCIe PME root port service working in
    accordance with the above description.

    Based on a patch from Shaohua Li .

    Signed-off-by: Rafael J. Wysocki
    Signed-off-by: Jesse Barnes

    Rafael J. Wysocki
     

21 Feb, 2010

1 commit

  • Some glibc versions intentionally create lots of alignment faults in
    their gconv code, which if not fixed up, results in segfaults during
    boot. This can prevent systems booting properly.

    There is no clear hard-configurable default for this; the desired
    default depends on the nature of the userspace which is going to be
    booted.

    So, provide a way for the alignment fault handler to be configured via
    the kernel command line.

    Signed-off-by: Russell King

    Russell King
     

18 Feb, 2010

2 commits


09 Feb, 2010

1 commit


07 Feb, 2010

1 commit

  • With the movement of the ima hooks functions were renamed from *path* to
    *file* since they always deal with struct file. This patch renames some of
    the ima internal flags to make them consistent with the rest of the code.

    Signed-off-by: Mimi Zohar
    Signed-off-by: Eric Paris
    Signed-off-by: Al Viro

    Mimi Zohar
     

03 Feb, 2010

1 commit