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

Kevin Brodsky kevin.brodsky at arm.com
Tue Sep 30 07:24:38 PDT 2025


On 25/09/2025 17:32, Will Deacon wrote:
> 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

Looks good, thanks!

- Kevin



More information about the linux-arm-kernel mailing list