Re: [PATCH V7 1/3] powerpc/pci: Make sure ISA IO base is not zero

From
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date
2012-08-15 22:43:10
Reply to
Scott Wood, 2012-08-15
On Wed, 2012-08-15 at 16:57 -0500, Scott Wood wrote:
Is there no lasting remnant of that temporary wrong isa_io_base?  We
won't have I/O resources that were calculated relative to that, which
stop working once isa_io_base changes?  Or does that happen later, after
this function has been called on all buses (and would that continue to
be the case if we change the PCI bus to a platform device)?
If you continue creating your PCI busses all at once early on you'll be
fine. The platform device business is going to break that (and other
things as well btw, such as pci_final_fixup).

Maybe it's time to contemplate doing something more like ppc64 and
reserve a piece of virtual address space (I know there isn't much, so
make it 64k per bus max) and just map the busses in there with the first
64k being reserved for the ISA stuff if it exists ?

Cheers,
Ben.
Thread (14 messages) 14 messages, 4 authors, last reply 2012-08-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help