Thread (10 messages) flat view 10 messages, 3 authors, 2014-06-23

Re: [PATCH v4 1/2] ARM: shmobile: r8a7790: add internal PCI bridge nodes

From: Jason Gunthorpe <hidden>
Date: 2014-06-23 20:40:36
Also in: linux-arm-kernel, linux-sh

quoted
quoted
    Hm, are you sure about that? I thought only PCI devices should have it...
quoted
Yes, pretty sure it's needed in both the host controller and the
devices.
    I don't understand the case of the PCI devices, honestly.
Shouldn't the "device_type" prop reflect the device's functionality
rather than the bus where it's located?
It is confusingly named, but it is required on the host bridge OF node.

The spec says ' .. corresponding to a device that implements a PCI bus',
which includes the host bridge.

The key element is that it must be present on the node that introduces
the PCI 3 dword address encoding scheme, and then on all nodes below
it that use the 3 dword scheme.

Otherwise Linux common OF PCI code does not work properly.

Jason
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help