1. Aug 23, 2007
    • Bernhard Kaindl's avatar
      PCI: lets kill the 'PCI hidden behind bridge' message · d55bef51
      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>
      Cc: stable <stable@kernel.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      d55bef51
    • Ingo Molnar's avatar
      pci/hotplug/cpqphp_ctrl.c: remove stale BKL use · 60ac8f20
      Ingo Molnar authored
      
      
      remove stale BKL use from drivers/pci/hotplug/cpqphp_ctrl.c.
      
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      60ac8f20
    • Rolf Eike Beer's avatar
      PCI: Document pci_iomap() · 5ca24814
      Rolf Eike Beer authored
      
      
      This useful interface is hardly mentioned anywhere in the in-tree
      documentation.
      
      Signed-off-by: default avatarRolf Eike Beer <eike-kernel@sf-tec.de>
      Cc: Tejun Heo <htejun@gmail.com>
      Acked-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      5ca24814
    • Marian Balakowicz's avatar
      PCI: quirk_e100_interrupt() called too early · 4e68fc97
      Marian Balakowicz authored
      
      
      quirk_e100_interrupts() is called after PCI controller is initialized
      and before PCI bus enumeration is performed. On some powerpc platforms
      which modify PCI controller configuration and set different MEM and IO
      windows than those set by firmware quirk_e100_interrupt() is causing
      kernel panic as it tries to read from device BAR0 offets which at this
      time points to a invalid PCI window (set by firmware).
      
      This patch delays the quirk_100_interrupt() to pci_fixup_final phase,
      which happens after bus enumeration and before PCI enable and
      device driver initialization.
      
      Signed-off-by: default avatarMarian Balakowicz <m8@semihalf.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      4e68fc97
    • Kumar Gala's avatar
      PCI: Move prototypes for pci_bus_find_capability to include/linux/pci.h · ce5ccdef
      Kumar Gala authored
      
      
      We need pci_bus_find_capability() in some arch/powerpc code so move
      the prototype into a header accessible to it.
      
      Also kill the duplicate prototype for pci_bus_alloc_resource().
      
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      ce5ccdef
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog · 74e8f346
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog:
        [WATCHDOG] Add support for 1533 bridge to alim1535_wdt
        [WATCHDOG] Add a 00-INDEX file to Documentation/watchdog/
        [WATCHDOG] Eurotechwdt.c - clean-up comments
      74e8f346
    • Linus Torvalds's avatar
      Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 · 7da6cd8b
      Linus Torvalds authored
      * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
        [SPARC32]: Revert f642b263.
        [SPARC64]: Need to clobber global reg vars in switch_to().
      7da6cd8b
    • Linus Torvalds's avatar
      Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 · 13c926e0
      Linus Torvalds authored
      * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
        [IRDA] irda_nl_get_mode: always results in failure
        [PPP]: Fix output buffer size in ppp_decompress_frame().
        [IRDA]: Avoid a label defined but not used warning in irda_init()
        [IPV6]: Fix kernel panic while send SCTP data with IP fragments
        [SNAP]: Check packet length before reading
        [DCCP]: Allocation in atomic context
      13c926e0
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6 · 53ce2dc2
      Linus Torvalds authored
      * 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6:
        [S390] Change atomic_read/set to inline functions with barrier semantics.
        [S390] kprobes: fix instruction length calculation
        [S390] hypfs: inode corruption due to missing locking
        [S390] disassembler: fix b2 opcodes like srst, bsg, and others
        [S390] vmur: fix reference counting for vmur device structure
        [S390] vmur: fix diag14 exceptions with addresses > 2GB.
        [S390] qdio: Refresh buffer states for IQDIO Asynchronous output queue
        [S390] qdio: fix EQBS handling on CCQ96
        [S390] cio: change confusing message in cmf.
        [S390] cio: dont forget to set last slot to NULL in ccw_uevent().
      53ce2dc2
    • Zachary Amsden's avatar
      Fix lazy mode vmalloc synchronization for paravirt · 8b14cb99
      Zachary Amsden authored
      
      
      Touching vmalloc memory in the middle of a lazy mode update can generate
      a kernel PDE update, which must be flushed immediately.  The fix is to
      leave lazy mode when doing a vmalloc sync.
      
      Signed-off-by: default avatarZachary Amsden <zach@vmware.com>
      Acked-by: default avatarJeremy Fitzhardinge <jeremy@goop.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      8b14cb99
  2. Aug 22, 2007
  3. Aug 21, 2007