1. 26 Sep, 2007 27 commits
  2. 25 Sep, 2007 2 commits
  3. 21 Sep, 2007 2 commits
  4. 31 Aug, 2007 9 commits
    • Greg Kroah-Hartman's avatar
      Linux 2.6.22.6 · 14d33e7f
      Greg Kroah-Hartman authored
      14d33e7f
    • Kay Sievers's avatar
      usb: add PRODUCT, TYPE to usb-interface events · 233b8a1e
      Kay Sievers authored
      This fixes a regression for userspace programs that were relying on these events.
      Signed-off-by: default avatarKay Sievers <kay.sievers@vrfy.org>
      Cc: Andreas Jellinghaus <aj@ciphirelabs.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      233b8a1e
    • Oliver Neukum's avatar
      USB: fix DoS in pwc USB video driver · 852ffe0a
      Oliver Neukum authored
      the pwc driver has a disconnect method that waits for user space to
      close the device. This opens up an opportunity for a DoS attack,
      blocking the USB subsystem and making khubd's task busy wait in
      kernel space. This patch shifts freeing resources to close if an opened
      device is disconnected.
      Signed-off-by: default avatarOliver Neukum <oneukum@suse.de>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      852ffe0a
    • Alan Stern's avatar
      USB: allow retry on descriptor fetch errors · 8e62c5a4
      Alan Stern authored
      This patch (as964) was suggested by Steffen Koepf.  It makes
      usb_get_descriptor() retry on all errors other than ETIMEDOUT, instead
      of only on EPIPE.  This helps with some devices.
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      8e62c5a4
    • Tejun Heo's avatar
      PCI: disable MSI on RX790 · cd7f435f
      Tejun Heo authored
      RX790 can't do MSI like its predecessors.  Disable MSI on RX790.
      Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      cd7f435f
    • Tejun Heo's avatar
      PCI: disable MSI on RD580 · 41ef7dce
      Tejun Heo authored
      RD580 can't do MSI like its predecessors.  Disable MSI on RD580.
      Signed-off-by: default avatarTejun Heo <teheo@suse.de>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      41ef7dce
    • Tejun Heo's avatar
      PCI: disable MSI on RS690 · 1674e24c
      Tejun Heo authored
      RS690 can't do MSI like its predecessors.  Disable MSI on RS690.
      Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
      Cc: Henry Su <henry.su@amd.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      1674e24c
    • Bernhard Kaindl's avatar
      PCI: lets kill the 'PCI hidden behind bridge' message · 2124e377
      Bernhard Kaindl authored
      Adrian Bunk wrote:
      > Alois Nešpor wrote
      >> PCI: Bus #0b (-#0e) is hidden behind transparent bridge #0a (-#0b) (try 'pci=assign-busses')
      >> Please report the result to linux-kernel to fix this permanently"
      >>
      >> dmesg:
      >> "Yenta: Raising subordinate bus# of parent bus (#0a) from #0b to #0e"
      >> without pci=assign-busses and nothing with pci=assign-busses.
      >
      > Bernhard?
      
      Ok, lets kill the message. As Alois Nešpor also saw, that's fixed up by Yenta,
      so PCI does not have to warn about it. PCI could still warn about it if
      is_cardbus is 0 in that instance of pci_scan_bridge(), but so far I have
      not seen a report where this would have been the case so I think we can
      spare the kernel of that check (removes ~300 lines of asm) unless debugging
      is done.
      
      History: The whole check was added in the days before we had the fixup
      for this in Yenta and pci=assign-busses was the only way to get CardBus
      cards detected on many (not all) of the machines which give this warning.
      
      In theory, there could be cases when this warning would be triggered and
      it's not cardbus, then the warning should still apply, but I think this
      should only be the case when working on a completely broken PCI setup,
      but one may have already enabled the debug code in drivers/pci and the
      patched check would then trigger.
      
      I do not sign this off yet because it's completely untested so far, but
      everyone is free to test it (with the #ifdef DEBUG replaced by #if 1 and
      pr_debug( changed to printk(.
      
      We may also dump the whole check (remove everything within the #ifdef from
      the source) if that's perferred.
      
      On Alois Nešpor's machine this would then (only when debugging) this message:
      
      "PCI: Bus #0b (-#0e) is partially hidden behind transparent bridge #0a (-#0b)"
      
      "partially" should be in the message on his machine because #0b of #0b-#0e
      is reachable behind #0a-#0b, but not #0c-#0e.
      
      But that differentiation is now moot anyway because the fixup in Yenta takes
      care of it as far as I could see so far, which means that unless somebody
      is debugging a totally broken PCI setup, this message is not needed anymore,
      not even for debugging PCI.
      
      
      Ok, here the patch with the following changes:
      
      * Refined to say that the bus is only partially hidden when the parent
        bus numbers are not totally way off (outside of) the child bus range
      * remove the reference to pci=assign-busses and the plea to report it
      
      We could add a pure source code-only comment to keep a reference to
      pci=assign-busses the in case when this is triggered by someone who
      is debugging the cause of this message and looking the way to solve it.
      
      From: Bernhard Kaindl <bk@suse.de>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      2124e377
    • Konstantin Sharlaimov's avatar
      PPP: Fix PPP buffer sizing. · 19de71f9
      Konstantin Sharlaimov authored
      This patch addresses the issue with "osize too small" errors in mppe
      encryption.  The patch fixes the issue with wrong output buffer size
      being passed to ppp decompression routine.
      
      --------------------
      As pointed out by Suresh Mahalingam, the issue addressed by
      ppp-fix-osize-too-small-errors-when-decoding patch is not fully resolved yet.
      The size of allocated output buffer is correct, however it size passed to
      ppp->rcomp->decompress in ppp_generic.c if wrong. The patch fixes that.
      --------------------
      Signed-off-by: default avatarKonstantin Sharlaimov <konstantin.sharlaimov@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      19de71f9