From mboxrd@z Thu Jan 1 00:00:00 1970 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 0BA1CC5321E for ; Mon, 26 Aug 2024 10:02:36 +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:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=2j1DO23I6l14Lr1AE/myCjU42IHWv3JQ+LONfHIbV+w=; b=FSamLaeuZtAq7Zq/dMbFxmhI3L MH3xkpLtZiKCfJuhPv9ZL35eWYlCaCo+LCz/Ly0lcee2VXLF0L+qhW85eKlONxXnSR7kKwb9YUPgF XOX03Sg1Hdz6MRAHliJp8Hyuz5y1Mx/JowPgj35C8T+B+W5EWsMnLingIPxyukZrRUHWuzQN8SgcS OwnpKNJ1R2Gp5IXaALUqb2+tsU92Krc7e0zOpN+/8AXYgQzYItA4tq3nGNuXESP8W6Cwgz3l9ajoU HORTS7uX5qcAfuy6lP5ceIwc9YqQSkOXYnjs6nnO2aHxrUAoRlgTi6r9whgLyXqo+STfDXX+OQK5i LwYC9Law==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1siWYK-00000006pVB-2Af2; Mon, 26 Aug 2024 10:02:24 +0000 Received: from nyc.source.kernel.org ([147.75.193.91]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1siWWl-00000006otN-34LE for linux-arm-kernel@lists.infradead.org; Mon, 26 Aug 2024 10:00:49 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 005DEA42111; Mon, 26 Aug 2024 10:00:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3663FC51403; Mon, 26 Aug 2024 10:00:42 +0000 (UTC) Date: Mon, 26 Aug 2024 13:00:50 +0300 From: Catalin Marinas To: Steven Price Cc: kvm@vger.kernel.org, kvmarm@lists.linux.dev, Marc Zyngier , Will Deacon , James Morse , Oliver Upton , Suzuki K Poulose , Zenghui Yu , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Joey Gouly , Alexandru Elisei , Christoffer Dall , Fuad Tabba , linux-coco@lists.linux.dev, Ganapatrao Kulkarni , Gavin Shan , Shanker Donthineni , Alper Gun Subject: Re: [PATCH v5 01/19] arm64: mm: Add top-level dispatcher for internal mem_encrypt API Message-ID: References: <20240819131924.372366-1-steven.price@arm.com> <20240819131924.372366-2-steven.price@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240819131924.372366-2-steven.price@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240826_030047_928781_1224377E X-CRM114-Status: UNSURE ( 8.42 ) X-CRM114-Notice: Please train this message. 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 On Mon, Aug 19, 2024 at 02:19:06PM +0100, Steven Price wrote: > From: Will Deacon > > Implementing the internal mem_encrypt API for arm64 depends entirely on > the Confidential Computing environment in which the kernel is running. > > Introduce a simple dispatcher so that backend hooks can be registered > depending upon the environment in which the kernel finds itself. > > Signed-off-by: Will Deacon > Signed-off-by: Steven Price Reviewed-by: Catalin Marinas