[PATCH v2 4/4] arm64: Add support of PAuth QARMA3 architected algorithm
Catalin Marinas
catalin.marinas at arm.com
Fri Feb 4 10:42:48 PST 2022
On Mon, Jan 31, 2022 at 05:06:54PM +0000, Vladimir Murzin wrote:
> QARMA3 is relaxed version of the QARMA5 algorithm which expected to
> reduce the latency of calculation while still delivering a suitable
> level of security.
>
> Support for QARMA3 can be discovered via ID_AA64ISAR2_EL1
>
> APA3, bits [15:12] Indicates whether the QARMA3 algorithm is
> implemented in the PE for address
> authentication in AArch64 state.
>
> GPA3, bits [11:8] Indicates whether the QARMA3 algorithm is
> implemented in the PE for generic code
> authentication in AArch64 state.
>
> Signed-off-by: Vladimir Murzin <vladimir.murzin at arm.com>
> ---
> arch/arm64/include/asm/asm_pointer_auth.h | 3 ++
> arch/arm64/include/asm/cpufeature.h | 1 +
> arch/arm64/include/asm/kvm_hyp.h | 1 +
> arch/arm64/include/asm/sysreg.h | 12 +++++++
> arch/arm64/kernel/cpufeature.c | 45 +++++++++++++++++++++++---
> arch/arm64/kernel/idreg-override.c | 16 +++++++--
> arch/arm64/kvm/arm.c | 1 +
> arch/arm64/kvm/hyp/include/nvhe/fixed_config.h | 5 +++
> arch/arm64/kvm/hyp/nvhe/sys_regs.c | 14 ++++++++
> arch/arm64/kvm/sys_regs.c | 5 +++
> arch/arm64/tools/cpucaps | 2 ++
> 11 files changed, 99 insertions(+), 6 deletions(-)
For the non-KVM bits:
Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>
More information about the linux-arm-kernel
mailing list