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 C6947A052A; Wed, 27 Jan 2021 16:13:00 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 40669140E4C; Wed, 27 Jan 2021 16:13:00 +0100 (CET) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2061.outbound.protection.outlook.com [40.107.21.61]) by mails.dpdk.org (Postfix) with ESMTP id 4C3E7140E37 for ; Wed, 27 Jan 2021 16:12:58 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DWy0LLVH4lsKTIUZ3KNhZcATeVlTk37SjlEUVkc9F/u9htjzMPlV5qDIwedWuGvFU3lMje2Ikle7gPzxFXrCXu5u+je4oHerQZN/pQSzcdJ9XEhcmWYbIlCccIZ+OipCS1wPVc5jkiUUqg6JNcahvIH6M5maBm5ynx9ZDYoPqd2rI1usbN99LUrbRTLADqKtvunKxjrpS2tqnuz5jRChPhcBCQWkGaAehwPaUxPCcYBjikspNRNSoMKdFmZePVxaAW0IqZTU20rB+fYXXMRiftrYo3VkosPtwigzEWg+rvPTREmelil+IA4WCZmdESkqZrL2yt3RfvC0OW3M81MGPQ== 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=VFsVT7afxy/6t2lhWKhyt6AbJSPwDroMudu7SCojgxY=; b=jbx4oN5IexNhCV6j+xNeB7Lism8s9zy9FaSxEGTbfnrx1+fStG7mweRfJ07WRR/n2DgYpBmAxp9GutRfiuFL/UH3FCa9Mt1Uba+lJywDtWAKZtvcW+MEe71OUkIYbNHF0e0QKN6yDRHJnPD7VoY0eOkTHKstkBcO/cyI6Dg5tR4wi3+GYHetfx0WgSDPY3tIXTnlXISpCloqQGhmaAPhZ2ok2sXLpzIk4AAe4KwGDm+uqxE05kjtIb5/Y6GQtcjF7KtN/Nc7wWqFHF9ZBStV8Fek3LN622sEXZ0ysfXHMzuSrjM+Z8iRDHLZm+8ynLThD0KFhFql6FIRfL/FpP5YJQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VFsVT7afxy/6t2lhWKhyt6AbJSPwDroMudu7SCojgxY=; b=DGsYeujD3SGUUbiBuZRHR0OCJO2YL1J2vPfafWRoNsD+CK27T/3bfx0pGUuDlea1n1VIkVt+R/hvuTo2EWqUJYzAa/eteDsSbcWgbf+IrFkmLF77D8daXK/kr2y0j/U0f/qGFKzsJv/iVWv4NQhvDvuJiPok4Z665iOmIGHoVSI= Received: from AM6PR04MB4456.eurprd04.prod.outlook.com (2603:10a6:20b:22::25) by AM6PR04MB6182.eurprd04.prod.outlook.com (2603:10a6:20b:bb::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.17; Wed, 27 Jan 2021 15:12:57 +0000 Received: from AM6PR04MB4456.eurprd04.prod.outlook.com ([fe80::e5a2:51f9:61ba:1af7]) by AM6PR04MB4456.eurprd04.prod.outlook.com ([fe80::e5a2:51f9:61ba:1af7%6]) with mapi id 15.20.3784.017; Wed, 27 Jan 2021 15:12:57 +0000 From: Hemant Agrawal To: Pavan Nikhilesh Bhagavatula , Honnappa Nagarahalli , =?iso-8859-2?Q?Juraj_Linke=B9?= , "bruce.richardson@intel.com" , Ruifeng Wang , Phil Yang , "vcchunga@amazon.com" , Dharmik Thakkar , "jerinjacobk@gmail.com" , "Ajit Khaparde (ajit.khaparde@broadcom.com)" , "ferruh.yigit@intel.com" CC: "dev@dpdk.org" , nd , nd Thread-Topic: [dpdk-dev] [PATCH v14 00/12] Arm build options rework Thread-Index: AQHW2SFu4NzuJDSpskORKy4ygpwoX6oY8k4AgABFvwCAGk2yAIAILAUAgAAWtQCAAADgsA== Date: Wed, 27 Jan 2021 15:12:57 +0000 Message-ID: References: <1605874101-30893-1-git-send-email-juraj.linkes@pantheon.tech> <1608724059-8562-1-git-send-email-juraj.linkes@pantheon.tech> <49d48939909a4d30a50cb1a3e0dd1327@pantheon.tech> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: marvell.com; dkim=none (message not signed) header.d=none;marvell.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [103.156.221.58] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 90ee8151-2ec4-42bd-70de-08d8c2d6074e x-ms-traffictypediagnostic: AM6PR04MB6182: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /0RBe/Pg6LxvzOscmi4m92PZ60Ql43Unp/3q1rTmw4JhXoGnEF2DJq6uuLpIcC/CVvfvap+fuKPub2pBppTDLCwB3Plv+R0XcGdHthIlFzsQJ2JgJEGJ+T5ze1cWdHpN5g69zQndThdeAg0lKELdkaGnmRN1VFX371Quk6C42yxLQiktcLn5QxjREzaVijNVemMvEQUW6PJ+ikp2K9UjQKmsnflKprjNPY4gfvljDfMr7Z7LbEz5lRbSR25/QKoVD7LG596SazzSOxGKL4GSono/6OvKAY4M3IYTnLiGIsqYJ5xtVW6vGZMfXyj8CSfLMPxmzXekzYgh+FuU7cuOmt3H28K7TW9Z+BSL4GSWHLK4dnFF82ot/dtXUh6fjDTRL1h9ur+qnaZ7FUHr7bVq56aBHvy6QUsA/wvmH5XF73ZuUlh1kcQD69FjebG/V/UuMv9asR/iY13oStyj6p+roS1ytl00jt432Wt+ybhuWda6Bu2t9FvZIupOG8zDPIKSmY0VnC0IEB7eZNPGhf1NlHxMyLgQtoAERQi8A8N4p2zCatokQloSivYLJKxNzkYJWlQuP1lytIiwRrweRdlUWOWnAGRdmZ+ckNxhiaPZ2Uq8KicFVnphgwkv/GK1sXz7JgLufKD5QHtZt1oGofnPwg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR04MB4456.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(366004)(39860400002)(396003)(346002)(136003)(64756008)(26005)(66446008)(316002)(66556008)(66946007)(66476007)(7416002)(5660300002)(52536014)(54906003)(44832011)(83380400001)(76116006)(6506007)(186003)(110136005)(7696005)(9686003)(55016002)(71200400001)(8936002)(86362001)(2906002)(478600001)(966005)(45080400002)(33656002)(8676002)(921005)(4326008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?iso-8859-2?Q?nOw0baSbof96DTrvyNBp9pxC+vPfwzq2Nmdny+ktEsIUQ3T2u3OVmNHjiH?= =?iso-8859-2?Q?P9GHoMpsbbu8vMP9NKhKHM0ifpN3JEcdx/Rk87OB1q3EXTjjhOkvbsHyM6?= =?iso-8859-2?Q?CEZgXfCLZuEnqQ38ATk+0dOENEg78nPXAjWi6oq9TOExPPSua/TFf7NMFe?= =?iso-8859-2?Q?azv8IWWSC5gauBKF96hD84v+0wQOtqhjoYH7Nq0JoSpOOjEgu1Xdpj6XAc?= =?iso-8859-2?Q?NrtBCxk5xCcmqad7FaN1dJzjsogby5WGT9qv2gP6a60GT+LK/vtLlgijdM?= =?iso-8859-2?Q?ZLO5e7kHG/lhAwgwygUcwBWOhi2cnPXTq3fGNa2R/ycvyIcr70kuuqy6rj?= =?iso-8859-2?Q?bag8j4r2N3QBXO0sRUlBVvwSAAj6VB2YJsB8A4wlA3JaxaooQ1jSzjOCLi?= =?iso-8859-2?Q?I6IofbaV4Cu3XbvPztrM7cytK9M1KGi2gmmf2Cedn5t0acfJqUlPo566Mm?= =?iso-8859-2?Q?ovuWp+V7VPg3qiybq03EbYMdX25CkgSPPCi2RqvlVtMs6T9dyAz/vCcukq?= =?iso-8859-2?Q?xHvsLvUKZJMuf09v/aajvNP+SHaRUStDDm547nprcdGUCSfTfPeIb/Dr/U?= =?iso-8859-2?Q?cxEq8scg3pB3DOLGjPg5l3XBCPX1+ncOfTWR0UtzbA6Pr0476fJBfYzft/?= =?iso-8859-2?Q?37nclXA8H5DBm1k0GPprsryLXNl1l07XMe4ui0nNQrBfA1gMoYlZI9lhUK?= =?iso-8859-2?Q?PWGNa5GyLeDPzec4va2pzcylKhie/zOPx9gD13tTB6vhe+1MUv4vXeUMuL?= =?iso-8859-2?Q?UC/G708M5T+5v+8tqY3zNoAJneRbuTaqqB4On34XbgVsBb+ovP8l2ZYiCD?= =?iso-8859-2?Q?Vl9/l0KBlCU+ijCk2QFicKPyYfsRlQNAno5IoUWKE97g0N2xtNQc/XEsgo?= =?iso-8859-2?Q?PrWHIguQQbqvg9r6EmHd9kAUVEubuZ/hR5hW5a/AyD2j17n7UnCmJAwb6T?= =?iso-8859-2?Q?Al9m7iKn+VMMofcr+jy3B0zPcoQcf+pPphy0LX9ZVs7xNhRHX8yO6XeRXF?= =?iso-8859-2?Q?rDrFXGaev9bCmM7RuwL6lH9uTP02B/Z6ifbTYJ+P+XirXM5ILo9YOERuVJ?= =?iso-8859-2?Q?kEUAKp9zoJ9ABt7ImCkOgjzzk9rz5tDLmN0pySX6vRj7?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4456.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 90ee8151-2ec4-42bd-70de-08d8c2d6074e X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jan 2021 15:12:57.3726 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: f78Sg3a1s0+tSvefMvPyq9jcYhcUBqmsHqOHnSD7RLeuS0J7tjPw3b3yYtPmvh7JtF+Se2MZAiy2CCsT1bEapA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB6182 Subject: Re: [dpdk-dev] [PATCH v14 00/12] Arm build options rework 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 > >-----Original Message----- > >From: dev On Behalf Of Honnappa Nagarahalli > >Sent: Wednesday, January 27, 2021 7:11 PM > >To: Juraj Linke=B9 ; Pavan Nikhilesh > >Bhagavatula ; bruce.richardson@intel.com; > >Ruifeng Wang ; Phil Yang ; > >vcchunga@amazon.com; Dharmik Thakkar ; > >jerinjacobk@gmail.com; hemant.agrawal@nxp.com; Ajit Khaparde > >(ajit.khaparde@broadcom.com) ; > >ferruh.yigit@intel.com > >Cc: dev@dpdk.org; nd ; Honnappa Nagarahalli > >; nd > >Subject: [EXT] Re: [dpdk-dev] [PATCH v14 00/12] Arm build options > >rework > > > >External Email > > > >---------------------------------------------------------------------- > > > > > >> > > >> > > > > >> > > >v14: > >> > > >Resent for retesting (because of suspected false negative). > >> > > > > >> > > >Series Acked-by: Jerin Jacob Series Tested- > >by: > >> > > >Jerin Jacob Series Tested-by: Dharmik > >Thakkar > >> > > > Series Tested-by: Vimal Chungath > >> > > > > >> > > > > >> > > > >> > > Series Tested-by: Pavan Nikhilesh > >> > > > >> > > Also, I believe we need to take a look at ARCH_SOC_ID support > >coming > >> > > up in > >> > > 5.9 kernel. > >> > > > >> > > https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%= 2 > >> > > Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps- > &data=3D04%7C > >> > > > 01%7Chemant.agrawal%40nxp.com%7Cf05a2623ec9347bd254708d8c2d4896 > c% > >> > > > 7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637473565383043785 > %7 > >> > > > CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJB > Ti > >> > > > I6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3Do7%2BXNileFgI2By08IHv > EY > >> > > PWrDjRikXlfFtal1MCdyCM%3D&reserved=3D0 > >3A__lore.kernel.org_linux-2Darm-2Dkernel_20200506164411.3284- > >2D1- > >2D&d=3DDwIGaQ&c=3DnKjWec2b6R0mOyPaz7xtfQ&r=3D1cjuAHrGh745jHNmj > >2fD85sUMIJ2IPIDsIJzo6FN6Z0&m=3DA7kOn5DYMe_WZiykt8BVATgv7- > >qTVhfo4iSgHBg- > >BTo&s=3DdslFI0W1qZdDxkbXDMTzPSUzlKMFfMUsE6tllPaF9Oc&e=3D > >> > > sudeep.holla@arm.com/ > >> > > >> > Agree, it can come after this series is merged. > >> > > >> > Note that it requires firmware with SMCCC v1.2 support in the > >> > underlying platform. > >> > > >> > >> I have a few questions to everyone: > >> Is there any comprehensive documentation about how to use this? > >Things > >> like where in Linux can I get the ARCH_SOC_ID and how are the ID's > >mapped > >> to socs? > >Kernel patch is at [1] - merged in Kernel 5.9 Makes use of SMCCC v1.2, > >SMCCC_ARCH_SOC_ID call. > >SMCCC v1.2 spec is at [2]. > > > >The SoC ID becomes available at: > >/sys/devices/socX/family > >/sys/devices/socX/soc_id > >/sys/devices/socX/revision > > > >SOC_ID makes use of JEP-106 code [3] for the SiP which makes it unique. > > > >[1] > >https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Furld > e > >fense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps- > &data=3D04%7C01%7Chemant. > >agrawal%40nxp.com%7Cf05a2623ec9347bd254708d8c2d4896c%7C686ea1d > 3bc2b4c6f > >a92cd99c5c301635%7C0%7C0%7C637473565383043785%7CUnknown%7CT > WFpbGZsb3d8e > >yJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3 > D%7C100 > >0&sdata=3Do7%2BXNileFgI2By08IHvEYPWrDjRikXlfFtal1MCdyCM%3D&a > mp;reserv > >ed=3D0 3A__lkml.org_lkml_2020_6_25_208&d=3DDwIGaQ&c=3DnKjWec2b6R0mOy > >Paz7xtfQ&r=3D1cjuAHrGh745jHNmj2fD85sUMIJ2IPIDsIJzo6FN6Z0&m=3DA7k > >On5DYMe_WZiykt8BVATgv7-qTVhfo4iSgHBg- > >BTo&s=3D5xXdzD7DpbcDeG81JVGZf396EFNbV0rSl00hRLuZJBc&e=3D > >[2] > >https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Furld > e > >fense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps- > &data=3D04%7C01%7Chemant. > >agrawal%40nxp.com%7Cf05a2623ec9347bd254708d8c2d4896c%7C686ea1d > 3bc2b4c6f > >a92cd99c5c301635%7C0%7C0%7C637473565383043785%7CUnknown%7CT > WFpbGZsb3d8e > >yJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3 > D%7C100 > >0&sdata=3Do7%2BXNileFgI2By08IHvEYPWrDjRikXlfFtal1MCdyCM%3D&a > mp;reserv > >ed=3D0 > 3A__developer.arm.com_documentation_den0028_c&d=3DDwIGaQ&c=3Dn > >KjWec2b6R0mOyPaz7xtfQ&r=3D1cjuAHrGh745jHNmj2fD85sUMIJ2IPIDsIJz > >o6FN6Z0&m=3DA7kOn5DYMe_WZiykt8BVATgv7-qTVhfo4iSgHBg- > >BTo&s=3DDFG7a9oFDFczCcODfR0wVGjkLQXwMU19q_ogaFVw90I&e=3D > >[3] > >https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Furld > e > >fense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps- > &data=3D04%7C01%7Chemant. > >agrawal%40nxp.com%7Cf05a2623ec9347bd254708d8c2d4896c%7C686ea1d > 3bc2b4c6f > >a92cd99c5c301635%7C0%7C0%7C637473565383043785%7CUnknown%7CT > WFpbGZsb3d8e > >yJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3 > D%7C100 > >0&sdata=3Do7%2BXNileFgI2By08IHvEYPWrDjRikXlfFtal1MCdyCM%3D&a > mp;reserv > >ed=3D0 > >3A__developer.arm.com_documentation_ka001301_1- > >2D0&d=3DDwIGaQ&c=3DnKjWec2b6R0mOyPaz7xtfQ&r=3D1cjuAHrGh745jHNm > >j2fD85sUMIJ2IPIDsIJzo6FN6Z0&m=3DA7kOn5DYMe_WZiykt8BVATgv7- > >qTVhfo4iSgHBg- > >BTo&s=3DGQsJJuft9k1iooO8VNNIM8ZUUgGjCEPB6eRxN3qm62U&e=3D > > > >> If the ID mappings are not public then the plaform owners would need > >to > >> add the support, right? > >I agree here. There are firmware changes required and we do not know > >the IDs as well. It will be good for Marvell/NXP/NVIDIA to do this. > >Pavan, is this ok for you? >=20 > Yeah, I believe we need fallback to the current mechanisms if SOC_ID > support is not present or platform owners have not updated them. [Hemant] +1 =20