aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2024-02-14 13:28:56 +0100
committerCatalin Marinas <[email protected]>2024-02-16 12:42:30 +0000
commit35876f35f4821c92fb1bbff7eec5780dba4fffdb (patch)
tree13689f67fec71496ab83293eeb3056c0b73f791f /tools
parent8a6e40e1f68e9fc44497db88e0c0f21bb513c551 (diff)
arm64: cpufeature: Add helper to test for CPU feature overrides
Add some helpers to extract and apply feature overrides to the bare idreg values. This involves inspecting the value and mask of the specific field that we are interested in, given that an override value/mask pair might be invalid for one field but valid for another. Then, wire up the new helper for the hVHE test - note that we can drop the sysreg test here, as the override will be invalid when trying to enable hVHE on non-VHE capable hardware. Signed-off-by: Ard Biesheuvel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions