diff options
author | Marc Zyngier <maz@kernel.org> | 2021-04-13 17:42:40 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-04-13 17:42:40 +0300 |
commit | 8320832940761e32cb6147a9ffb870eb6ba97065 (patch) | |
tree | 5a776131637aa20dd5413a3abcbf23b57cdeed57 /arch/arm64/include | |
parent | e629003215e03a8260326b5626fdd655618a79bd (diff) | |
parent | 2d726d0db6ac479d91bf74490455badd34af6b1d (diff) | |
download | linux-8320832940761e32cb6147a9ffb870eb6ba97065.tar.xz |
Merge remote-tracking branch 'arm64/for-next/vhe-only' into kvmarm-master/next
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm64/include')
-rw-r--r-- | arch/arm64/include/asm/cpufeature.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/cpufeature.h b/arch/arm64/include/asm/cpufeature.h index 61177bac49fa..338840c00e8e 100644 --- a/arch/arm64/include/asm/cpufeature.h +++ b/arch/arm64/include/asm/cpufeature.h @@ -63,6 +63,23 @@ struct arm64_ftr_bits { s64 safe_val; /* safe value for FTR_EXACT features */ }; +/* + * Describe the early feature override to the core override code: + * + * @val Values that are to be merged into the final + * sanitised value of the register. Only the bitfields + * set to 1 in @mask are valid + * @mask Mask of the features that are overridden by @val + * + * A @mask field set to full-1 indicates that the corresponding field + * in @val is a valid override. + * + * A @mask field set to full-0 with the corresponding @val field set + * to full-0 denotes that this field has no override + * + * A @mask field set to full-0 with the corresponding @val field set + * to full-1 denotes thath this field has an invalid override. + */ struct arm64_ftr_override { u64 val; u64 mask; |