[Pdbg] [PATCH 02/12] dts: Fix index for mca targets
Amitay Isaacs
amitay at ozlabs.org
Fri Mar 13 12:19:29 AEDT 2020
Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
---
p9.dts | 16 ++++++++--------
tests/test_p9_fapi_translation.sh | 16 ++++++++--------
2 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/p9.dts b/p9.dts
index 8a35d75..090f957 100644
--- a/p9.dts
+++ b/p9.dts
@@ -182,22 +182,22 @@
mca0 {
compatible = "ibm,power9-mca";
- index = < 0x00 >;
+ index = < 0x04 >;
};
mca1 {
compatible = "ibm,power9-mca";
- index = < 0x01 >;
+ index = < 0x05 >;
};
mca2 {
compatible = "ibm,power9-mca";
- index = < 0x02 >;
+ index = < 0x06 >;
};
mca3 {
compatible = "ibm,power9-mca";
- index = < 0x03 >;
+ index = < 0x07 >;
};
mcbist {
@@ -1683,22 +1683,22 @@
mca0 {
compatible = "ibm,power9-mca";
- index = < 0x00 >;
+ index = < 0x04 >;
};
mca1 {
compatible = "ibm,power9-mca";
- index = < 0x01 >;
+ index = < 0x05 >;
};
mca2 {
compatible = "ibm,power9-mca";
- index = < 0x02 >;
+ index = < 0x06 >;
};
mca3 {
compatible = "ibm,power9-mca";
- index = < 0x03 >;
+ index = < 0x07 >;
};
mcbist {
diff --git a/tests/test_p9_fapi_translation.sh b/tests/test_p9_fapi_translation.sh
index 3a01503..6773843 100755
--- a/tests/test_p9_fapi_translation.sh
+++ b/tests/test_p9_fapi_translation.sh
@@ -198,18 +198,18 @@ Testing /proc0/pib/chiplet at 7000000/mc at 0/mca0 0
Testing /proc0/pib/chiplet at 7000000/mc at 0/mca1 1
Testing /proc0/pib/chiplet at 7000000/mc at 0/mca2 2
Testing /proc0/pib/chiplet at 7000000/mc at 0/mca3 3
-Testing /proc0/pib/chiplet at 8000000/mc at 1/mca0 0
-Testing /proc0/pib/chiplet at 8000000/mc at 1/mca1 1
-Testing /proc0/pib/chiplet at 8000000/mc at 1/mca2 2
-Testing /proc0/pib/chiplet at 8000000/mc at 1/mca3 3
+Testing /proc0/pib/chiplet at 8000000/mc at 1/mca0 4
+Testing /proc0/pib/chiplet at 8000000/mc at 1/mca1 5
+Testing /proc0/pib/chiplet at 8000000/mc at 1/mca2 6
+Testing /proc0/pib/chiplet at 8000000/mc at 1/mca3 7
Testing /proc1/pib/chiplet at 7000000/mc at 0/mca0 0
Testing /proc1/pib/chiplet at 7000000/mc at 0/mca1 1
Testing /proc1/pib/chiplet at 7000000/mc at 0/mca2 2
Testing /proc1/pib/chiplet at 7000000/mc at 0/mca3 3
-Testing /proc1/pib/chiplet at 8000000/mc at 1/mca0 0
-Testing /proc1/pib/chiplet at 8000000/mc at 1/mca1 1
-Testing /proc1/pib/chiplet at 8000000/mc at 1/mca2 2
-Testing /proc1/pib/chiplet at 8000000/mc at 1/mca3 3
+Testing /proc1/pib/chiplet at 8000000/mc at 1/mca0 4
+Testing /proc1/pib/chiplet at 8000000/mc at 1/mca1 5
+Testing /proc1/pib/chiplet at 8000000/mc at 1/mca2 6
+Testing /proc1/pib/chiplet at 8000000/mc at 1/mca3 7
EOF
test_run libpdbg_p9_fapi_translation_test mca
--
2.24.1
More information about the Pdbg
mailing list