diff options
author | 2022-06-30 17:04:55 +0100 | |
---|---|---|
committer | 2022-07-01 15:22:51 +0100 | |
commit | fa8aa59ae6454b7a6a670acb2097e7800992cba1 (patch) | |
tree | 3904c8d6a2770c0c6adb10916a5701c2347b6a92 /scripts/generate_rust_analyzer.py | |
parent | arm64: Allow sticky E2H when entering EL1 (diff) | |
download | wireguard-linux-fa8aa59ae6454b7a6a670acb2097e7800992cba1.tar.xz wireguard-linux-fa8aa59ae6454b7a6a670acb2097e7800992cba1.zip |
arm64: Factor out checking of a feature against the override into a macro
Checking for a feature being supported from assembly code is
a bit tedious if we need to factor in the idreg override.
Since we already have such code written for forcing nVHE, move
the whole thing into a macro. This heavily relies on the override
structure being called foo_override for foo_el1.
No functional change.
Reviewed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220630160500.1536744-5-maz@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions