[Pdbg] [PATCH 04/12] dts: Fix index for mcbist targets

Amitay Isaacs amitay at ozlabs.org
Fri Mar 13 12:19:31 AEDT 2020


Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
---
 p9.dts                            | 4 ++--
 tests/test_p9_fapi_translation.sh | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/p9.dts b/p9.dts
index 199254c..835c433 100644
--- a/p9.dts
+++ b/p9.dts
@@ -212,7 +212,7 @@
 
 					mcbist {
 						compatible = "ibm,power9-mcbist";
-						index = < 0x00 >;
+						index = < 0x01 >;
 					};
 				};
 			};
@@ -1723,7 +1723,7 @@
 
 					mcbist {
 						compatible = "ibm,power9-mcbist";
-						index = < 0x00 >;
+						index = < 0x01 >;
 					};
 				};
 			};
diff --git a/tests/test_p9_fapi_translation.sh b/tests/test_p9_fapi_translation.sh
index 7f7ea21..e4d8233 100755
--- a/tests/test_p9_fapi_translation.sh
+++ b/tests/test_p9_fapi_translation.sh
@@ -221,9 +221,9 @@ test_run libpdbg_p9_fapi_translation_test mca
 
 test_result 0 <<EOF
 Testing /proc0/pib/chiplet at 7000000/mc at 0/mcbist  0
-Testing /proc0/pib/chiplet at 8000000/mc at 1/mcbist  0
+Testing /proc0/pib/chiplet at 8000000/mc at 1/mcbist  1
 Testing /proc1/pib/chiplet at 7000000/mc at 0/mcbist  0
-Testing /proc1/pib/chiplet at 8000000/mc at 1/mcbist  0
+Testing /proc1/pib/chiplet at 8000000/mc at 1/mcbist  1
 EOF
 
 test_run libpdbg_p9_fapi_translation_test mcbist
-- 
2.24.1



More information about the Pdbg mailing list