arm64: implement PKEYS support
authorJoey Gouly <joey.gouly@arm.com>
Thu, 22 Aug 2024 15:11:01 +0000 (16:11 +0100)
committerWill Deacon <will@kernel.org>
Wed, 4 Sep 2024 11:54:04 +0000 (12:54 +0100)
commit7f955be9f887d3ce77afb61ea74d907f06fe6f1e
tree64ed14dae6ec546dc08e80191e9dbce9bb736c47
parentfc2d9cd33040630f9d6ff819f1f326d51b354429
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>
arch/arm64/include/asm/mmu.h
arch/arm64/include/asm/mmu_context.h
arch/arm64/include/asm/pgtable.h
arch/arm64/include/asm/pkeys.h [new file with mode: 0644]
arch/arm64/include/asm/por.h [new file with mode: 0644]
arch/arm64/include/uapi/asm/mman.h
arch/arm64/mm/mmu.c