diff options
author | Ryan Roberts <ryan.roberts@arm.com> | 2024-05-03 15:46:02 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2024-05-03 17:03:34 +0100 |
commit | 5b32510af77bdb275b022dc0d6d5b9c61751065b (patch) | |
tree | f5fc8042da04609208f79cfabd81773e0cc8ee96 /drivers/perf/arm-ccn.c | |
parent | 55564814a838f1d2429dc757294df798f5262bd2 (diff) |
arm64/mm: Add uffd write-protect support
Let's use the newly-free PTE SW bit (58) to add support for uffd-wp.
The standard handlers are implemented for set/test/clear for both pte
and pmd. Additionally we must also track the uffd-wp state as a pte swp
bit, so use a free swap pte bit (3).
Acked-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Ryan Roberts <ryan.roberts@arm.com>
Link: https://lore.kernel.org/r/20240503144604.151095-5-ryan.roberts@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/perf/arm-ccn.c')
0 files changed, 0 insertions, 0 deletions