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 EE44BC79F80 for ; Fri, 4 Sep 2026 07:26:14 +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:Content-Type:MIME-Version: References:In-Reply-To:Subject:Cc:To:From:Message-ID: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=1CKwJBrd7xoF/6DS3YB+v9BgkGZl8PEjVmi5LuS+nVI=; b=eo481yIqOnBZ5Hc5Dde4G/TpeN lzUWkFS1OckGllguoda73VOC++j/24WF3UNDYkjT2UPBDhn9BatFSlaFi2xdehqZKxN2XRRhGNd01 HGN56AFnmv8voZ4M4X6gH6PkwJJzCzNgn6BqP0AzcZLOYd7S8l22DN7dybjKeZQxm+yPlnbVw0Hn5 hgCvTRi6AqBRb8t4Ftk6dsKw24nOCL2/qgxIXhG3ddltzKPa2Zw9m7nxdY74JX7Dh1/ak+Uv9skHA lfTqWkDOI/z6jEzu6eXqjhwTCC/3clMGWkHt/9CcVM06K+Xji4Pwca+kcBarRMrHqjDsSC0VreoVx NfU6hraw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x2OJJ-00000001Eqh-1wZ7; Fri, 04 Sep 2026 07:26:05 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x2OJI-00000001EqX-1LPv for linux-arm-kernel@lists.infradead.org; Fri, 04 Sep 2026 07:26:04 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 007D660A6D; Fri, 4 Sep 2026 07:26:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4BEE1F00A3D; Fri, 4 Sep 2026 07:26:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1788506761; bh=1CKwJBrd7xoF/6DS3YB+v9BgkGZl8PEjVmi5LuS+nVI=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=oxTEmNQtLuGuZ2NmHQN38wOM9DPYvfIau9JROQpQyyH0cZo/PqFJpXZ7jD1kJM1wI +F+OLekrZY+ycG1Amu4lJ2z3MlazmmsCqFm2Fth2qIIxqyPogQ4P/8i70TXjt53xM5 cc8gbg0A8HYEMfFDsVRLAhhGKaENsk5GVNpmWqtgf9KIyLm6LgXi7hxdQN/E5onLrh sDtu76o7MdBqmX5ubQjOvOS53kiSfU1bqkEzI5mJyUdscXig4umdPrFBY78ro2MMx8 3XERDVybB6aqGCJ6AMvuY9q4gdkHLNi7pZnbXSx0R+suaOaMlhkacIsUDUXqmE5BAa cahdpfdj39PiA== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1x2OJD-00000004h5I-1GfT; Fri, 04 Sep 2026 07:25:59 +0000 Date: Fri, 04 Sep 2026 08:25:58 +0100 Message-ID: <86pkyt4gvt.wl-maz@kernel.org> From: Marc Zyngier To: Mark Brown Cc: Oliver Upton , Fuad Tabba , Joey Gouly , Steffen Eiden , Suzuki K Poulose , Zenghui Yu , Catalin Marinas , Will Deacon , Mark Rutland , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] KVM: arm64: Enable S1PIE for nVHE and hVHE In-Reply-To: <20260904-kvm-arm64-nvhe-pie-v1-2-29d59f245e6c@kernel.org> References: <20260904-kvm-arm64-nvhe-pie-v1-0-29d59f245e6c@kernel.org> <20260904-kvm-arm64-nvhe-pie-v1-2-29d59f245e6c@kernel.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/30.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: broonie@kernel.org, oupton@kernel.org, fuad.tabba@linux.dev, joey.gouly@arm.com, seiden@linux.ibm.com, suzuki.poulose@arm.com, yuzenghui@huawei.com, catalin.marinas@arm.com, will@kernel.org, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false 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 Fri, 04 Sep 2026 00:14:42 +0100, Mark Brown wrote: > > When FEAT_S1PIE (stage 1 permission indirection) is supported we > currently enable and use it in the hypervisor when running in VHE mode > but not when running in nVHE or hVHE mode. While systems with > FEAT_S1PIE would normally use VHE users can configure them for nVHE or > hVHE, for example in order to run protected guests. Enable FEAT_S1PIE > with nVHE and hVHE. No. nVHE is dead, and I'm not adding support for random stuff that appeared over 10 years after v8.0. If you have S1PIE, you have VHE. If you force the kernel to run with E2H==0, that's your own problem. M. -- Without deviation from the norm, progress is not possible.