]> asedeno.scripts.mit.edu Git - linux.git/commit
arm64: cpufeature: Reduce number of pointer auth CPU caps from 6 to 4
authorWill Deacon <will.deacon@arm.com>
Wed, 12 Dec 2018 15:52:02 +0000 (15:52 +0000)
committerWill Deacon <will.deacon@arm.com>
Thu, 13 Dec 2018 16:42:47 +0000 (16:42 +0000)
commita56005d3210500f8a166fcb83cbb5ac5d0f909e4
tree3cf97e6a2144911231e414e6f44201a2b2c0cf02
parentfbedc599e9b891a6756b1c9bc2eead02b02cce77
arm64: cpufeature: Reduce number of pointer auth CPU caps from 6 to 4

We can easily avoid defining the two meta-capabilities for the address
and generic keys, so remove them and instead just check both of the
architected and impdef capabilities when determining the level of system
support.

Reviewed-by: Suzuki Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/cpucaps.h
arch/arm64/include/asm/cpufeature.h
arch/arm64/kernel/cpufeature.c