Re: [PATCH 2/3] arm64: Unconditionally enable PAN support

Marc Zyngier
2026-01-22T11:21:03Z

Hi Will,

On Wed, 07 Jan 2026 18:07:00 +0000,
Marc Zyngier <maz@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.

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.