diff mbox series

[02/12] dts: Fix index for mca targets

Message ID 20200313011939.279770-3-amitay@ozlabs.org
State Accepted
Headers show
Series Update fapi targets in device tree | expand

Commit Message

Amitay Isaacs March 13, 2020, 1:19 a.m. UTC
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
---
 p9.dts                            | 16 ++++++++--------
 tests/test_p9_fapi_translation.sh | 16 ++++++++--------
 2 files changed, 16 insertions(+), 16 deletions(-)
diff mbox series

Patch

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@7000000/mc@0/mca0  0
 Testing /proc0/pib/chiplet@7000000/mc@0/mca1  1
 Testing /proc0/pib/chiplet@7000000/mc@0/mca2  2
 Testing /proc0/pib/chiplet@7000000/mc@0/mca3  3
-Testing /proc0/pib/chiplet@8000000/mc@1/mca0  0
-Testing /proc0/pib/chiplet@8000000/mc@1/mca1  1
-Testing /proc0/pib/chiplet@8000000/mc@1/mca2  2
-Testing /proc0/pib/chiplet@8000000/mc@1/mca3  3
+Testing /proc0/pib/chiplet@8000000/mc@1/mca0  4
+Testing /proc0/pib/chiplet@8000000/mc@1/mca1  5
+Testing /proc0/pib/chiplet@8000000/mc@1/mca2  6
+Testing /proc0/pib/chiplet@8000000/mc@1/mca3  7
 Testing /proc1/pib/chiplet@7000000/mc@0/mca0  0
 Testing /proc1/pib/chiplet@7000000/mc@0/mca1  1
 Testing /proc1/pib/chiplet@7000000/mc@0/mca2  2
 Testing /proc1/pib/chiplet@7000000/mc@0/mca3  3
-Testing /proc1/pib/chiplet@8000000/mc@1/mca0  0
-Testing /proc1/pib/chiplet@8000000/mc@1/mca1  1
-Testing /proc1/pib/chiplet@8000000/mc@1/mca2  2
-Testing /proc1/pib/chiplet@8000000/mc@1/mca3  3
+Testing /proc1/pib/chiplet@8000000/mc@1/mca0  4
+Testing /proc1/pib/chiplet@8000000/mc@1/mca1  5
+Testing /proc1/pib/chiplet@8000000/mc@1/mca2  6
+Testing /proc1/pib/chiplet@8000000/mc@1/mca3  7
 EOF
 
 test_run libpdbg_p9_fapi_translation_test mca