[PATCH] PCI dev node without an OF node

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Oct 5 08:43:13 EST 2005


On Tue, 2005-10-04 at 18:15 -0400, Jimi Xenidis wrote:
> >>>>> "BH" == Benjamin Herrenschmidt <benh at kernel.crashing.org> writes:
> 
>  BH> On Tue, 2005-10-04 at 15:35 -0400, Jimi Xenidis wrote:
>  >> Handing the pSeries_iommu*LP logic the device tree from a Maple-D results
>  >> in PCI dev  nodes that do not have a corresponding OF node.
> 
>  BH> I'm not sure your patch is 100% correct, but then, we also shouldn't
>  BH> have called pSeries_iommu.c code on Maple neither in the first place
>  BH> unless you have put some kind of PAPR-like hypervisor on it (but still,
>  BH> the Maple has no TCEs so it shouldn't call this code).
> 
> In our world of Xen/Hypervisor on Maple this is entirely possible for
> the Dom0/Alpha-LPAR, where the HTAB and DART are controlled via PAPR
> H_CALLS. :-)

Ah, indeed... Oh well, just make sure that when a device calls
pci_map_blah() it works wether the device has a node or not.

Ben.





More information about the Linuxppc64-dev mailing list