1. 23 8月, 2007 10 次提交
    • B
      PCI: lets kill the 'PCI hidden behind bridge' message · d55bef51
      Bernhard Kaindl 提交于
      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: NGreg Kroah-Hartman <gregkh@suse.de>
      d55bef51
    • I
      pci/hotplug/cpqphp_ctrl.c: remove stale BKL use · 60ac8f20
      Ingo Molnar 提交于
      remove stale BKL use from drivers/pci/hotplug/cpqphp_ctrl.c.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      60ac8f20
    • R
      PCI: Document pci_iomap() · 5ca24814
      Rolf Eike Beer 提交于
      This useful interface is hardly mentioned anywhere in the in-tree
      documentation.
      Signed-off-by: NRolf Eike Beer <eike-kernel@sf-tec.de>
      Cc: Tejun Heo <htejun@gmail.com>
      Acked-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      5ca24814
    • M
      PCI: quirk_e100_interrupt() called too early · 4e68fc97
      Marian Balakowicz 提交于
      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: NMarian Balakowicz <m8@semihalf.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      4e68fc97
    • K
      PCI: Move prototypes for pci_bus_find_capability to include/linux/pci.h · ce5ccdef
      Kumar Gala 提交于
      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: NKumar Gala <galak@kernel.crashing.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      ce5ccdef
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog · 74e8f346
      Linus Torvalds 提交于
      * 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
    • L
      Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 · 7da6cd8b
      Linus Torvalds 提交于
      * '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
    • L
      Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 · 13c926e0
      Linus Torvalds 提交于
      * '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
    • L
      Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6 · 53ce2dc2
      Linus Torvalds 提交于
      * '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
    • Z
      Fix lazy mode vmalloc synchronization for paravirt · 8b14cb99
      Zachary Amsden 提交于
      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: NZachary Amsden <zach@vmware.com>
      Acked-by: NJeremy Fitzhardinge <jeremy@goop.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      8b14cb99
  2. 22 8月, 2007 21 次提交
  3. 21 8月, 2007 9 次提交