Re: [PATCH v13 00/11] Support page table check on PowerPC
From: Andrew Morton <akpm@linux-foundation.org>
Date: 2025-03-13 22:47:58
Also in:
linux-arm-kernel, linux-mm, linux-riscv, lkml
From: Andrew Morton <akpm@linux-foundation.org>
Date: 2025-03-13 22:47:58
Also in:
linux-arm-kernel, linux-mm, linux-riscv, lkml
On Thu, 13 Mar 2025 13:54:39 +1100 Andrew Donnellan [off-list ref] wrote:
On Wed, 2025-02-12 at 03:13 +1100, Andrew Donnellan wrote:quoted
Support page table check on all PowerPC platforms. This works by serialising assignments, reassignments and clears of page table entries at each level in order to ensure that anonymous mappings have at most one writable consumer, and likewise that file-backed mappings are not simultaneously also anonymous mappings. In order to support this infrastructure, a number of stubs must be defined for all powerpc platforms. Additionally, seperate set_pte_at() and set_pte_at_unchecked(), to allow for internal, uninstrumented mappings.Talking to Maddy about this off-list - given that this series touches on generic code and several architectures, would it be best to take it through the mm tree rather than powerpc?
Sure, I can do that. Are the rest of the ppc team OK with these changes? I'm not seeing much acking from the usual suspects?