From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BC121A00C2; Fri, 11 Mar 2022 20:03:35 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8807340140; Fri, 11 Mar 2022 20:03:35 +0100 (CET) Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by mails.dpdk.org (Postfix) with ESMTP id 55A5840042 for ; Fri, 11 Mar 2022 20:03:34 +0100 (CET) Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 22BGh9fv022278 for ; Fri, 11 Mar 2022 19:03:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=pp1; bh=e+7azoXTLIo0QtelJNB+jM8pvV3e0BYC5M9YV6T8Pxo=; b=jtgWL7k3mDIjlURLap7kkqZGyfQUdZ/efqZt5qBs3er/7krk8L/Eo/szMJyimJ1WzY3i c0J8l+eczceH452Arp+CRQ7I76Q/FNXBTdVhqmD0LTSVuObXQoJVDew2hSBgPjxTi2+3 ZtIMvbVIqfKhDKbx2tWWloQcBiStrUO0adx5AjKh2MeTr+lHgGcGFGOiU6OSBrkTbMeo O1FNCsw+kCPgmDcg85qWjrRx/1eMt4BryKxiJwyxuGe1PD43GohSk7BcsB94ydRw0Vwi 66+sPYQigGkmtiyAFPQ92/fehRtH7hvibisggGEpsW162gdSHEos4yw+bMlu3WkpC7Pb sw== Received: from ppma05wdc.us.ibm.com (1b.90.2fa9.ip4.static.sl-reverse.com [169.47.144.27]) by mx0a-001b2d01.pphosted.com with ESMTP id 3eqtfgm780-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 11 Mar 2022 19:03:33 +0000 Received: from pps.filterd (ppma05wdc.us.ibm.com [127.0.0.1]) by ppma05wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 22BIvF08032074 for ; Fri, 11 Mar 2022 19:03:31 GMT Received: from b03cxnp07027.gho.boulder.ibm.com (b03cxnp07027.gho.boulder.ibm.com [9.17.130.14]) by ppma05wdc.us.ibm.com with ESMTP id 3enk8xxbvu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 11 Mar 2022 19:03:31 +0000 Received: from b03ledav005.gho.boulder.ibm.com (b03ledav005.gho.boulder.ibm.com [9.17.130.236]) by b03cxnp07027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 22BJ3UGO28508418 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 11 Mar 2022 19:03:30 GMT Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3540ABE059; Fri, 11 Mar 2022 19:03:30 +0000 (GMT) Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id ED380BE053; Fri, 11 Mar 2022 19:03:29 +0000 (GMT) Received: from linux.vnet.ibm.com (unknown [9.40.193.248]) by b03ledav005.gho.boulder.ibm.com (Postfix) with ESMTP; Fri, 11 Mar 2022 19:03:29 +0000 (GMT) From: Thinh Tran To: dts@dpdk.org Cc: Thinh Tran Subject: [DTS] [PATCH] framework crb: fix incorrect core list on ppc64 Date: Fri, 11 Mar 2022 14:03:26 -0500 Message-Id: <20220311190326.567197-1-thinhtr@linux.vnet.ibm.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: jSP043ki1D4a6uTwFTTr5ALH0b1V7eWd X-Proofpoint-GUID: jSP043ki1D4a6uTwFTTr5ALH0b1V7eWd X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.64.514 definitions=2022-03-11_07,2022-03-11_02,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 phishscore=0 bulkscore=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 priorityscore=1501 malwarescore=0 adultscore=0 clxscore=1011 spamscore=0 mlxlogscore=960 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2203110095 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Add the checking for DUT arch ppc64 to get the core list correctly. Signed-off-by: Thinh Tran --- 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