@@ -279,18 +279,42 @@
compatible = "ibm,power9-chiplet";
index = < 0x0d >;
reg = < 0x00 0xd000000 0xfffff >;
+ #address-cells = < 0x02 >;
+ #size-cells = < 0x01 >;
+
+ pec@d000000 {
+ compatible = "ibm,power9-pec";
+ index = < 0x00 >;
+ reg = < 0x00 0xd000000 0xfffff >;
+ };
};
chiplet@e000000 {
compatible = "ibm,power9-chiplet";
index = < 0x0e >;
reg = < 0x00 0xe000000 0xfffff >;
+ #address-cells = < 0x02 >;
+ #size-cells = < 0x01 >;
+
+ pec@e000000 {
+ compatible = "ibm,power9-pec";
+ index = < 0x01 >;
+ reg = < 0x00 0xe000000 0xfffff >;
+ };
};
chiplet@f000000 {
compatible = "ibm,power9-chiplet";
index = < 0x0f >;
reg = < 0x00 0xf000000 0xfffff >;
+ #address-cells = < 0x02 >;
+ #size-cells = < 0x01 >;
+
+ pec@f000000 {
+ compatible = "ibm,power9-pec";
+ index = < 0x02 >;
+ reg = < 0x00 0xf000000 0xfffff >;
+ };
};
chiplet@10000000 {
@@ -1856,18 +1880,42 @@
compatible = "ibm,power9-chiplet";
index = < 0x0d >;
reg = < 0x00 0xd000000 0xfffff >;
+ #address-cells = < 0x02 >;
+ #size-cells = < 0x01 >;
+
+ pec@d000000 {
+ compatible = "ibm,power9-pec";
+ index = < 0x00 >;
+ reg = < 0x00 0xd000000 0xfffff >;
+ };
};
chiplet@e000000 {
compatible = "ibm,power9-chiplet";
index = < 0x0e >;
reg = < 0x00 0xe000000 0xfffff >;
+ #address-cells = < 0x02 >;
+ #size-cells = < 0x01 >;
+
+ pec@e000000 {
+ compatible = "ibm,power9-pec";
+ index = < 0x01 >;
+ reg = < 0x00 0xe000000 0xfffff >;
+ };
};
chiplet@f000000 {
compatible = "ibm,power9-chiplet";
index = < 0x0f >;
reg = < 0x00 0xf000000 0xfffff >;
+ #address-cells = < 0x02 >;
+ #size-cells = < 0x01 >;
+
+ pec@f000000 {
+ compatible = "ibm,power9-pec";
+ index = < 0x02 >;
+ reg = < 0x00 0xf000000 0xfffff >;
+ };
};
chiplet@10000000 {
@@ -135,9 +135,14 @@ test_run libpdbg_p9_fapi_translation_test nv
test_result 0 <<EOF
+Testing /proc0/pib/chiplet@d000000/pec@d000000 0
+Testing /proc0/pib/chiplet@e000000/pec@e000000 1
+Testing /proc0/pib/chiplet@f000000/pec@f000000 2
+Testing /proc1/pib/chiplet@d000000/pec@d000000 0
+Testing /proc1/pib/chiplet@e000000/pec@e000000 1
+Testing /proc1/pib/chiplet@f000000/pec@f000000 2
EOF
-test_skip
test_run libpdbg_p9_fapi_translation_test pec
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> --- p9.dts | 48 +++++++++++++++++++++++++++++++ tests/test_p9_fapi_translation.sh | 7 ++++- 2 files changed, 54 insertions(+), 1 deletion(-)