[PATCH 2/3] arm64: Unconditionally enable PAN support
Will Deacon
will at kernel.org
Thu Jan 22 09:02:44 PST 2026
Hey Marc,
On Thu, Jan 22, 2026 at 11:21:01AM +0000, Marc Zyngier wrote:
> On Wed, 07 Jan 2026 18:07:00 +0000,
> Marc Zyngier <maz at kernel.org> 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.
You can use for-next/cpufeature. It has these plus the LS64 stuff that
you might also want to pull into the kvm/arm tree.
Please yell if you have any issues.
Cheers,
Will
More information about the linux-arm-kernel
mailing list