New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On the P8 platform, the devicetree contains duplicate unit addresses #237
Comments
It's been like this since before the inital open source release of skiboot. I'm not sure what we're supposed to be using as the unit address though. we could change it to 0xff...ff without problems though. |
I'm not sure about the memory@0, but I didn`t find a code in the Linux source, where the "reg" property or unit addr is used for "interrupt-controller" node. If I understand correctly, you are proposing to make the following changes:
? |
This patch changes the unit address of the interrupt controller node from 0 to the last - 0xffffffffffffffff, because address 0 is reserved for memory@0 node. In the device tree, it looks like this: interrupt-controller@0xffffffffffffffff { #address-cells = < 0x00 >; device_type = "PowerPC-Interrupt-Source-Controller"; compatible = "IBM,ppc-xics\0IBM,opal-xics"; #interrupt-cells = < 0x02 >; reg = < 0xffffffff 0xffffffff 0x00 0x00 >; phandle = < 0x10000454 >; interrupt-controller; }; This solves the duplicate unit-address problem: open-power#237 Signed-off-by: Maxim Polyakov <m.polyakov@yadro.com>
dtc utility on the linux host:
Nodes:
The text was updated successfully, but these errors were encountered: