linux/Documentation
Amit Daniel Kachhap 85f1506337 arm64: cpufeature: Fix the visibility of compat hwcaps
Commit 237405ebef58 ("arm64: cpufeature: Force HWCAP to be based on the
sysreg visible to user-space") forced the hwcaps to use sanitised
user-space view of the id registers. However, the ID register structures
used to select few compat cpufeatures (vfp, crc32, ...) are masked and
hence such hwcaps do not appear in /proc/cpuinfo anymore for PER_LINUX32
personality.

Add the ID register structures explicitly and set the relevant entry as
visible. As these ID registers are now of type visible so make them
available in 64-bit userspace by making necessary changes in register
emulation logic and documentation.

While at it, update the comment for structure ftr_generic_32bits[] which
lists the ID register that use it.

Fixes: 237405ebef58 ("arm64: cpufeature: Force HWCAP to be based on the sysreg visible to user-space")
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Reviewed-by: James Morse <james.morse@arm.com>
Signed-off-by: Amit Daniel Kachhap <amit.kachhap@arm.com>
Link: https://lore.kernel.org/r/20221103082232.19189-1-amit.kachhap@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2022-11-03 18:04:56 +00:00
..
2022-10-12 14:46:48 -07:00
2022-10-14 13:03:00 -07:00
2022-10-09 08:56:54 -07:00
2022-10-04 13:38:03 -07:00
2022-10-12 15:01:58 -07:00
2022-10-03 16:39:37 -07:00
2022-10-12 14:46:48 -07:00
2022-10-09 22:30:23 -07:00
2022-10-10 12:00:45 -07:00
2022-09-28 09:02:45 +02:00
2022-10-07 11:04:35 -07:00
2022-10-11 20:07:44 -07:00
2022-10-04 10:12:08 -07:00
2022-10-03 16:39:37 -07:00