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 7DE40C44500 for ; Thu, 22 Jan 2026 11:21:12 +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=p+EKgrOL+0cq8UpX/gODQ+dllxg3o/46HKv4KVClN8A=; b=nOlEDYQLkvD/FKJJBD7Lkg6X5t yzsrnPO5icFUxKvq8+tG1ApYFK0/dSx6pU+mwDv1RQd71lfqUUYZLwAPp903QkA9GamL9mDiINjqB o3Yp5tV8SficGV+ywRMmoDgIGnRQMv46kaCifab6J4OmgalHgOG/10fr4TH8rEPJ3MR/ZjM3B3/5o nFL7e1e3Se6yNMUigPhnwsJ1t9qS30TGRIOMjCqo9rlSIJQqALQQYvnniIlYzRxFFgLEMf/Im/qTi TGDDlGPhn2VFlTKm/eRFsAHZo6qowFXq2TYuL7LsdKft2H7akVkByAca23FIqHEJkUNie09YFUgSR i8IYaTbw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1viskN-00000006wqn-0f7s; Thu, 22 Jan 2026 11:21:07 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1viskK-00000006wqJ-1FO9 for linux-arm-kernel@lists.infradead.org; Thu, 22 Jan 2026 11:21:05 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id E7B8D439A5; Thu, 22 Jan 2026 11:21:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C2BC2C116C6; Thu, 22 Jan 2026 11:21:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769080863; bh=o32rk+JyaJNxu8btX6h4oEaxPbgGO8dvLv4C88GmALo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=eshTjwg4NvacmOKkE+LKLjV3WeR2Fm1nSFTZPk3SF6Gpk084wLgF9UjGKCN1ufEda Z7T/xxAZtWKntwCat4cox6GJUiEONPxESUaxlJeiEiAamm9npyLkKpM0FPDontjCmT k585eJj0nZMZS0zTBGimkLk4ifHIo93+4nzGXj/mPJ2JKnY66TFm3jSfo4Qonym5xO mcyA2K5WN5aO080hXPFlPO1ZNIvUl1vDDiPp+H8k9fb02tub+TJMdjm6URW90qiskn l44BJaXjDxB/M/NAK8+aGww14KPAQ/rYRCboWXuA/cTVP3mQm7RCp3rZPZ/SuR3dRd 17VJc6QxTT4/Q== 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 1viskH-00000004f33-3MHB; Thu, 22 Jan 2026 11:21:01 +0000 Date: Thu, 22 Jan 2026 11:21:01 +0000 Message-ID: <86sebxc2qq.wl-maz@kernel.org> From: Marc Zyngier To: Will Deacon Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, Catalin Marinas , Mark Rutland , Joey Gouly , Suzuki K Poulose , Oliver Upton , Zenghui Yu Subject: Re: [PATCH 2/3] arm64: Unconditionally enable PAN support In-Reply-To: <20260107180701.2858276-3-maz@kernel.org> References: <20260107180701.2858276-1-maz@kernel.org> <20260107180701.2858276-3-maz@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: will@kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, catalin.marinas@arm.com, mark.rutland@arm.com, joey.gouly@arm.com, suzuki.poulose@arm.com, oupton@kernel.org, yuzenghui@huawei.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260122_032104_355883_7D6074CD X-CRM114-Status: GOOD ( 13.88 ) 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 Hi Will, On Wed, 07 Jan 2026 18:07:00 +0000, Marc Zyngier wrote: > > FEAT_PAN has been around since ARMv8.1 (over 11 years ago), has no compiler > dependency (we have our own accessors), and is a great security benefit. > > Drop CONFIG_ARM64_PAN, and make the support unconditionnal. Since you mentioned that you were planning to merge this patch, I'd like to point out that a related change[1] is on its way to Linus via the KVM tree for 6.19. It is also in -next due to dependencies. Could you please place these patches on a branch that I can pull in the kvmarm tree to resolve the conflict? It really amounts to reverting this patch now that we are guaranteed to have PAN on an PAN- machine. Thanks, M. [1] https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git/commit/?h=fixes&id=86364832ba6f2777db98391060b2d7f69938ad9b -- Without deviation from the norm, progress is not possible.