@@ -287,6 +287,16 @@
index = < 0x00 >;
reg = < 0x00 0xd000000 0xfffff >;
};
+
+ phb0 {
+ compatible = "ibm,power9-phb";
+ index = < 0x00 >;
+ };
+
+ phb1 {
+ compatible = "ibm,power9-phb";
+ index = < 0x01 >;
+ };
};
chiplet@e000000 {
@@ -301,6 +311,16 @@
index = < 0x01 >;
reg = < 0x00 0xe000000 0xfffff >;
};
+
+ phb0 {
+ compatible = "ibm,power9-phb";
+ index = < 0x02 >;
+ };
+
+ phb1 {
+ compatible = "ibm,power9-phb";
+ index = < 0x03 >;
+ };
};
chiplet@f000000 {
@@ -315,6 +335,16 @@
index = < 0x02 >;
reg = < 0x00 0xf000000 0xfffff >;
};
+
+ phb0 {
+ compatible = "ibm,power9-phb";
+ index = < 0x04 >;
+ };
+
+ phb1 {
+ compatible = "ibm,power9-phb";
+ index = < 0x05 >;
+ };
};
chiplet@10000000 {
@@ -1888,6 +1918,16 @@
index = < 0x00 >;
reg = < 0x00 0xd000000 0xfffff >;
};
+
+ phb0 {
+ compatible = "ibm,power9-phb";
+ index = < 0x00 >;
+ };
+
+ phb1 {
+ compatible = "ibm,power9-phb";
+ index = < 0x01 >;
+ };
};
chiplet@e000000 {
@@ -1902,6 +1942,16 @@
index = < 0x01 >;
reg = < 0x00 0xe000000 0xfffff >;
};
+
+ phb0 {
+ compatible = "ibm,power9-phb";
+ index = < 0x02 >;
+ };
+
+ phb1 {
+ compatible = "ibm,power9-phb";
+ index = < 0x03 >;
+ };
};
chiplet@f000000 {
@@ -1916,6 +1966,16 @@
index = < 0x02 >;
reg = < 0x00 0xf000000 0xfffff >;
};
+
+ phb0 {
+ compatible = "ibm,power9-phb";
+ index = < 0x04 >;
+ };
+
+ phb1 {
+ compatible = "ibm,power9-phb";
+ index = < 0x05 >;
+ };
};
chiplet@10000000 {
@@ -147,9 +147,20 @@ test_run libpdbg_p9_fapi_translation_test pec
test_result 0 <<EOF
+Testing /proc0/pib/chiplet@d000000/phb0 0
+Testing /proc0/pib/chiplet@d000000/phb1 1
+Testing /proc0/pib/chiplet@e000000/phb0 2
+Testing /proc0/pib/chiplet@e000000/phb1 3
+Testing /proc0/pib/chiplet@f000000/phb0 4
+Testing /proc0/pib/chiplet@f000000/phb1 5
+Testing /proc1/pib/chiplet@d000000/phb0 0
+Testing /proc1/pib/chiplet@d000000/phb1 1
+Testing /proc1/pib/chiplet@e000000/phb0 2
+Testing /proc1/pib/chiplet@e000000/phb1 3
+Testing /proc1/pib/chiplet@f000000/phb0 4
+Testing /proc1/pib/chiplet@f000000/phb1 5
EOF
-test_skip
test_run libpdbg_p9_fapi_translation_test phb
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> --- p9.dts | 60 +++++++++++++++++++++++++++++++ tests/test_p9_fapi_translation.sh | 13 ++++++- 2 files changed, 72 insertions(+), 1 deletion(-)