[PATCH v2 2/4] arm64: cpufeature: Warn if mutually exclusive PAuth algorithms detected

Catalin Marinas catalin.marinas at arm.com
Fri Feb 4 10:16:13 PST 2022


On Mon, Jan 31, 2022 at 05:06:52PM +0000, Vladimir Murzin wrote:
> ARM ARM states for address authentication algorithms
> 
> APA, bits [7:4] If the value of ID_AA64ISAR1_EL1.API is non-zero, this
>                 field must have the value 0b0000.
> 
> API, bits [11:8] If the value of ID_AA64ISAR1_EL1.APA is non-zero,
>                  this field must have the value 0b0000.
> 
> Similarly for generic code authentication algorithms
> 
> GPA, bits [27:24] If the value of ID_AA64ISAR1_EL1.GPI is non-zero,
>                   this field must have the value 0b0000.
> 
> GPI, bits [31:28] If the value of ID_AA64ISAR1_EL1.GPA is non-zero,
>                   this field must have the value 0b0000.
> 
> Let's add a warning if that not true.
> 
> Signed-off-by: Vladimir Murzin <vladimir.murzin at arm.com>

Acked-by: Catalin Marinas <catalin.marinas at arm.com>



More information about the linux-arm-kernel mailing list