[DTS] [PATCH] framework crb: fix incorrect core list on ppc64
Thinh Tran
thinhtr at linux.vnet.ibm.com
Fri Mar 11 20:03:26 CET 2022
Add the checking for DUT arch ppc64 to get the core list correctly.
Signed-off-by: Thinh Tran <thinhtr at linux.vnet.ibm.com>
---
framework/crb.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/framework/crb.py b/framework/crb.py
index c9909add..7db9e2b7 100755
--- a/framework/crb.py
+++ b/framework/crb.py
@@ -676,7 +676,7 @@ class Crb(object):
if self.crb['bypass core0'] and core == '0' and socket == '0':
self.logger.info("Core0 bypassed")
continue
- if self.crb.get('dut arch') == "arm64":
+ if self.crb.get('dut arch') == "arm64" or self.crb.get('dut arch') == "ppc64" :
self.cores.append(
{'thread': thread, 'socket': node, 'core': coremap[core]})
else:
--
2.27.0
More information about the dts
mailing list