Commit 4afd0064 authored by Joey Gouly's avatar Joey Gouly Committed by Will Deacon

arm64: enable PKEY support for CPUs with S1POE

Now that PKEYs support has been implemented, enable it for CPUs that
support S1POE.
Signed-off-by: default avatarJoey Gouly <joey.gouly@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Acked-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Reviewed-by: default avatarAnshuman Khandual <anshuman.khandual@arm.com>
Link: https://lore.kernel.org/r/20240822151113.1479789-23-joey.gouly@arm.comSigned-off-by: default avatarWill Deacon <will@kernel.org>
parent d0d6e7e0
......@@ -17,7 +17,7 @@ int arch_set_user_pkey_access(struct task_struct *tsk, int pkey,
static inline bool arch_pkeys_enabled(void)
{
return false;
return system_supports_poe();
}
static inline int vma_pkey(struct vm_area_struct *vma)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment