test suite reviews and discussions
 help / color / mirror / Atom feed
* [DTS] [PATCH] framework crb: fix incorrect core list on ppc64
@ 2022-03-11 19:03 Thinh Tran
  2022-03-15  2:47 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Thinh Tran @ 2022-03-11 19:03 UTC (permalink / raw)
  To: dts; +Cc: Thinh Tran

Add the checking for DUT arch ppc64 to get the core list correctly.


Signed-off-by: Thinh Tran <thinhtr@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [DTS] [PATCH] framework crb: fix incorrect core list on ppc64
  2022-03-11 19:03 [DTS] [PATCH] framework crb: fix incorrect core list on ppc64 Thinh Tran
@ 2022-03-15  2:47 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2022-03-15  2:47 UTC (permalink / raw)
  To: Thinh Tran, dts

> -----Original Message-----
> From: Thinh Tran <thinhtr@linux.vnet.ibm.com>
> Sent: 2022年3月12日 3:03
> To: dts@dpdk.org
> Cc: Thinh Tran <thinhtr@linux.vnet.ibm.com>
> Subject: [DTS] [PATCH] framework crb: fix incorrect core list on ppc64
> 
> Add the checking for DUT arch ppc64 to get the core list correctly.
> 
> 
> Signed-off-by: Thinh Tran <thinhtr@linux.vnet.ibm.com>

Applied, thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-15  2:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-11 19:03 [DTS] [PATCH] framework crb: fix incorrect core list on ppc64 Thinh Tran
2022-03-15  2:47 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).