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 1C785A0C49; Fri, 18 Jun 2021 01:33:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D5BD040150; Fri, 18 Jun 2021 01:33:28 +0200 (CEST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140049.outbound.protection.outlook.com [40.107.14.49]) by mails.dpdk.org (Postfix) with ESMTP id 0CE7D40142 for ; Fri, 18 Jun 2021 01:33:28 +0200 (CEST) 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=JgpYCM4YQVjVzcX+q3tIwP4b2LOM9yQQfWJqWwxkGx4=; b=VJz3Pt3F7C9NdPgt09P4X2oNkJsLn1/uBcZiEadxIH3RABnsafXIguXE5k+dyoBTaw84glo7LeiJYwXloIWD2gDXxVz4QhWMABrCh6/YK/HoECKoZSkpwjdWwbvyZuQ7KWqg7PO3khgp+h4OZfL3noLA7qU8euy4YjKzWr2xqxc= Received: from DB6P193CA0016.EURP193.PROD.OUTLOOK.COM (2603:10a6:6:29::26) by VI1PR0801MB1855.eurprd08.prod.outlook.com (2603:10a6:800:59::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.16; Thu, 17 Jun 2021 23:33:17 +0000 Received: from DB5EUR03FT011.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:29:cafe::4a) by DB6P193CA0016.outlook.office365.com (2603:10a6:6:29::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.18 via Frontend Transport; Thu, 17 Jun 2021 23:33:17 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; 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; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT011.mail.protection.outlook.com (10.152.20.95) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.16 via Frontend Transport; Thu, 17 Jun 2021 23:33:17 +0000 Received: ("Tessian outbound d5fe3fdc5a40:v93"); Thu, 17 Jun 2021 23:33:17 +0000 X-CR-MTA-TID: 64aa7808 Received: from 1958fb7f7068.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id F560F01C-F33D-4031-8BDD-15B88EED7362.1; Thu, 17 Jun 2021 23:33:07 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 1958fb7f7068.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Jun 2021 23:33:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kpmjLNe2iaZAIeO+kcDVJKDBKv8ts9xFs5N291dBbNnFndc0uOz4MUF4WQHefSXKDAWTvR+zfEVyIIfz/7fXGCDsoWNnDDVMyhZDDP++wY7hzqWzLGwM3R2j8871iq0ehhiWxrlMMSBo+FonHkLbBbZ6f3vopQmAIdQlyNktgB2qDq/MutAljv5W5cAQztJIEjeEYFr0cpHtVc6thznnJQi9ccou1j/v5APbIjQlLC8tbfqhkrrmiEfaEgg2SoswTz5QWHYH/Q75pwvwQ2bfnlThVgDc+8wge3HmllduhKEqhXnVTDi+8L6A6kCNrXm68UgdAWNauP1P3N/Keykq2A== 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-SenderADCheck; bh=JgpYCM4YQVjVzcX+q3tIwP4b2LOM9yQQfWJqWwxkGx4=; b=AFCKYYEn8WcGwVwXqhFLKuEMXv3vbGdXWG7T0i4KH0lzBFJAdbwuBX9jyxWHV6Bh5uu/NMQ9Rwp7lBH6Nv8/gRdE80jGtbrE09BIsQzwGjoRRKrWix4gh0dX2tPC05KGJMvBJMh25mTNwM/ZrMp7zqPvpqEK6fUCB72WsY4Jo2WNIW5d6F4YAUynhgMb6QsXGP83YZQF/A1fjrqSvWkWie3LPxsXAyY1MPQRKsFRomHPo/BXHgc3Yx8uwgU0j1iO4nU/zaNiTBQwrmpyIDelKkXvJi8r7hDul8R8Ac53xDVrIi2XPiecATJeApOHjpMFpqCRCb14ctI6ohZLYbBnlQ== 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=JgpYCM4YQVjVzcX+q3tIwP4b2LOM9yQQfWJqWwxkGx4=; b=VJz3Pt3F7C9NdPgt09P4X2oNkJsLn1/uBcZiEadxIH3RABnsafXIguXE5k+dyoBTaw84glo7LeiJYwXloIWD2gDXxVz4QhWMABrCh6/YK/HoECKoZSkpwjdWwbvyZuQ7KWqg7PO3khgp+h4OZfL3noLA7qU8euy4YjKzWr2xqxc= Received: from DBAPR08MB5814.eurprd08.prod.outlook.com (2603:10a6:10:1b1::6) by DB9PR08MB6698.eurprd08.prod.outlook.com (2603:10a6:10:2a2::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.15; Thu, 17 Jun 2021 23:33:05 +0000 Received: from DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::f15f:821c:74c5:2482]) by DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::f15f:821c:74c5:2482%2]) with mapi id 15.20.4242.019; Thu, 17 Jun 2021 23:33:05 +0000 From: Honnappa Nagarahalli To: "thomas@monjalon.net" , "jerinj@marvell.com" , Ruifeng Wang , "juraj.linkes@pantheon.tech" CC: "ferruh.yigit@intel.com" , "dev@dpdk.org" , "viktorin@rehivetech.com" , "bruce.richardson@intel.com" , "jerinjacobk@gmail.com" , nd , Chengwen Feng , Honnappa Nagarahalli , nd Thread-Topic: [dpdk-dev] [PATCH v8 1/2] config/arm: select most suitable -march for kunpeng soc Thread-Index: AQHXY0cB0NdYjKgjs0erbWXUtxtwA6sY21tA Date: Thu, 17 Jun 2021 23:33:05 +0000 Message-ID: References: <1620808126-18876-1-git-send-email-fengchengwen@huawei.com> <1621862602-51782-1-git-send-email-fengchengwen@huawei.com> <1621862602-51782-2-git-send-email-fengchengwen@huawei.com> <5907391.mv1e21vPBl@thomas> In-Reply-To: <5907391.mv1e21vPBl@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: C92C641B3A356541B0A754918422CE6E.0 x-checkrecipientchecked: true Authentication-Results-Original: monjalon.net; dkim=none (message not signed) header.d=none; monjalon.net; dmarc=none action=none header.from=arm.com; x-originating-ip: [70.113.13.105] x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: 34ef8831-6ffc-4d8b-6175-08d931e848f7 x-ms-traffictypediagnostic: DB9PR08MB6698:|VI1PR0801MB1855: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:6430;OLM:6430; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: rRvAfELFW75/Hv4Vbkwzho2hIymDHhi9pJteiHOpC/1YDGrjUjiYnbsy0CSEI8comSspwA/CWuP7vonOVQKSUz9scoGA6j7A1UBPcSEcI2M+RwaeJBmGDjJgWXhwEzJmNoHk52vMxoERuDSdAa5TeXMkFIHwOrvMzA626rcDvNMZA5uDI8ADIF7TCK1MoT4fkMTkA/CN3iqNZ8vhHOe01yCx01RojZB9xkPOrkkAfEY3BOZQXD/xoMZP8ipU3Pa/faK8klspaQqciNc9Vkuo6x9jnEzq9u7hnq8kKzoO0b6zMbuZpmvzlqrZHShRuTq65XH3JPKD1zfH9Ib3MWz9KBkkG4T5Lg4V/5Xqjh0aD63JOSK6N+q6OR9hie6uTQ7QlDrnZ3yPtXIioPsjAAyX0xHBcadj1YX9zdVb69IYLt8y4++B4e64gVh3kn0ccBSILDOUjGNC6UcMH/9OmqbYSLSn9HFbQMFPA4EEwz1o5wnSxFrGi2H6lC8gvTdKRqqXXpsGfBYvyhp/EMkMDhA8lebTuTIzdWlr4Q0jGK+qOIRrjUPJb+Bm4ngXQZurAdvsDYAYI8YeoxgesL9ndxehSYoUiH9qjuFY5M15DmwZJ0I= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBAPR08MB5814.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(346002)(376002)(39850400004)(136003)(366004)(316002)(7696005)(5660300002)(38100700002)(55016002)(54906003)(86362001)(6506007)(8676002)(8936002)(110136005)(52536014)(9686003)(33656002)(4326008)(478600001)(26005)(186003)(122000001)(2906002)(64756008)(66556008)(66476007)(66446008)(66946007)(71200400001)(76116006); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?c86i/IO8t4L3CL3VlszWMpd5xgbA2vF2EEwkCwJhKND6Su/eoRLbzsSRnYnu?= =?us-ascii?Q?elOCSqCa5+Qdtbof0OHC9P3R8Enz08Dkmx8Zn6qAFnWtfjEsNeDePo9hT/3j?= =?us-ascii?Q?BNi9XS0sC7PpQ55GgxAgBVBgJDk/OmlOUPyAKdPRVCOeZTZDGTlIjROs2A1X?= =?us-ascii?Q?nOKVfjI3bTe+Hro7a6K++9x2V2RGWVy3po6/vM+N0TbZQIHIVQHuHiGXe2v/?= =?us-ascii?Q?NSrj9syTbSb6rb9yf5wVPwLHFwdJuQrcVEWaJTigkqYKcPiPXJ5ZLusDFllN?= =?us-ascii?Q?YNhF38fbIKRFXJSKef2x+5fg99AcNfVb8OrJmVO1bH+iBSIBI1ASUCvaSxl9?= =?us-ascii?Q?4kqacjA2HQPki3LvRseLQyC9rey9VHRGenhQvMnWet+AskKYZNT6gSrJoqvj?= =?us-ascii?Q?urewxlg3ZGLoXvInnaJmETQVQfMYW/XTbv0F/tLhFLVmC6Kmfqtyw6G4QeOE?= =?us-ascii?Q?WqWOBxHr08g1B0KCOeQVuOB1hMq4R6VaEdROqRQbX2h3ZAqzAr/fbNJRFCXb?= =?us-ascii?Q?sUQrbm2SrPPHqiqtAxr6+UY0uAYqGAZ/j1tVJ2rYBirnhEq3tfQKjVQ9HHkE?= =?us-ascii?Q?ng/YHqJCsPGJpR2prlow3YB5hY4VYbofcqoe+68YcYgffdNdncN6OmVI65C0?= =?us-ascii?Q?2i/rNOZPSIstF1KzB6AYHecIBAFaNwMxxO883RYmvCcFemcHvx7oYkTddIN2?= =?us-ascii?Q?5f/r1XiPBW0HiSliFxJSlMI6G2ca0nKr7Ik0378YRhw2Had70St8jeIGh55x?= =?us-ascii?Q?arhbI4oANIzilARQRUiFJt3++fS2Yl5xMuNM/CyuQ6Zy9R7vGmSMEnC8VXBD?= =?us-ascii?Q?fGr/HdnPfH4q5FgVyEeiVZIKzvv2gjvPWeipT4YDnRJspdDa7oF/upDUr+rL?= =?us-ascii?Q?xud57xEgNTCkcLIrCoh13bgVzlVAg+tSOY6OBg8wrHKO2z1e6Ri67pY2rXOa?= =?us-ascii?Q?Xsqz+J4zT1VmcXylVPN3Wi9BDN4EZrwv5STewNE6SFecjNqPy7/p/1nBW7B0?= =?us-ascii?Q?VMqzmFaWwJUiq+U4+XksUEs7H7zRziRY9rJEmpm+Ooxq5RP14QP144/AhI6N?= =?us-ascii?Q?XFcBFEr92ZvdZ6SFOthD/zxHvuLAsnh07tHHckWXbQACmuVIq42LPyAXRSM/?= =?us-ascii?Q?4ijPrrnW9G3QFd1+fTqcmeFF11FvvCFNVW1/H+d7KOt1YBphWHJALNGHoZsj?= =?us-ascii?Q?cYDTb8HoEDI0erzNix8kXgsO8STAYfLN9ZflU1Cf44GlTBFkdYPG6uIAVGvR?= =?us-ascii?Q?tenizGwkItnK+Ff4k/ZupoY2McIcuQgWEwMXOMuKSzAEVtTpmRNZGMkVTKcM?= =?us-ascii?Q?mLKMhiz1P5cEB8j4jYwv0URX?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB6698 Original-Authentication-Results: monjalon.net; dkim=none (message not signed) header.d=none; monjalon.net; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT011.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: ec59fbb0-46f0-4ca2-ddb7-08d931e841f4 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ua3kXBUg5tK3S2ql7IEBFDmX9xzJXEgsOs3ZrG5k2aNbrWuW9ZOH0ExWQPuIKG1zBqT42hnaUzfU8lP0h80QjiQ52puHW3xTph7FQKzkqKQRmLbIGwuT1i2JXGo3pL3EaCMT6hhSyIEb7V5KBygzTQ0UBynlftk1+QewRpsOCh3dM/F/Gg2SD+ijNuzAZL3L2rOnN1B+vKkETGq7oSGaW9+VWWsyE3ijU2nBMePLSRLyryQS37iERtlZ9jlvUdqF+l/qJschmoAZEcSnplKjwmEvA7tuArG+AIoZ4X9+1TrCNdrUkXkDzwWNi3kIly75hxRqVle3oIvV/VJD5z6CtMjcNgRu8RBFgPhC8pODuEos888aTydGFAVXqck1cXSDqslSCojLx0QDTpilGVVe+iISw+I0UYcItM2mlLEMH2+41/oUUVD8YKavIIbmoI3KKOm98RmbcfFATKveneG3PhMDvpmNuEa1TMezv6XLax3QnhT2TDeeEPr+/4n0Z2uRWfGKvF8SJzcXrmOlCgyAihU59Fnw34cyM8BFBiKYudTZV2cG4Kw9tlef78s4ybPjPc7rsWJjES6o21m1ueMHO7v/5J+Jq4TZRzoDjx4BhdHRpbv1fP1vovnzveU5E6i9L13mIFW1VrQowXG173Lzpg== 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:(4636009)(346002)(136003)(376002)(396003)(39850400004)(46966006)(36840700001)(7696005)(5660300002)(478600001)(8676002)(55016002)(52536014)(36860700001)(70206006)(82740400003)(70586007)(82310400003)(336012)(8936002)(47076005)(81166007)(186003)(26005)(6506007)(9686003)(2906002)(4326008)(356005)(110136005)(316002)(86362001)(54906003)(33656002); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2021 23:33:17.5911 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 34ef8831-6ffc-4d8b-6175-08d931e848f7 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: DB5EUR03FT011.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB1855 Subject: Re: [dpdk-dev] [PATCH v8 1/2] config/arm: select most suitable -march for kunpeng soc 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 Sender: "dev" >=20 > 24/05/2021 15:23, Chengwen Feng: > > Currently, the soc_kunpeng930 declares '-march=3Darmv8.2-a+crypto+sve', > > but some compiler doesn't recognize the march because it doesn't > > support sve. > > > > To solve this bug we use the following scheme: > > 1. Define 'march_base' tuple which defines support march, it should > > arrange from lower to higher. > > e.g. 'march_base': ['-march=3Darmv8.1-a', '-march=3Darmv8.2-a'] 2. Defi= ne > > 'march_feature' tuple which defines support feature. > > e.g. 'march_feature': ['crypto', 'sve'] > > Note: If user defined 'march_feature', it also needs to define a valid > > 'march_base' because 'march_feature' depends on 'march_base' when > > checking validity. > > 3. Select the most suitable march+feature combination based on > > 'march_base' and 'march_feature' tuples. > > 4. Use the selected march+feature combination as the default > > machine_args. > > > > Fixes: 7cf32a22b240 ("config/arm: add Hisilicon kunpeng") > > > > Signed-off-by: Chengwen Feng >=20 > This patch is still not accepted. > Arm maintainers, what is missing? > Is it rejected? Juraj is working on a more generalized solution. Not sure how it will turn = out. It would be good to wait. >=20 >=20 >=20