From patchwork Wed Mar 26 18:37:57 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Gupta X-Patchwork-Id: 14030096 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 85D92C3600B for ; Wed, 26 Mar 2025 13:50:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To: In-Reply-To:References:Message-Id:Content-Transfer-Encoding:Content-Type: Subject:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=8+o55FPMa7m6VVea9dp3slj5OALcBnoJzyUth39j3Gk=; b=N95AlnzIGls3Co75K4ubldujoi 9GdqmbWxPHTj/mpLs4NOApY4JI4f7YW98I68llipHF33x2eBnO/wjSVDyJmWSfdIeKplXX2jc1F4n FmMqmwBvUFWazvkHXy2sDdibAiHk3qN6wmWqZZ/3dTJVjKmRmvILiWoFqmvwYJh3/ZrYn3+TpTbrG FdWyb5wP/EDKPbxvzUJ/OTZQRvifi03yEKGjiGbUg6Q/OpBypBbsdjOMYkMNLqq2N60zcp+sLzERa jnuxGLcYf04lFfMK0y5UJlOPvmNuCJHercy0LvGG8EB05cnTB614D7jvuxEXWpGJxmiynGjZjRwY4 h3tBysbQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.1 #2 (Red Hat Linux)) id 1txR8j-00000008bXn-22M5; Wed, 26 Mar 2025 13:49:53 +0000 Received: from mail-northeuropeazlp170120003.outbound.protection.outlook.com ([2a01:111:f403:c200::3] helo=DU2PR03CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98.1 #2 (Red Hat Linux)) id 1txQpz-00000008ZYI-2U85 for linux-arm-kernel@lists.infradead.org; Wed, 26 Mar 2025 13:30:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=g8t3O6DEVHM7vRKhCiJV97fsl4hI5gnaOC7uo8OpptzwYgQnjwAowiYXMK+Xv5uNge89zHDGX4D4Cyoc7cEM/wATblfagJuLi1iOhxg3WfPseDh/7GySmeQVBts5mepOivc9z6J7yLtSl9DeYdkeTqn1Im7rFZIRmWJhTmumOPYimSsifKLasw5hOfODeT1GQPFOQZak5dNAyS2dRbVa9YyVZpjy331Y3PR+rvqJhnHdYSWs+LHbQU1I0U2chYA5ghOfJNgMV0VA6c2G2+JPKM4lLznq9m4SWQmYeJgsgzrh418MnlEi0UHRnb/x+z/VArV1TPhwFUxvwFEgXnYtHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=8+o55FPMa7m6VVea9dp3slj5OALcBnoJzyUth39j3Gk=; b=eWwH0pB0G+7kOtMS8J+o9id0jwuL1sEFvE+hguRePvCkcUbIzj22QrZStqya+ytOf8wCCYfxhrsAxA8afEViqhpewRbVlOCzIPcoRsE0DGaQS4R7JpqjVGP83TmxnO6J3ipb6bZGYrgg98E8KthsSFADNZLx2xf+npa4AAjcgUHeUpaK+ZHRs/rHjvi9pQ3qgtSXBbOyMERj1s+zr4eXNpndiwMBSm3gpyDSB9hxP07GnZLdJ1EecmUoBOWRp3s09SwVA8rY4PSRExWfztySJW1g6CaHES8E4uvSdPmwLXqJ9cYiBAbMAMuEESuCG5SLIcZadmaBSLqPGwRE+we24w== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8+o55FPMa7m6VVea9dp3slj5OALcBnoJzyUth39j3Gk=; b=FDXZn6P2qVNQ8l0DKHKHvKuXEoruQbe0PzPs5QIFwZDbu56BZd4iw/qGS0tWz66B01Pk6Z6rxCMFZjA6s32jreI4zeOWMwvGYTuGMc+UbRNvhZq5Zjyx3CGeIj66kr2QoZEvgdStxiUJxjfQjO1G+Z/HBIapzTeWhGdpGbP04NZcdthKlFPxxnlljFiktrclwqyyql8JrH/Wi/PPktNtHH9u5XbYTAN0EBQ23D0a5fHQCQ0hQbXwOY4iM8NSaSYqt4DuRfamD8Xumiw9F7Sn9KgD7UAUdwTg+4xALcJ88j4VnVOouZmojIeqw5+kD44yLsWWMfwkntJTmhqTKwp9qA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM9PR04MB8604.eurprd04.prod.outlook.com (2603:10a6:20b:43b::21) by DU2PR04MB8855.eurprd04.prod.outlook.com (2603:10a6:10:2e2::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.44; Wed, 26 Mar 2025 13:14:54 +0000 Received: from AM9PR04MB8604.eurprd04.prod.outlook.com ([fe80::e751:223e:aa3d:5827]) by AM9PR04MB8604.eurprd04.prod.outlook.com ([fe80::e751:223e:aa3d:5827%5]) with mapi id 15.20.8534.043; Wed, 26 Mar 2025 13:14:54 +0000 From: Pankaj Gupta Date: Thu, 27 Mar 2025 00:07:57 +0530 Subject: [PATCH v14 1/6] Documentation/firmware: add imx/se to other_interfaces Message-Id: <20250327-imx-se-if-v14-1-2219448932e4@nxp.com> References: <20250327-imx-se-if-v14-0-2219448932e4@nxp.com> In-Reply-To: <20250327-imx-se-if-v14-0-2219448932e4@nxp.com> To: Jonathan Corbet , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Pankaj Gupta Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1743014302; l=6679; i=pankaj.gupta@nxp.com; s=20240523; h=from:subject:message-id; bh=8QvSWd4rmn+G1ZEKi8f+TGc8yN5T+yIQA/mdWdtzwO0=; b=wEzEAc0lC8pgrT5zIn34aePYb4YGUGCmdpAwsOolJcjt00CykYMpaLbaoBlFeL/NOIBCnFmaI /tQoWHPxOcJCRTDT4a6OtHkz+n5HWWqU5v2VxXcOZg1G8NVNO4/TxjH X-Developer-Key: i=pankaj.gupta@nxp.com; a=ed25519; pk=OA0pBQoupy5lV0XfKzD8B0OOBVB6tpAoIf+0x1bYGRg= X-ClientProxiedBy: SG2P153CA0047.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c6::16) To AM9PR04MB8604.eurprd04.prod.outlook.com (2603:10a6:20b:43b::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB8604:EE_|DU2PR04MB8855:EE_ X-MS-Office365-Filtering-Correlation-Id: a12936d9-b40d-4ae6-40cf-08dd6c683311 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|52116014|366016|376014|7416014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?7WWnRkOmjh/SBQFqLt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F1def03l0OMm0zQClXHUI?= =?utf-8?q?/wjE24F/MnVSTCVsXpYWyJulFjhGvdV7FjwzNcdlBEm9KbiqdZS5vShUSZc4ZYY9X?= =?utf-8?q?q8iDAyt+NlRAgH8mkVnX04nRZMZdlWfccvaho7VQAxuc4OdaiUc+F4SKXcShnOtLs?= =?utf-8?q?nXByVZsrD1snm7qqRhe+GUsP+5W88QQCc+N8ms3gua6o8iuIO2k0HjtyE4t5byJ0Y?= =?utf-8?q?0Vxqvn01C3vWhsRtbN1LM8KLeYU+lgF6SHfKfbh68QPV/FZ5vvd3DztqkJkfOB6lE?= =?utf-8?q?FJH7M5dcI1otifcXattmYkg4J/Ac98V4vAlV2WmoG8gxsQiLNJAx6uVkkD3UjkdQN?= =?utf-8?q?k6Ko4wHTwPEGGwGNBhQ6iqWvDDKNKSujLB3LF9XVyylM3CbLV2vC64s7ajEwRdUMr?= =?utf-8?q?SkwbmywG6bGbS3IzKITq+dRQaHjr1QcJG9p80YaWH6MJBaOZ01L96bd35jqp+RNuP?= =?utf-8?q?op8Nj499MGvh1PD5hyiupgN2ZI/X+9H211SMzap6csNP0TemxBhKqClFiti779C4k?= =?utf-8?q?4dcXUQxYfKH8LFUeC5wvu/6xTy1VIEHFQ=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB8604.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(52116014)(366016)(376014)(7416014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?SKEEbYw19FfEHeYwHMGosjOMnWFK?= =?utf-8?q?RcWS+8/VCAa0SiOBjXmXtkbtRNstm+Uqsv3O06uecNNKLJTTRwlMtUPoCWk+Wzk3R?= =?utf-8?q?+UMy8EF00HoDSYeMHssSPqyRYoW5BU5LuxNpcIFito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wGG5zaOY?= =?utf-8?q?B361ACtPVAdCIMLdSh83nX2jTlufQ9/BRlObgZmjcDOpdNU9Wwmf/zvHj7uj9kFSY?= =?utf-8?q?7sqnbSAwdGjazH1gBHhs9D78kIBLLBFpYQf97ufTCPT4iUie76u1sfIVn2qEe8JHJ?= =?utf-8?q?+csjUT+WJgcB70SCThSjenWQnXZ9ukWaJh011T+Ob1ncXOFMV7XneaZ25r8jMnKfJ?= =?utf-8?q?RTQbBQaJ79wrhB628sge7vbWK33mdOBuJ42EPMpXM807DjWV64dxF2zIz8azICmDm?= =?utf-8?q?7kCUE3Xnm6ErgNZZv5NdszjjMVAcWZ5Jt8kfb7SKSfhafdj8CngjtMTgPpXimjKaU?= =?utf-8?q?K7LclE4cOB+EiUa7UGLFrZitP8xfry73MgpGssN9f1KyedncDaELsJp9UHHxmfp+o?= =?utf-8?q?1JTPA6DC7y4cuzikYAqkSBMS0kpRq5/73TdMbogTE4besGHaDUEiVUbJdRrTb+90U?= =?utf-8?q?dStZF7l/FDLHEEeibVA0r37g2vyOt1Z1jGiL+URaVZk1No9fsKP/0J9mvu68s5+i9?= =?utf-8?q?2vwPirNu6Z22?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a12936d9-b40d-4ae6-40cf-08dd6c683311 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB8604.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Mar 2025 13:14:54.7498 (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: RWXlX4C1l/+er2LUwuzFwpl4+3rJjIHpAPLwkNRC+oP4yZFPpDxrA9yCmN5y26h4BkiQDP9rMzAi4EWkFh8K4Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8855 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250326_063031_775378_6BBA9A01 X-CRM114-Status: GOOD ( 13.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Documents i.MX SoC's Service layer and C_DEV driver for selected SoC(s) that contains the NXP hardware IP(s) for Secure Enclaves(se) like: - NXP EdgeLock Enclave on i.MX93 & i.MX8ULP Signed-off-by: Pankaj Gupta --- .../driver-api/firmware/other_interfaces.rst | 121 +++++++++++++++++++++ 1 file changed, 121 insertions(+) diff --git a/Documentation/driver-api/firmware/other_interfaces.rst b/Documentation/driver-api/firmware/other_interfaces.rst index 06ac89adaafb..a3a95b54a174 100644 --- a/Documentation/driver-api/firmware/other_interfaces.rst +++ b/Documentation/driver-api/firmware/other_interfaces.rst @@ -49,3 +49,124 @@ of the requests on to a secure monitor (EL3). .. kernel-doc:: drivers/firmware/stratix10-svc.c :export: + +NXP Secure Enclave Firmware Interface +===================================== + +Introduction +------------ +The NXP's i.MX HW IP like EdgeLock Enclave, V2X etc., creates an embedded secure +enclave within the SoC boundary to enable features like + - Hardware Security Module (HSM) + - Security Hardware Extension (SHE) + - Vehicular to Anything (V2X) + +Each of the above feature is enabled through dedicated NXP H/W IP on the SoC. +On a single SoC, multiple hardware IP (or can say more than one secure enclave) +can exist. + +NXP SoCs enabled with the such secure enclaves(SEs) IPs are: +i.MX93, i.MX8ULP + +To communicate with one or more co-existing SE(s) on SoC, there is/are dedicated +messaging units(MU) per SE. Each co-existing SE can have one or multiple exclusive +MUs, dedicated to itself. None of the MU is shared between two SEs. +Communication of the MU is realized using the Linux mailbox driver. + +NXP Secure Enclave(SE) Interface +-------------------------------- +Although MU(s) is/are not shared between SE(s). But for SoC like i.MX95 which has +multiple SE(s) like HSM, V2X-HSM, V2X-SHE; all the SE(s) and their interfaces 'se-if' +that is/are dedicated to a particular SE will be enumerated and provisioned using the +single compatible node("fsl,imx95-se"). + +Each 'se-if' comprise of twp layers: +- (C_DEV Layer) User-Space software-access interface. +- (Service Layer) OS-level software-access interface. + + +--------------------------------------------+ + | Character Device(C_DEV) | + | | + | +---------+ +---------+ +---------+ | + | | misc #1 | | misc #2 | ... | misc #n | | + | | dev | | dev | | dev | | + | +---------+ +---------+ +---------+ | + | +-------------------------+ | + | | Misc. Dev Synchr. Logic | | + | +-------------------------+ | + | | + +--------------------------------------------+ + + +--------------------------------------------+ + | Service Layer | + | | + | +-----------------------------+ | + | | Message Serialization Logic | | + | +-----------------------------+ | + | +---------------+ | + | | imx-mailbox | | + | | mailbox.c | | + | +---------------+ | + | | + +--------------------------------------------+ + +- service layer: + This layer is responsible for ensuring the communication protocol that is defined + for communication with firmware. + + FW Communication protocol ensures two things: + - Serializing the messages to be sent over an MU. + + - FW can handle one command message at a time. + +- c_dev: + This layer offers character device contexts, created as '/dev/_mux_chx'. + Using these multiple device contexts that are getting multiplexed over a single MU, + userspace application(s) can call fops like write/read to send the command message, + and read back the command response message to/from Firmware. + fops like read & write use the above defined service layer API(s) to communicate with + Firmware. + + Misc-device(/dev/_mux_chn) synchronization protocol: + + Non-Secure + Secure + | + | + +---------+ +-------------+ | + | se_fw.c +<---->+imx-mailbox.c| | + | | | mailbox.c +<-->+------+ +------+ + +---+-----+ +-------------+ | MU X +<-->+ ELE | + | +------+ +------+ + +----------------+ | + | | | + v v | + logical logical | + receiver waiter | + + + | + | | | + | | | + | +----+------+ | + | | | | + | | | | + device_ctx device_ctx device_ctx | + | + User 0 User 1 User Y | + +------+ +------+ +------+ | + |misc.c| |misc.c| |misc.c| | + kernel space +------+ +------+ +------+ | + | + +------------------------------------------------------ | + | | | | + userspace /dev/ele_muXch0 | | | + /dev/ele_muXch1 | | + /dev/ele_muXchY | + | + +When a user sends a command to the firmware, it registers its device_ctx +as waiter of a response from firmware. + +Enclave's Firmware owns the storage management, over Linux filesystem. +For this c_dev provisions a dedicated slave device called "receiver". + +.. kernel-doc:: drivers/firmware/imx/se_fw.c + :export: