01 Jun, 2005

1 commit


31 May, 2005

3 commits


28 May, 2005

1 commit


27 May, 2005

21 commits

  • Even after the previous fix you can still set CONFIG_ACPI_BOOT
    indirectly even without CONFIG_ACPI by choosing CONFIG_PCI and
    CONFIG_PCI_MMCONFIG.

    That doesn't build very well either.

    This makes PCI_MMCONFIG depend on ACPI, fixing that hole.

    [ I guess in theory Kconfig could follow the whole chain of dependencies
    for things that get selected, but that sounds insanely complicated, so
    we'll just fix up these things by hand. --Linus ]

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

    Alexander Nyberg
     
  • Fix 2.6.12 CONFIG_ACPI=n build regression.
    CONFIG_ACPI_BOOT shall be set only if CONFIG_ACPI.

    Signed-off-by: Len Brown
    Signed-off-by: Linus Torvalds

    Len Brown
     
  • quirk_via_irqpic can't be __devinit for swsuspend

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

    Alexander Nyberg
     
  • Delete quirk_via_bridge(), restore quirk_via_irqpic() -- but now
    improved to be invoked upon device ENABLE, and now only for VIA devices
    -- not all devices behind VIA bridges.

    Signed-off-by: Bjorn Helgaas
    Signed-off-by: Len Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Len Brown
     
  • There is a race in the kernel cpuset code, between the code
    to handle notify_on_release, and the code to remove a cpuset.
    The notify_on_release code can end up trying to access a
    cpuset that has been removed. In the most common case, this
    causes a NULL pointer dereference from the routine cpuset_path.
    However all manner of bad things are possible, in theory at least.

    The existing code decrements the cpuset use count, and if the
    count goes to zero, processes the notify_on_release request,
    if appropriate. However, once the count goes to zero, unless we
    are holding the global cpuset_sem semaphore, there is nothing to
    stop another task from immediately removing the cpuset entirely,
    and recycling its memory.

    The obvious fix would be to always hold the cpuset_sem
    semaphore while decrementing the use count and dealing with
    notify_on_release. However we don't want to force a global
    semaphore into the mainline task exit path, as that might create
    a scaling problem.

    The actual fix is almost as easy - since this is only an issue
    for cpusets using notify_on_release, which the top level big
    cpusets don't normally need to use, only take the cpuset_sem
    for cpusets using notify_on_release.

    This code has been run for hours without a hiccup, while running
    a cpuset create/destroy stress test that could crash the existing
    kernel in seconds. This patch applies to the current -linus
    git kernel.

    Signed-off-by: Paul Jackson
    Acked-by: Simon Derr
    Acked-by: Dinakar Guniguntala
    Signed-off-by: Linus Torvalds

    Paul Jackson
     
  • The original pwc author raised some questions about the reverse
    engineering of the decompressor algorithms used in the pwc driver.
    Having done some detailed investigation it appears those concerns that
    clean room policy was not followed are reasonable. I've also had a
    friendly discussion with Philips to ask their view on this.

    This removes the problem items of code which reduces the pwc
    functionality in the kernel a little but leaves all the framework for
    setup that will be needed for decompressors in user space (where they
    eventually belong). This change set is designed to be the minimal risk
    change set given that 2.6.12 is hopefully close to hand, with a view to
    merging the much updated pwc code in 2.6.13 series kernels.

    Someone else can then redo the decompressors properly (clean room) in
    user space.

    Note that while its easy to say that it should have been caught earlier,
    but the violation was really only obvious to someone who had access to
    both the proprietary source and the 'GPL' source.

    Alan Cox
     
  • The change to require the DMA length to be only word-aligned was not
    safe.

    Linus Torvalds
     
  • Christoph Hellwig
     
  • Christoph Hellwig
     
  • We fixed this bug before, but it didn't take. It may have been the case
    that the problem was first noticed to occur in a CONFIG_REGPARM compile.
    But it's not regparm functions that need not to make tail calls, it's
    asmlinkage functions called with a user pt_regs frame on the stack
    supplying their arguments. prevent_tail_call probably doesn't do anything
    at all in regparm functions (your argument registers are going to be
    clobbered, period). It was a braino to conditionalize that definition in
    the first place.

    Signed-off-by: Roland McGrath
    Signed-off-by: Linus Torvalds

    Roland McGrath
     
  • Linus Torvalds
     
  • A new driver bnx2 for Broadcom bcm5706 is available.

    The patch also includes new 1000BASE-X advertisement bit definitions in
    mii.h

    Thanks to David Miller and Jeff Garzik for reviewing and their valuable
    feedback.

    Signed-off-by: Michael Chan
    Signed-off-by: David S. Miller

    Michael Chan
     
  • "_s" suffix is certainly of hungarian origin.

    Signed-off-by: Alexey Dobriyan
    Signed-off-by: David S. Miller

    Alexey Dobriyan
     
  • Signed-off-by: Alexey Dobriyan
    Signed-off-by: David S. Miller

    Alexey Dobriyan
     
  • [XFRM] Call dst_check() with appropriate cookie

    This fixes infinite loop issue with IPv6 tunnel mode.

    Signed-off-by: Kazunori Miyazawa
    Signed-off-by: Hideaki YOSHIFUJI
    Signed-off-by: David S. Miller

    Hideaki YOSHIFUJI
     
  • Correcting the list traversal makes the problem go away.

    Signed-off-by: Jay Vosburgh
    Signed-off-by: David S. Miller

    Jay Vosburgh
     
  • Here is a fixed up version of the reorder feature of netem.
    It is the same as the earlier patch plus with the bugfix from Julio merged in.
    Has expected backwards compatibility behaviour.

    Go ahead and merge this one, the TCP strangeness I was seeing was due
    to the reordering bug, and previous version of TSO patch.

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

    Stephen Hemminger
     
  • Netem works better if there if packets are just queued in the inner discipline
    rather than having a separate delayed queue. Change to use the dequeue/requeue
    to peek like TBF does.

    By doing this potential qlen problems with the old method are avoided. The problems
    happened when the netem_run that moved packets from the inner discipline to the nested
    discipline failed (because inner queue was full). This happened in dequeue, so the
    effective qlen of the netem would be decreased (because of the drop), but there was
    no way to keep the outer qdisc (caller of netem dequeue) in sync.

    The problem window is still there since this patch doesn't address the issue of
    requeue failing in netem_dequeue, but that shouldn't happen since the sequence dequeue/requeue
    should always work. Long term correct fix is to implement qdisc->peek in all the qdisc's
    to allow for this (needed by several other qdisc's as well).

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

    Stephen Hemminger
     
  • Handle duplication of packets in netem by re-inserting at top of qdisc tree.
    This avoid problems with qlen accounting with nested qdisc. This recursion
    requires no additional locking but will potentially increase stack depth.

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

    Stephen Hemminger
     
  • rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6

    Linus Torvalds
     
  • rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev

    Linus Torvalds
     

26 May, 2005

14 commits