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 2516CA0C43; Wed, 12 May 2021 11:17:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0B82B4003F; Wed, 12 May 2021 11:17:42 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id C9B504003E for ; Wed, 12 May 2021 11:17:39 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 14C9AUeD019803; Wed, 12 May 2021 02:17:35 -0700 Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2177.outbound.protection.outlook.com [104.47.55.177]) by mx0a-0016f401.pphosted.com with ESMTP id 38fw8yb58u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 May 2021 02:17:34 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ft7aR8m5mz4KG/VcrWlcouRC5ADZq6J3X92cjg7RWTQIbeVNaBhQlMZHcHBRooa2NxkLFV3+ST9N+tubnOsv0Fjgk44LQcJPvzq+7v20Ao7bDpI80pJLiokCatn8KOS6nIIsRRwTSqHy/i3UTB2YIrGDksPj3u6b86mAFPF5ON2dKhtf3ghM9Nb67wteqcB06bF+mFTptHqRZWv++vlj2U1+G6RiPWxDFgKZdXk1Yr26eVUFfkXJpVDbs5HgCHO9V0L/DamXdgoE6qI95sX16QE9zXktfiSJ04JndtYLJS3X5J8TnAul6jPLg1I26Iab7EDawYr3Hn586AMDSH+eHg== 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=U3dkZA339onH9AMBy1C/mgmFGDwOT4cAQc+uJlCiMFc=; b=GmgWp+qtoN+LhdeN9YtPMzEmnKHyDPfhe+X5/w22zi/q4ZVM/ROGTkhXMfuXUbgErB+KDlINYFdx2nHr62mIeauecCRxZrV3OPjwhwR7wNWOV7FcNNQJcKM2AHMROLdQ7fGmGtZgqzmcg5Q3+2sNJR3NnR4s2H/QUCxlhJfOqsEax37OajKmehleNJZGXe2Dk42HrxIQwefT62S/ApsQ2tTwY1zmudAVf4cxO4g1bCBv9NmWVmXe3ceoWQXTk/f5qddM6xdi4etjH7GmAYt5qn7eBKoC3RmFzFL/8yPzi5yyAYKpCilHv8qzbzjEsv4RS81UO+xUWczdvwjGM/5Y7A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=U3dkZA339onH9AMBy1C/mgmFGDwOT4cAQc+uJlCiMFc=; b=aRNVCHfijq7s/08sQ8QcOfFMT3nXQDjPYvPNt2BndmX1Af4Hg1dzAO0GIpJhsUY7YlzXnVlJqw/InesppWJEvT1bxWe/z6l6mTreHWlQH6jqeOvw+Axr7psl8Q89/nDh7SZWAixLYNgk6c4M4VJUxf5m74wCZiCSTz5Ftn1UYF8= Received: from PH0PR18MB4086.namprd18.prod.outlook.com (2603:10b6:510:3::9) by PH0PR18MB4085.namprd18.prod.outlook.com (2603:10b6:510:3::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.26; Wed, 12 May 2021 09:17:32 +0000 Received: from PH0PR18MB4086.namprd18.prod.outlook.com ([fe80::a187:4890:1cd6:30d2]) by PH0PR18MB4086.namprd18.prod.outlook.com ([fe80::a187:4890:1cd6:30d2%7]) with mapi id 15.20.4129.026; Wed, 12 May 2021 09:17:32 +0000 From: Pavan Nikhilesh Bhagavatula To: Honnappa Nagarahalli , "thomas@monjalon.net" CC: Jerin Jacob Kollanukkaran , "juraj.linkes@pantheon.tech" , Jan Viktorin , Ruifeng Wang , Bruce Richardson , "dev@dpdk.org" , nd , nd Thread-Topic: [dpdk-dev] [EXT] Re: [PATCH] config/arm: add ability to express arch extensions Thread-Index: AQHXRcDmsL32CYMdQ0atcuDOTTlhFKrc/LSAgAA5MoCAAAVvAIAAvWjQgACMKICAAAMlwIAAKCOAgADiwQA= Date: Wed, 12 May 2021 09:17:31 +0000 Message-ID: References: <20210505121423.850-1-pbhagavatula@marvell.com> <1699304.vFISr3HHSL@thomas> In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=marvell.com; x-originating-ip: [2405:201:d009:304d:e193:a34c:21ee:e093] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f6723994-513c-4d85-440a-08d91526c5d6 x-ms-traffictypediagnostic: PH0PR18MB4085: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:343; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: n3e7PGoVZBOfevZzgyoKPZ2zIrg62tnFp7MSMSBMi3pnGb9FDxP1AfX3rrVhcs/pqli7ANV0x4uBolMydpVcmCzJGrl9akGmuc0PIU382fTPDfrDVgZAuedPLKTP3B0a86dXPaajwgwVkezCQn4HTZ7PdFaIKXqGXhmeShHfySHvo1vB3f0biGg5ucF4JFReLNwM+sto/WCVBMdxml7LF5mDEDRqGqcDS9dclVElezXPzmzFwRVg3Tu0NhH4fsk7J2DJdtqX//eqnic7d/Si3bgwcTjEkg0x9izaWHIa2SnpFwwhUaOQcCrpwdBRB0LIC6jHyK/pSpN1Lp9Wk3Nv4L4udMEXLKKEZ2WGIjXkFqlfaTfrDhNcQHv17T4FmbS8q7kFiIiZjdsEzumNAsyDcQvFvr2x0XeAyhP+PAcndULfEbGdCEMY5+oRTPnKfybwYTgR/12hD2wAL8XBk7LzcMKKWhJ9Lc1pa1TkHKwfefXmGnqpmKqioGwaJ6eueD8LyPyjO2BpkLzOuiYyqWpPuTuTMTyqR6QFtKfdmkvEl0wM+R/lnc6f02tBYpwxorlkPV/PhrKaXWIy4lOuG9MIh7RQ2by0JH/7YoCX1/5GFAhFuvGHq6r2V1Nedc8fg917Qcdr3oNaqJ0Vib3UutwL1eULenW3FDCdxsNwhGBE788A4/+W4wpfrLENze7SIMhv x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB4086.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(39860400002)(376002)(346002)(396003)(366004)(71200400001)(86362001)(7696005)(122000001)(6506007)(4326008)(8936002)(8676002)(55016002)(966005)(478600001)(9686003)(33656002)(66556008)(52536014)(5660300002)(64756008)(66446008)(2906002)(38100700002)(110136005)(83380400001)(54906003)(316002)(186003)(76116006)(66476007)(66946007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?Z8/BvQJpWnKIX3dSZL1dX8jObVYhKGKK0TPEYbE5lvxJBBIYUAeenMMp1Qzh?= =?us-ascii?Q?081XRSY0KIzLvqpyb+8qSvvi34F2Lv82wq9wwPrDS0XJJknENaP5INZdB2KN?= =?us-ascii?Q?58s+JqC8BXhNCG1fBHIm9T+L0WUPPoTEvx9RAWPMYkCedi0wxZGJSdV0DbSV?= =?us-ascii?Q?ZidjXnWQqWznSLHGvpW7O4Cqf8zLZwvVO0/QU06wg+WEDqhSF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LHGvykepCI5h0Pf7tAUsuUc9PJA7/ahPLCj/g5yzr?= =?us-ascii?Q?oGGTg+ulc7k371FtXSXwK7KaGvCOuC/ZJXueHCJ76opf8xBXfl0kXONfZcFJ?= =?us-ascii?Q?j2AdOlpzlKcjjOUKRJMtQCjNBsG1PPl1VcWGd37joYHcxC8hQ4l6QmYpclzH?= =?us-ascii?Q?toBzHB9Cjt2dI6cg8G/dycJExtnEr6J9GIeQiubicbHB7wKv83EnftT+Tb1x?= =?us-ascii?Q?1Uk5POoForxQ+tW/GKUD+Ny3N+mVZqfC/tOxXasyWxGmwOgyJSNLZXrjN2uu?= =?us-ascii?Q?Vq3apxZ6D3i5cgdPIUsKhSMhry4Y?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR18MB4086.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f6723994-513c-4d85-440a-08d91526c5d6 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 May 2021 09:17:31.9957 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 1gtT0VbiuE+g4aYqIqqcxE8l3hTML1QEMfTZvRBNEEfwwaDwm5sSB2EZOw3bhlUQckbkVrK0uoRJdJBLUpiGagFRiwVf2gLR8gn3oWb+BaY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR18MB4085 X-Proofpoint-GUID: jkJUEUFI7YcT1H1KzQeJiYGslb1EoZLY X-Proofpoint-ORIG-GUID: jkJUEUFI7YcT1H1KzQeJiYGslb1EoZLY X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-05-12_04:2021-05-12, 2021-05-12 signatures=0 Subject: Re: [dpdk-dev] [EXT] Re: [PATCH] config/arm: add ability to express arch extensions 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" > > >> >> >> >> >> >> >> > >> >> >> > The patch still holds true for CRC though as it is listed >> >> >> > separately below >> >> >> > https://urldefense.proofpoint.com/v2/url?u=3Dhttps- >> >> >3A__developer.arm.com_architectures_cpu-2Darchitecture_a- >> >> >>2D&d=3DDwIFAg&c=3DnKjWec2b6R0mOyPaz7xtfQ&r=3DE3SgYMjtKCMVsB- >> >> >fmvgGV3o- >> >> >> >>>g_fjLhk5Pupi9ijohpc&m=3Di3kC8htMiHjXMoJWUn6QlDVZQCblbFrIJyMc >> >W >> >> >> >>>d9nAmM&s=3DfA4SM6O3iC2HXIK1qSbOHzxVeHoYqcfUebEOwioHC7c& >e >> >=3D >> >> >> > profile/exploration-tools/feature-names-for-a-profile >> >> >CRC is mandatory starting in V8.1, refer to Arm-ARM document. >> >> > >> >> >> > >> >> >> > Also, looks like sve2 support in n2 core might be optional as >> >> >> > per >> >> >above doc? >> >> >> I need to check on this. Some of the info here might not be >public >> >yet. >> >> >I found [1]. SVE2 is mandatory feature. >> >> > >> >> >> >> I see thanks for the info I will remove extension from cnxk. >> >> >> >> Do you think the extension infra is still useful for other cases? i.e= . >> >older cores >> >> or cases where vendor wants to enable some extensions by >default? >> >> >> >> I found a document[1] which describes about extensions not >enabled >> >by >> >> default but supported by a given march. >> >> In case of n2 I think memory tagging is one such feature >> >I think the reference is providing a different information than what >> >you are trying to achieve here. >> > >> >It looks like you are trying to address a use case where in the same >> >CPU IP has different features enabled/disabled on different SoCs. >> >This is a valid use case from crypto perspective (due to export >control >> >reasons) where-in 2 different SoCs might have crypto >enabled/disabled. >> >I am not sure if other features can be enabled/disabled. But, Crypto >> >feature is a good enough reason to address such a use case. >> >> Yes, that's my intension apologies if the commit log doesn't clarify it >properly. >> >> > >> >IMO, we should capture the SoC specific details in SoC specific files, >> >in this case in 'arm64_cn10k_linux_gcc'. I believe there were some >> >challenges in doing this. >> >> Since, all the flags are populated through soc_* variable and >> arm64_cn10k_linux_gcc also translates to soc_cn10k I believe the >extensions >> should be reported through >> soc_* variables. >IMO, there will be more SoCs in the future. I prefer to not grow >meson.build. Problem is native build wouldn't read arm64_*_linux_gcc, it will be really= =20 hard to parse it and read extensions if they are placed there. >> >> Also, do you think +crypto needs to be removed from default n2 >config as its >> optional? >Agree. Better to move it to SoC specific configuration. > >> >> >Juraj, do you remember the exact issue? >> > >> >> >> >> [1]https://urldefense.proofpoint.com/v2/url?u=3Dhttps- >> >3A__developer.arm.com_tools-2Dand-2Dsoftware_open-2Dsource- >> >2D&d=3DDwIFAg&c=3DnKjWec2b6R0mOyPaz7xtfQ&r=3DE3SgYMjtKCMVsB- >> >fmvgGV3o-g_fjLhk5Pupi9ijohpc&m=3D0oZnXDnO- >> >>oYL9lESEaZt_nH_kK8Nc3m0tvdEPpKeFZc&s=3DWxrPoWhkM2QIFGEKezP >K >> >D9oEn7nGFvvgS2ul9ZYx-Kg&e=3D >> >> software/developer-tools/gnu-toolchain/architecture-support >> >> >> >> >> >> >[1] https://urldefense.proofpoint.com/v2/url?u=3Dhttps- >> >> >3A__developer.arm.com_ip- >> >> >2Dproducts_processors_neoverse_neoverse- >> >> >> >>>2Dn2&d=3DDwIFAg&c=3DnKjWec2b6R0mOyPaz7xtfQ&r=3DE3SgYMjtKCMVs >B >> >- >> >> >fmvgGV3o- >> >> >> >>>g_fjLhk5Pupi9ijohpc&m=3Di3kC8htMiHjXMoJWUn6QlDVZQCblbFrIJyMc >> >W >> >> >d9nAmM&s=3DkP_X-Co0cl4pZ64BZqy5rAFUlkMZE- >> >3EhTVBabm3SW8&e=3D >> >> > >> >> >