[PATCH v2 0/4] arm64: Support of PAuth QARMA3 architected algorithm

Marc Zyngier maz at kernel.org
Sat Feb 5 02:27:56 PST 2022


On Mon, 31 Jan 2022 17:06:50 +0000,
Vladimir Murzin <vladimir.murzin at arm.com> 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.
> 
> Feature advertised via a new ID fields in ID_AA64ISAR2_EL1 [1], so we
> need to teach the kernel to identify this.
> 
> [1] https://developer.arm.com/documentation/ddi0601/2021-12/AArch64-Registers/ID-AA64ISAR2-EL1--AArch64-Instruction-Set-Attribute-Register-2?lang=en
> 
> 
> Changelog:
> 
>   v1 -> v2
>      - Removed unintended whitespace change in sysreg.h
>      - FTR_ALIAS_OPTION_LEN now accounts null terminator
>      - Extract only APA3 bits from ID_AA64ISAR2_APA3_SHIFT (in
>        contrast to id_aa64isar1_el1 where both APA and API bits
>        are extracted) in asm_pointer_auth.h
> 
> Thanks!
> 
> Vladimir Murzin (4):
>   arm64: cpufeature: Account min_field_value when cheking secondaries
>     for PAuth
>   arm64: cpufeature: Warn if mutually exclusive PAuth algorithms
>     detected
>   arm64: cpufeature: Mark existing PAuth architected algorithm as QARMA5
>   arm64: Add support of PAuth QARMA3 architected algorithm

For the series:

Reviewed-by: Marc Zyngier <maz at kernel.org>

	M.

-- 
Without deviation from the norm, progress is not possible.



More information about the linux-arm-kernel mailing list