Mark Brown c5721ba0f2 arm64/cpufeature: Fix field sign for DIT hwcap detection
[ Upstream commit 50daf5b7c4ec4efcaf49a4128930f872bec7dbc0 ]

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 <mark.rutland@arm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20221207-arm64-sysreg-helpers-v3-1-0d71a7b174a8@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-10 09:32:53 +01:00
..
2022-10-06 11:51:49 -07:00
2022-07-01 12:07:43 +01:00
2022-06-27 12:22:31 +01:00
2022-10-06 11:51:49 -07:00
2022-10-06 11:51:49 -07:00
2022-10-06 11:51:49 -07:00
2022-10-09 08:56:54 -07:00
2020-09-07 15:00:52 +01:00
2022-09-26 10:13:14 -07:00
2022-10-10 12:00:45 -07:00
2022-01-12 16:26:58 -08:00
2022-09-26 10:13:14 -07:00
2022-07-20 16:08:10 +01:00
2022-09-26 10:13:14 -07:00
2022-10-06 11:51:49 -07:00