[Pdbg] [PATCH 03/12] dts: Fix index for mcs targets
Amitay Isaacs
amitay at ozlabs.org
Fri Mar 13 12:19:30 AEDT 2020
Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
---
p9.dts | 28 ++++++++++++++++++++++++----
tests/test_p9_fapi_translation.sh | 8 ++++++--
2 files changed, 30 insertions(+), 6 deletions(-)
diff --git a/p9.dts b/p9.dts
index 090f957..199254c 100644
--- a/p9.dts
+++ b/p9.dts
@@ -75,9 +75,14 @@
compatible = "ibm,power9-nest";
index = < 0x01 >;
- mcs1 {
+ mcs2 {
compatible = "ibm,power9-mcs";
- index = < 0x01 >;
+ index = < 0x02 >;
+ };
+
+ mcs3 {
+ compatible = "ibm,power9-mcs";
+ index = < 0x03 >;
};
};
};
@@ -111,6 +116,11 @@
compatible = "ibm,power9-mcs";
index = < 0x00 >;
};
+
+ mcs1 {
+ compatible = "ibm,power9-mcs";
+ index = < 0x01 >;
+ };
};
};
@@ -1576,9 +1586,14 @@
compatible = "ibm,power9-nest";
index = < 0x01 >;
- mcs1 {
+ mcs2 {
compatible = "ibm,power9-mcs";
- index = < 0x01 >;
+ index = < 0x02 >;
+ };
+
+ mcs3 {
+ compatible = "ibm,power9-mcs";
+ index = < 0x03 >;
};
};
};
@@ -1612,6 +1627,11 @@
compatible = "ibm,power9-mcs";
index = < 0x00 >;
};
+
+ mcs1 {
+ compatible = "ibm,power9-mcs";
+ index = < 0x01 >;
+ };
};
};
diff --git a/tests/test_p9_fapi_translation.sh b/tests/test_p9_fapi_translation.sh
index 6773843..7f7ea21 100755
--- a/tests/test_p9_fapi_translation.sh
+++ b/tests/test_p9_fapi_translation.sh
@@ -184,10 +184,14 @@ test_run libpdbg_p9_fapi_translation_test omi
test_result 0 <<EOF
-Testing /proc0/pib/chiplet at 3000000/n1/mcs1 1
+Testing /proc0/pib/chiplet at 3000000/n1/mcs2 2
+Testing /proc0/pib/chiplet at 3000000/n1/mcs3 3
Testing /proc0/pib/chiplet at 5000000/n3/mcs0 0
-Testing /proc1/pib/chiplet at 3000000/n1/mcs1 1
+Testing /proc0/pib/chiplet at 5000000/n3/mcs1 1
+Testing /proc1/pib/chiplet at 3000000/n1/mcs2 2
+Testing /proc1/pib/chiplet at 3000000/n1/mcs3 3
Testing /proc1/pib/chiplet at 5000000/n3/mcs0 0
+Testing /proc1/pib/chiplet at 5000000/n3/mcs1 1
EOF
test_run libpdbg_p9_fapi_translation_test mcs
--
2.24.1
More information about the Pdbg
mailing list