[PATCH v2] arm64: mm: Move KPTI helpers to mmu.c

Will Deacon will at kernel.org
Thu Sep 25 08:32:01 PDT 2025


On Fri, 12 Sep 2025 08:39:08 +0100, Kevin Brodsky wrote:
> create_kpti_ng_temp_pgd() is currently defined (as an alias) in
> mmu.c without matching declaration in a header; instead cpufeature.c
> makes its own declaration. This is clearly not pretty, and as commit
> ceca927c86e6 ("arm64: mm: Fix CFI failure due to kpti_ng_pgd_alloc
> function signature") showed, it also makes it very easy for the
> prototypes to go out of sync.
> 
> [...]

Applied to arm64 (for-next/core), thanks!

Please check that I resolved the conflicts correctly...

[1/1] arm64: mm: Move KPTI helpers to mmu.c
      https://git.kernel.org/arm64/c/200b0d25084d

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list