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 CB537436A0; Fri, 8 Dec 2023 03:51:37 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9E417402CD; Fri, 8 Dec 2023 03:51:37 +0100 (CET) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2073.outbound.protection.outlook.com [40.107.8.73]) by mails.dpdk.org (Postfix) with ESMTP id BD7F7402AC; Fri, 8 Dec 2023 03:51:36 +0100 (CET) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=ektnspysAB6JOxY5tC2LMr9iVmih0I2PNdDfl8/BcejuDeyER34/ILY3k+lezKfUde7M58CM5swfgI3QruMYbsQ5B7ddK9rmPCrAuEOtRpFzvGRD6IVCi+DnyPx9RVcxDjrxt/w10sa9qj0Eedx8FH+q4mb5JlgzAmCB2cjCNUAyK6pyZspY2jLZSOT3l1L7WEmCVOk+6x6R6ZGQx4gzmQSaYgQDLFuU1VRWaGoA6o4G7RvlYz44QsVjMPPmbYsrbdGUZlVG3ZSzWieEAO3XPYMZa1t1w7d5weumq1NOwNik0z2vgG/u3fobfe3jgqrXlvneIwXWfYkYmmGJFl9h5w== 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=GY2HXdOdPDfxYRiea4Xspdu2iKfbf5ba7evXssI7yv0=; b=KAcKdSox4IqvSHJRTVeRifxNEdsYdPibaOIp3mDdlk8kt7fX71ZKj+2qz3CfHC1pYvjmSST2+p0YMphp5fOdaNxT9daMbtyc/GsZSL2ByGTU1y8mBlbkXkRhypxwxOybz24egSVQulLIcqllTL69X4skm+qzCyu7XFmNw4CjcHExvDA6TPZJR8jofOfqcuG7vt0pDqJd7C3Xrp6eO667e970MhNMM1TsJkueZvkMDKJYSCfTl81L+spooMdtTIgvS2oF5aoyOY3t8rVEjFGNxDJLSi1eG1Td1RDba/So8ZhhfEPOOHWULeLwZpiSvKsTzwSdaAp1zh9Fsae3ePmcDw== 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=GY2HXdOdPDfxYRiea4Xspdu2iKfbf5ba7evXssI7yv0=; b=VGNe85Z3mbacoVOaHKoqf+H9q04TgQ8uttXL8BEuQMVbtGlxLm/b6ed1NpAT3wBfOCsx8efDIQvEYp453iT+sIC5om8OanhnMsOqkCiam/Cxgd1FWS21+MrDZOx3k3D11l9aHi0NOojlShnw8A6MKyQ2TAJs0Oc053UroAKVj1o= Received: from AS4P250CA0024.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:5e3::17) by GV1PR08MB10404.eurprd08.prod.outlook.com (2603:10a6:150:16f::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.32; Fri, 8 Dec 2023 02:51:33 +0000 Received: from AMS1EPF00000049.eurprd04.prod.outlook.com (2603:10a6:20b:5e3:cafe::ed) by AS4P250CA0024.outlook.office365.com (2603:10a6:20b:5e3::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.34 via Frontend Transport; Fri, 8 Dec 2023 02:51:32 +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 AMS1EPF00000049.mail.protection.outlook.com (10.167.16.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.20 via Frontend Transport; Fri, 8 Dec 2023 02:51:32 +0000 Received: ("Tessian outbound e243565b0037:v228"); Fri, 08 Dec 2023 02:51:32 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: e07e68de3e629d33 X-CR-MTA-TID: 64aa7808 Received: from 9590aa0aa881.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 987F5DAC-35B3-4FA0-AF34-6F236DC3F7F3.1; Fri, 08 Dec 2023 02:51:21 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 9590aa0aa881.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 08 Dec 2023 02:51:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=djjLIbI+L8vPnBO9AUYxhqvUWWLHd8+hYNuVM08dk2bn4cuFIRYH4zZpcdwZ8y+plHLOK3qcfdoKQsP5nLhklbes2FVMsRuZ2RnKQEeTPYswmNCZhGCEuQvJ5WpbUA1yTS1X+xajYUIkXzs/6qusTzj5IfUfpdbMYIYhH4nlyDNVIBqnQ222UuoCYraFbQYvHh0w39Xv/bJG5AwumlLLxg5CX/AVASXboU5hnFsPVA4bBNZB91nzHfaQhsZCKUHXBUom5/N7mapFCh2V3ByCSxBJPOqpTN9GbbxPIZ5UdbRmhqqhCmwY1CxTRfgErubeh/UkRvX5rA79NSjM46Braw== 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=GY2HXdOdPDfxYRiea4Xspdu2iKfbf5ba7evXssI7yv0=; b=lwJxkBYnTYWiq8tdOb7Y2dQjZyQ2gTG2fFzaZWuf37qLfCJcV6wjgfFVI9e6ZMjca+cKvxi0aQTBNLRLGSGBXE66548ky1dC88JU5ujJdNRCs23Jd6d+LOT+Wv5/4WaoxOk6BiGFBURE3dvYEvicODrGe9hRkGWk9msuEgfbzF5b+BMRYEvDMQcnQdKkTwGJlTTGwddq74Pji418TxSNDG33eF0ZDcmY05MDT7sf9R3kt0G6GRih2vwAz2p4TrEMvJ/bMPxMNZUHYEThC6socz7xqYds2EW0sWtISvt3qsdtpBsOsagOWuVINLI8ZQ2nfOOJEw9e5SH5hcH2Jnbk3Q== 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=GY2HXdOdPDfxYRiea4Xspdu2iKfbf5ba7evXssI7yv0=; b=VGNe85Z3mbacoVOaHKoqf+H9q04TgQ8uttXL8BEuQMVbtGlxLm/b6ed1NpAT3wBfOCsx8efDIQvEYp453iT+sIC5om8OanhnMsOqkCiam/Cxgd1FWS21+MrDZOx3k3D11l9aHi0NOojlShnw8A6MKyQ2TAJs0Oc053UroAKVj1o= Received: from AS4PR08MB7712.eurprd08.prod.outlook.com (2603:10a6:20b:513::6) by DU0PR08MB8788.eurprd08.prod.outlook.com (2603:10a6:10:477::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.27; Fri, 8 Dec 2023 02:51:17 +0000 Received: from AS4PR08MB7712.eurprd08.prod.outlook.com ([fe80::4bd:9642:ea78:a9a9]) by AS4PR08MB7712.eurprd08.prod.outlook.com ([fe80::4bd:9642:ea78:a9a9%5]) with mapi id 15.20.7068.028; Fri, 8 Dec 2023 02:51:17 +0000 From: Joyce Kong To: Stephen Hemminger CC: "thomas@monjalon.net" , Ruifeng Wang , "bruce.richardson@intel.com" , "dev@dpdk.org" , nd , "stable@dpdk.org" Subject: RE: [PATCH v4 1/2] config: correct cpu instruction set for cross build Thread-Topic: [PATCH v4 1/2] config: correct cpu instruction set for cross build Thread-Index: AQHaJy6jMXYrxG2mUk2eMsg68Wj5QLCebpaAgAA6jBA= Date: Fri, 8 Dec 2023 02:51:17 +0000 Message-ID: References: <20230822074743.3243015-1-joyce.kong@arm.com> <20231205035259.3516625-1-joyce.kong@arm.com> <20231205035259.3516625-2-joyce.kong@arm.com> <20231207144111.7b9405fd@hermes.local> In-Reply-To: <20231207144111.7b9405fd@hermes.local> 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_|DU0PR08MB8788:EE_|AMS1EPF00000049:EE_|GV1PR08MB10404:EE_ X-MS-Office365-Filtering-Correlation-Id: 3b1fe398-7aad-4cb1-5665-08dbf79895d0 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: 8Icofa42Y2LBRgSsKrlDB0TBLyVJZHjl+iGT+rBxySuUzc1a+Hbcid2ym7G9ly4d/HmIlAyPkkUUR7Z4w13aDYYGozCvd1Zg29OB3XW3FDo1TRFJwE0exIzHt5wxY2elzzbnSNHpluzF/9Dfiurlt2WKDKnQ9ChcKueYsT34x6c/am6lAUJene2/SRgmJlz4OOXi6pe1zBHTiwur9y2D4dVxpJLjq+PnaXMeiytRq6Kl7nPQqP2Rg0nqqohzCjSJxSbf+mcSIOg3obA2t84a6hNjMLEyvh8aIgJrSzwd0HkmCoiBzdTpXEU0hhYQVo9/XfLUlHmkSJcwEXWDvXlG2G0j1VWMjOVNgcer2iEBGRxmWhf7u2Demu5kAZ4X2q9GgASIWOQBp6y9Q1wcNzSfcPmP4bTfwVMmOp9aDHDMXf4W56CSsCdlBG7iF6doVlfBDu9g7dsJUp/r/IeSElhdTRDWAJDUJRv6DpOz1C5noHq9pgz3+cAKPMD4BFVFp2FVee1RtPKbeh0j5nXsxMXnmswjy74HTQ+2x9OIgMmXR9c792r0r0FgOJn0y1Uo6oWqu+jAhB2is2qUA2KCO3cnhtMtpdkAe/wGRDkCug+AQh5A6aVrmK/IVkSHasB+lbId 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)(396003)(366004)(346002)(39860400002)(376002)(136003)(230922051799003)(1800799012)(64100799003)(186009)(451199024)(6506007)(7696005)(53546011)(26005)(55016003)(9686003)(122000001)(316002)(8936002)(4326008)(8676002)(52536014)(38100700002)(76116006)(6916009)(54906003)(66946007)(64756008)(66446008)(66476007)(66556008)(71200400001)(83380400001)(478600001)(5660300002)(33656002)(86362001)(41300700001)(2906002)(38070700009); 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: DU0PR08MB8788 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: AMS1EPF00000049.eurprd04.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 66a6539b-e910-4f17-6c73-08dbf7988cfb X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2lLGEE1oBRAXM7qbYEcK4EDLM2Qf/71j9+oHDyFZ0dCMB+Y+ORAiH3yzLFqVSpGVwRxumnZKhtXGm95mhgRdQS8RcIl2vNxsKcnSLyzm3RkYGE4OavlDH6DnIspjvjtutZEQBlrab5vvippzfFRBtx8QTCpELqRvQnZvXl2oAxFHEEajjNdpMPnqZlOIhAjKyIm01Qlj6U4Ms+aBxtDmmLtv2TFayuXPONGQlR2bpgzMIFvcSC/xX9vFAf7o2UL/McVvh+IhcEbTmLmGgB8GdXn5/Eqguldt9V24UakxXUyCiHe+0ZalpcvuLM3QOFzNnDrBZnN59Zzr+hMTQ5unT0CDoguS/H3gnJha/Y3GJRFX15wlfeKSfXaJB6PavTBVJPbdN0IRhmf/uBXpazVtho+zj8KqJ5HaHUn2eurqhjeBJkPabsQktbh/h75bZjvuo88wxIfM7MECLx9IW4qV1PKVPPfJnF7jbh0PyU9UiXcg4nEPnNX6AaiwNrp9NC7OsHwgs6H2adsLtvH86oeyEpQgD2zxgnLa7mXRrr24KS8OGW4XfNwEHfJqrLUaNc6/Wngb2RSkmeAEUeh2xtolDopk/RUQ9r1HZi0vZjFxA25o7R+adg19VJjyPlrW2c8W7dKi8A1ISPYCg4fSon8QjF3AYYK4EowE/obewCJIBHDb1Xw9v6RC7kz7tbDgQ2Y79eo/gUqCHyGmrH8T5BOGyqf135XYT+mwCYwP6QxjZpqISp/VZXU8kJHtzCkIJSku 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)(346002)(396003)(136003)(376002)(39860400002)(230922051799003)(82310400011)(1800799012)(451199024)(64100799003)(186009)(40470700004)(36840700001)(46966006)(40460700003)(53546011)(9686003)(33656002)(36860700001)(81166007)(41300700001)(7696005)(82740400003)(26005)(356005)(6506007)(86362001)(47076005)(336012)(83380400001)(478600001)(2906002)(55016003)(70586007)(40480700001)(316002)(54906003)(70206006)(450100002)(4326008)(52536014)(8676002)(8936002)(6862004)(5660300002); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2023 02:51:32.2824 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3b1fe398-7aad-4cb1-5665-08dbf79895d0 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: AMS1EPF00000049.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR08MB10404 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: Stephen Hemminger > Sent: Friday, December 8, 2023 6:41 AM > To: Joyce Kong > Cc: thomas@monjalon.net; Ruifeng Wang ; > bruce.richardson@intel.com; dev@dpdk.org; nd ; > stable@dpdk.org > Subject: Re: [PATCH v4 1/2] config: correct cpu instruction set for cross= build >=20 > On Tue, 5 Dec 2023 03:52:58 +0000 > Joyce Kong wrote: >=20 > > The platform value would be 'native' only when not cross build. > > Move the operation about modifying cpu_instruction_set while platform > > equals 'native' to the not cross build branch. > > > > Fixes: bf66003b51ec ("build: use platform for generic and native > > builds") > > Cc: stable@dpdk.org > > > > Signed-off-by: Joyce Kong > > Reviewed-by: Ruifeng Wang >=20 > Looks right, what is the impact on existing users doing current cross bui= lds? The original operation changes cpu_instruction_set to 'native' when both 'p= latform =3D=3D native' and 'cpu_instruction_set =3D=3D auto'. There was no impact on the existing users for current cross build, as the c= ross files set cpu field to a specific arch, such as 'armv8-a', and this di= dn't trigger the modification for cpu_instruction_set. However, if we want to use a common arch in cross files like 'auto', the mo= dification operation would override 'native' value to cpu_instruction_set a= nd b7676fcccab4 ("config: verify machine arch flag") would break the build = as it tries to test -march=3Dnative. >=20 > Acked-by: Stephen Hemminger