diff options
author | Joey Gouly <joey.gouly@arm.com> | 2024-08-22 16:11:01 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2024-09-04 12:54:04 +0100 |
commit | 7f955be9f887d3ce77afb61ea74d907f06fe6f1e (patch) | |
tree | 64ed14dae6ec546dc08e80191e9dbce9bb736c47 /arch/arm64/include/asm/mmu.h | |
parent | fc2d9cd33040630f9d6ff819f1f326d51b354429 (diff) | |
download | lwn-7f955be9f887d3ce77afb61ea74d907f06fe6f1e.tar.gz lwn-7f955be9f887d3ce77afb61ea74d907f06fe6f1e.zip |
arm64: implement PKEYS support
Implement the PKEYS interface, using the Permission Overlay Extension.
Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20240822151113.1479789-19-joey.gouly@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/include/asm/mmu.h')
-rw-r--r-- | arch/arm64/include/asm/mmu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/mmu.h b/arch/arm64/include/asm/mmu.h index 65977c7783c5..983afeb4eba5 100644 --- a/arch/arm64/include/asm/mmu.h +++ b/arch/arm64/include/asm/mmu.h @@ -25,6 +25,7 @@ typedef struct { refcount_t pinned; void *vdso; unsigned long flags; + u8 pkey_allocation_map; } mm_context_t; /* |