diff options
author | Mark Brown <[email protected]> | 2022-12-27 12:55:54 +0000 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2023-01-12 16:02:23 +0000 |
commit | 50daf5b7c4ec4efcaf49a4128930f872bec7dbc0 (patch) | |
tree | bf0daa412d6ff0b0b6b09f59e2f871402df511ab /tools/testing/selftests/bpf/progs/test_prog_array_init.c | |
parent | b7bfaa761d760e72a969d116517eaa12e404c262 (diff) |
arm64/cpufeature: Fix field sign for DIT hwcap detection
Since it was added our hwcap for DIT has specified that DIT is a signed
field but this appears to be incorrect, the two values for the enumeration
are:
0b0000 NI
0b0001 IMP
which look like a normal unsigned enumeration and the in-kernel DIT usage
added by 01ab991fc0ee ("arm64: Enable data independent timing (DIT) in the
kernel") detects the feature with an unsigned enum. Fix the hwcap to specify
the field as unsigned.
Fixes: 7206dc93a58f ("arm64: Expose Arm v8.4 features")
Reviewed-by: Mark Rutland <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions