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 0B5C2432BF; Tue, 7 Nov 2023 03:42:28 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A0B5C402B5; Tue, 7 Nov 2023 03:42:27 +0100 (CET) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2057.outbound.protection.outlook.com [40.107.20.57]) by mails.dpdk.org (Postfix) with ESMTP id DBC59402A1 for ; Tue, 7 Nov 2023 03:42:26 +0100 (CET) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=nCNuVvlB5SyGm/UIyhklyNm5Lftc5/cX8DCV1xUgxBgUX2XbwTss+mJDofRIc2mk2BYRZdnFOHm6fCjUP9mmzTkmJmjhsZPxr2MGkyCxEKEV8I2d8QYXMq8c7x/xF0iV6GnBo21QAggoX3ghfTzFgkc414H1wkh++h7H4oytXnfEDlV1A8cl5B5T6udBuaour4mxGhFmjRitajlfyyTNUryJskzk0LPnaqj7VsOkcg4Q8FHhOZTNUZR9Nhk1ODI3U4psqOGGsz+6eqOOby5pzdjBwceyGsa2hzGb2ZGMFjIP1FZa8TGEcjQ8NZmXDywXKU8UPnbsla+EAuqJPt3Sgw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=rtIUuwhL2HEI+p6nZeFhUDmrbXdnl/Wbu/s1vuskSzM=; b=IGMlwKaTvTmLYnMsQfj/BQXs+TSDLByJvhVplF7dI088bc1R6EAI50Y7oykXPl9/8vMnY4XTTNAFZ6VrFAKOqL/JKwEMn8MRhesMVl6NtqgqbqhcKZgwTI0sEnYWtIMroDVsl1R9ndrgLWI63McyKpcSYHWZVG+zWRiPvXmfSSeD/fbnd3izptEzZ2skiUs5QWlgxgyT+ut4HABL7ZjGzXmGCywpd5irRuC6YxJCe5LXIHvIoC/S9sLmF6lTpz2G5VZqIVMwJ4ghl/yqZyJYowXYHe32+2c3MNcOWd3lOBmli8ZVEwY9oJCV5pWIWTFN2TQZFxrcqYS/hqAtUL4yqQ== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=dpdk.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rtIUuwhL2HEI+p6nZeFhUDmrbXdnl/Wbu/s1vuskSzM=; b=JkvVXtfslGl7gFWcwCbkeehdeaF0UZoCJgUWn9u57Zt1WmcX8m5GWpXLhvdFWHKNou4OvYVnN+7DLtbBvzgH5egmyCam4RLsNnZAzw1HYwUtXHf/B4kzjOOe3iTggsUkeP23i32CYmzB+gwc0Mk3cZxcNm55TEUDd5maC4OHPvQ= Received: from AM6P192CA0089.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:8d::30) by DU0PR08MB9370.eurprd08.prod.outlook.com (2603:10a6:10:420::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.27; Tue, 7 Nov 2023 02:42:20 +0000 Received: from AMS0EPF00000199.eurprd05.prod.outlook.com (2603:10a6:209:8d:cafe::e6) by AM6P192CA0089.outlook.office365.com (2603:10a6:209:8d::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.27 via Frontend Transport; Tue, 7 Nov 2023 02:42:19 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AMS0EPF00000199.mail.protection.outlook.com (10.167.16.245) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6977.17 via Frontend Transport; Tue, 7 Nov 2023 02:42:19 +0000 Received: ("Tessian outbound 385ad2f98d71:v228"); Tue, 07 Nov 2023 02:42:19 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 36e379677cead4dc X-CR-MTA-TID: 64aa7808 Received: from 1d4ff85b187e.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 14FC2B7F-2103-455F-960E-F5FC68656606.1; Tue, 07 Nov 2023 02:42:12 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 1d4ff85b187e.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 07 Nov 2023 02:42:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OVIn1E+EiZRS3e5sZAN+SbUEm3leB8oX+g+v+NMpRDzwQ2NrVn1M8aIxza3Kle2khm0UPH6txqSDgrXwMdKalvxfRBb6fEp0vH+VFSVtNzZ4qNOD4KSUzV1YjB/K7nPGtffuIztX47vfeVeA0XbrnxcybEwGUbO3dKTVC5a23ZstFBTI7BmNQUKXkQ8dlzYtY0ufZ1PTvtzRnqaMvtyOxbVlragAywwGB3IUtJ2IAbNjIA330wJ0j8Sg0+f58FU4F89gM5ljxAkjJYP+GFGX/K59CqUXhwPwuAx9DouBnOIOPc5Q3NPWHh5aj5IhDLnONHGVMF+7VXgwpiT5aP6DeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=rtIUuwhL2HEI+p6nZeFhUDmrbXdnl/Wbu/s1vuskSzM=; b=bYxnaoCuqpJ1N+zyPU68XSNGCkNY/HmuWNArpJ1k52ugj08E269TKK7wYtXw6Jz7Ti5W6uyF9qmma0OVzeK6lJ+2suyCZJuudnBDAOaBAlaJ+p5j4aZOHMmxQDvwOlvarH23PwTiUD2bq0fd/3Nd3AP3qcYz2fSRe78XBrTkEVomv/2rgR6SikUiF0U7K5Wrg35dPR9NvP7J1C3vSbsirFMSmyXM4D0LSEHHXQhgYP/srvcXt2tNE0o38UdNYipiDzGi0ZFd4guebEaSi9FTSEGBVSY0FnWdwMp8B7MXmmHXhtoWMlSZI/WyqlIAgkbgq3NqkA4TLrfGe5t1ZJj2sA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rtIUuwhL2HEI+p6nZeFhUDmrbXdnl/Wbu/s1vuskSzM=; b=JkvVXtfslGl7gFWcwCbkeehdeaF0UZoCJgUWn9u57Zt1WmcX8m5GWpXLhvdFWHKNou4OvYVnN+7DLtbBvzgH5egmyCam4RLsNnZAzw1HYwUtXHf/B4kzjOOe3iTggsUkeP23i32CYmzB+gwc0Mk3cZxcNm55TEUDd5maC4OHPvQ= Received: from AS4PR08MB7712.eurprd08.prod.outlook.com (2603:10a6:20b:513::6) by DB9PR08MB9658.eurprd08.prod.outlook.com (2603:10a6:10:461::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.28; Tue, 7 Nov 2023 02:42:10 +0000 Received: from AS4PR08MB7712.eurprd08.prod.outlook.com ([fe80::4bd:9642:ea78:a9a9]) by AS4PR08MB7712.eurprd08.prod.outlook.com ([fe80::4bd:9642:ea78:a9a9%4]) with mapi id 15.20.6954.028; Tue, 7 Nov 2023 02:42:08 +0000 From: Joyce Kong To: "thomas@monjalon.net" , Ruifeng Wang CC: "dev@dpdk.org" , Bruce Richardson , Paul Szczepanek , nd Subject: RE: [PATCH v1] config/arm: correct cpu arch for cross build Thread-Topic: [PATCH v1] config/arm: correct cpu arch for cross build Thread-Index: AQHZ1Mz5NYaLBS9bjEKYGIlMAqvglrBOuksAgAB7u4CAHpZBgIAAAKsggAAX9YCAALSOYA== Date: Tue, 7 Nov 2023 02:42:08 +0000 Message-ID: References: <20230822074743.3243015-1-joyce.kong@arm.com> <4497027.8F6SAcFxjW@thomas> <1979791.8hb0ThOEGa@thomas> In-Reply-To: <1979791.8hb0ThOEGa@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: AS4PR08MB7712:EE_|DB9PR08MB9658:EE_|AMS0EPF00000199:EE_|DU0PR08MB9370:EE_ X-MS-Office365-Filtering-Correlation-Id: ccbe6a82-6743-4604-4968-08dbdf3b299b x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: NLQ4V7qlPk3eRMZtAxQq5q/hIGXqLuDQ5re8YGxrJ5Su6bSxWwYWhdCNJLu4xg0xRQ4/Es+Dmo2puxBntjFEiFM6OLYM7IqBc+ZEwH2iyPYQnNjCLyjSPELbXWLpkRPcfJAoIkuHj6JRMz4cKsZQX/sIPUxCThkyvaIDLD1qtFj+rCFX8rfVLSrGPHJvioeagt8xa0dsvkVvPgtzVNYpUvGabqwJ0vYVODfVSeE+z/lvgLk0OTUVKrjLJTih+nrYiCccdz3Q/6OVWKLtli9fAFIEoKf3BLUj0NbEUz6Cn8/U1cEdo/Upka8YxLnH9YLhVprdjeX71bO31cI1EuilWPDFvnpDf1s5g/E3Sf6YpNDnFTB/C1tCZkGJmuxen7AehQQvE2B6WsCFozhzOdJlDERO+tHjUsh3Rd4psprsqnJxUI+NKjTLPuX9dF+LT5MKVH/NjM3M61z4xUwSaLR2TfvCuQ1TD5n21eJ/aYgSpjO6WbRFoYyXNQc7dlC5nZDDdrVJXaDrUR7WSU1/4eCt+tCLOwLCPCafZuOhtLDyKCCNNAdi/83e0RAqFMkwFhUiaBn9U2Y3Joufy3mlIf0+qM14nnb4Ynblm50fyRrIfp+gs72BGh8Mf4ep8cRYgDcu X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS4PR08MB7712.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(346002)(39860400002)(366004)(396003)(376002)(136003)(230922051799003)(1800799009)(64100799003)(451199024)(186009)(26005)(2906002)(83380400001)(38070700009)(122000001)(41300700001)(38100700002)(8676002)(8936002)(478600001)(55016003)(52536014)(4326008)(71200400001)(86362001)(6506007)(53546011)(7696005)(316002)(66556008)(66946007)(76116006)(6636002)(66446008)(64756008)(66476007)(54906003)(110136005)(33656002)(5660300002)(9686003); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB9658 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AMS0EPF00000199.eurprd05.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 7630d108-4a41-4984-7501-08dbdf3b230d X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uoonRGjzYfqlzUxTst4iYTeLRb1w0BYW7xFH2VD96AfE3VTEpsZEaPVob0EG2soe/aY81Var/jOD9PWPNvl2rweVX0EFH7TKFcQQIB1QurU7ZZ89bKusWszN5QfQPKqUqx1PWjtl93O1rB3632CKpNrmvJBrGej2Lrub6uD9MI4lCT2UOQaKpb+ZvFcGPy/KDc3v3QTSNQhan4MrcwYwt/AUuETxp+1lcYYs4pmjxk7jGC9fNScpSoIovt2U8RHQQdya62djwOTbC04O5FvjH0eGWB3lhNH+oAg8PdiQLsZNmPybnEMXv9ecUxW0rPNIvvxndq59WNrhoyRnR1xFTFbpRfjkpRvoWwdFZ1qdpNN3/bnKoj3gUcyo5qWdNqbnia5iX8T+NuGiAdiHvhrGzb2o9uQD93BUjnUVn2GI77MV/zgspAbFoaoUvL3OAcsmwMZBtqq3IMi9s/CkuiWk5dWCBQbIvdKlLdA+SpfS46Xf5C3H9rH9BWmP8EbyJ7L5/1sNJD1/DdrKUZB173SZi7zSkzD0NL/HyF/XfeifB4IAX681h0H0N7Eh9Z6F1gGhGdsQuqFMMijEa22UpAfsGI7kzZIlPBjneZite1LgPE1NS1K+H8WwrSyPmsuEowPedZ5/B90lphSaOVc4aGDtZE7soBom5ht9iRoLprhjd7oZuiZSDIHgQ9TlhWZAPk0fkp1PzGnynRbPcJ4Pq1f4FAXWSClfUuPGSz+pUaq++fRsLj7JhqnwUVfCRBvVe26v X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230031)(4636009)(39860400002)(346002)(136003)(376002)(396003)(230922051799003)(64100799003)(82310400011)(186009)(1800799009)(451199024)(46966006)(36840700001)(40470700004)(478600001)(53546011)(6506007)(7696005)(9686003)(5660300002)(47076005)(83380400001)(26005)(2906002)(336012)(41300700001)(70206006)(8936002)(316002)(110136005)(6636002)(4326008)(54906003)(8676002)(52536014)(36860700001)(33656002)(82740400003)(70586007)(81166007)(356005)(86362001)(40460700003)(40480700001)(55016003); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Nov 2023 02:42:19.6695 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ccbe6a82-6743-4604-4968-08dbdf3b299b X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AMS0EPF00000199.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB9370 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > -----Original Message----- > From: Thomas Monjalon > Sent: Monday, November 6, 2023 11:38 PM > To: Ruifeng Wang > Cc: dev@dpdk.org; Bruce Richardson ; nd > ; Paul Szczepanek ; Joyce Kong > > Subject: Re: [PATCH v1] config/arm: correct cpu arch for cross build >=20 > 06/11/2023 15:31, Joyce Kong: > > > -----Original Message----- > > > From: Thomas Monjalon > > > Sent: Monday, November 6, 2023 10:10 PM > > > To: Ruifeng Wang ; Joyce Kong > > > > > > Cc: dev@dpdk.org; Bruce Richardson ; > > > dev@dpdk.org; nd ; Paul Szczepanek > > > > > > Subject: Re: [PATCH v1] config/arm: correct cpu arch for cross build > > > > > > 18/10/2023 07:40, Joyce Kong: > > > > > From: Thomas Monjalon > > > > > 22/08/2023 09:47, Joyce Kong: > > > > > > The cn10k cross build file sets cpu to 'armv8.6-a' while > > > > > > N2 is armv8.5-a arch. > > > > > > The cpu field in the cross file doesn't take effect as > > > > > > config/arm/meson.build controls machine_args for march. > > > > > > Then correct the value in arm cross files to 'auto'. > > > > > > > > > > I don't get it. > > > > > Why setting a value if it has no impact? > > > > > Looks like something is overcomplicated. > > > > > > > > > We still have to declare them here because meson would check the 'c= pu' > > > line in the config file, otherwise it would report missing {'cpu'}. > > > > > > OK > > > > > > Then why not all cross files are set to auto? > > > > > Actually, I set all the Arm cross files to auto in this patch. Maybe I = have to > figure it out in the commit line? >=20 > What about these ones? >=20 > git grep 'cpu =3D ' config/arm | grep -v auto >=20 > config/arm/arm64_altra_linux_gcc:cpu =3D 'armv8.2-a' > config/arm/arm64_ampereone_linux_gcc:cpu =3D 'armv8.6-a' > config/arm/arm64_bluefield3_linux_gcc:cpu =3D 'armv8.4-a' > config/arm/arm64_cdx_linux_gcc:cpu =3D 'armv8-a' > config/arm/arm64_hip10_linux_gcc:cpu =3D 'armv8-a' >=20 >=20 Really sorry for missing them as I didn't update the version, I shall corre= ct them in next patch.