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 07295A0C42; Tue, 11 May 2021 20:50:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9B2734003F; Tue, 11 May 2021 20:50:41 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id A5FBB4003E for ; Tue, 11 May 2021 20:50: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 14BIALEB028487; Tue, 11 May 2021 11:50:35 -0700 Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2109.outbound.protection.outlook.com [104.47.70.109]) by mx0a-0016f401.pphosted.com with ESMTP id 38fw8y8jwh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 11 May 2021 11:50:34 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bF0VK5X1F1AMYKBY6Ctt61zacLAnBvJviiPk4DFoFg+Gr2u3wX/31umY8k3p2ossJl+EyikH2lU9gYAAm0UXN7uaykDYu2cRRSamMqBd7nYeYrYMk5cSJIeu6JFlU2uKYTgaNH6be0iHHIooZN3ttT4hZ/Ux8dGrmPKyhnUqr3KtMDaBE1i6UBR74VfhnRTcWZEUmXGwaUtjEpUKcRodXUIuHTAltPXc+T8pVUB0oFTsp5XdZxdHmmtxXt5rAkGVCv4SDHvbM13TfhXhVN7vxRD4Q5gr7McLhnFHOznf+qpGDK9y6CkrMhXX6v6E1q2tcUP+KMexqBqLW2GHmI5L9g== 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=NEHcqxJth42tDsR+QBmvGJ35T5QWPb+q2+qO9yHZHPk=; b=QuGyoFjrG4u/YP8Tb3uFDd6RM9F2jIX0RIbuNzgkKx68WTZkg+FUA39DgW1Wqqro3GNG4i3G+uvmOGb46EBC33Mc6GImswnFArdl5w3UtBO6o92F8cbvOGGjupkFWH2E/tUa/FXXTUAaAvmK6pNeZ7J5YcDLn3oDZ+IIIF4GkjrQxXrld0trsJzuix5eQe5I06WXz6EY0aMt1jqCTeYwp6DytQVdTYILWhDzCsNNLQXtXmppY8J3lqbUMx0ZM69j0bn4ZX3dlAvFaGRWyNrKFcp6b3LTd9GdAGt2TUnxiP8wv+dhSCsL5RhIBN6V7bvqhVBHKKnR847K8DG+vlYZwA== 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=NEHcqxJth42tDsR+QBmvGJ35T5QWPb+q2+qO9yHZHPk=; b=DWKhMDIzLhdzWCQjSS2T+bKUVj+d64YiIz7SXkFZkPnTB+VAtXP/oWcYArT6rW6hXBMnzZpjFbs3ve+iCGkuvNXHaJUX7C65u/S12tQI/TMnpId9f6wohlaafVQdHKJpD8Q4DeFYD0IiJqJ1/Km1utfWvfg5dv10N/qWxuLHs0g= Received: from PH0PR18MB4086.namprd18.prod.outlook.com (2603:10b6:510:3::9) by PH0PR18MB4104.namprd18.prod.outlook.com (2603:10b6:510:3::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.24; Tue, 11 May 2021 18:50: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.4108.031; Tue, 11 May 2021 18:50: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/LSAgAA5MoCAAAVvAIAAvWjQgACMKICAAAMlwA== Date: Tue, 11 May 2021 18:50:32 +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:99a:9894:1aad:117f] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: da84bdbb-d87a-4c60-11c3-08d914ada78f x-ms-traffictypediagnostic: PH0PR18MB4104: 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: pBqBHKJtnXbtfARq2WKOMx/BULfc/lvE4bhAjuC1tg8m6fDgKalbaS3ObSJ5KBJ7y7cOWJQQMmQWZPUn6r7YRlgSW+N0JwQAvXUp12L6V3wQpsPRnHWNZZVomOz1xifatXRKwM6T9m5FwR5PHvyo8qAgh8Bv9nexeCPpn6Yw3e9kZhBf3kZbgQ47OPqc2Io4trMhe0FmyVItkbEaWyDjI4BXRHx8Jfp7++75wSUVO3PCZ8i/Tws07SH4YvrG/azxBuXz8HbfTfPu/1/cy053IqyC1/1gb3aR9kbCpH2+J56pprkQvhbKL0VzpdtoY0vqlmbP7KCWwOyyRVmGS/gP0XnfmnNGtiovc6idtZHo5yp8kGREx21kpIyrxhn2TgjA79LD4DGpRQJD3wUEkFi/NJYE2kbpd7cZs5378VrBZXYJ0AwX0dMF6fcw9032A/Ut7OuPYXvZbcOsy2IxQMt8jcy4BWAj81JEol2DDjIktM4rSIftGYUjxM7ReqNwJLOK3YGLOh2dXYfBBo8S59sdvuOZVCRAPXOZycdxb5a46BOayxwOql1h+sMq2DmK2AUaaCHIVnzIwE66ovNNmwfn7zvk+HTa7vq3oqeizhOey92ptNmn2OeQtqEmLyQd0xfJpNYHjpvNFsuTgDj963PE2D7sQYiaN2Sa1wcdCBTPsaCObbhCvvlxf/9orBhf3y8b 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)(366004)(7696005)(122000001)(498600001)(86362001)(186003)(8936002)(5660300002)(110136005)(54906003)(38100700002)(71200400001)(966005)(6506007)(83380400001)(66946007)(52536014)(66476007)(66446008)(76116006)(64756008)(8676002)(66556008)(33656002)(2906002)(4326008)(9686003)(55016002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?KVptOeHukR70mJBTMJRBUbH807V5s6D/z+2GiZMzpL2tuLf3jwRbO5jvlOa9?= =?us-ascii?Q?JikyDUid/bHpjYrNzWtLNsp5zNhGfHJna2ZynjXbd1MfMPdx6t4Du9dfoyKg?= =?us-ascii?Q?D20uIZv/F2Dfe9es+gsAaqcMkhO4A/yR9P5VBfBmqu+iFvvz6SM2tWwfTuqd?= =?us-ascii?Q?2euNyiimFNvG1Cvjq9NGu2/h5RaLBDcfV7I4nQdyGa/0rGBSCWo0RjjHobj8?= =?us-ascii?Q?pi/P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ENVOSOHGpUcPLw?= =?us-ascii?Q?3Tv9WhZUjS175KG8X4Zk+rvMcIi3oAnqTndiPCEUMyvp/dUwr51dAeaaQ3Dc?= =?us-ascii?Q?6fMMaLzOq8+XbNZVbwRSl2dgKCVKPqPEcdyNy+OlxjNgwJ7J5Wx4qMzKNRSF?= =?us-ascii?Q?/Xf5XeW5rQ+sOiAMWaOy165NaykKWdhOZ58DsG5zLUtbpU1TGeX5jRdf+kPF?= =?us-ascii?Q?12VlWYPKeMPKrLrW6fYdFjCNVtfAEozbRr0me+6s4ryikM9gwRm9B2dytIpl?= =?us-ascii?Q?jhcnlurvg9pEwRrZgKFtqCRgnkID?= 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: da84bdbb-d87a-4c60-11c3-08d914ada78f X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2021 18:50:32.1171 (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: 3neI4ZyGfjM/GDPtV32FTOk84X5ohrvBNzaMbWXnOGRRgDIybCBIeYeptBbLR8XbyOSgReWbu5lYCctMkFX8Dyntb/IG14y5XxJVHWvvDhE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR18MB4104 X-Proofpoint-GUID: ya1ANpevADEnLevszr2BYsBPIt1JmuZO X-Proofpoint-ORIG-GUID: ya1ANpevADEnLevszr2BYsBPIt1JmuZO X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-05-11_04:2021-05-11, 2021-05-11 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 pro= perly. > >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_l= inux_gcc also translates to soc_cn10k I believe the extensions should be reported th= rough=20 soc_* variables. Also, do you think +crypto needs to be removed from default n2 config as it= s optional? >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=3DWxrPoWhkM2QIFGEKezPK >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=3DE3SgYMjtKCMVsB >- >> >fmvgGV3o- >> >>g_fjLhk5Pupi9ijohpc&m=3Di3kC8htMiHjXMoJWUn6QlDVZQCblbFrIJyMc >W >> >d9nAmM&s=3DkP_X-Co0cl4pZ64BZqy5rAFUlkMZE- >3EhTVBabm3SW8&e=3D >> > >> >