android_kernel_motorola_sm6375/Documentation/arm64
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Amit Daniel Kachhap f6a745c558 arm64: cpufeature: Fix the visibility of compat hwcaps
commit 85f1506337f0c79a4955edfeee86a18628e3735f upstream.

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 <[email protected]>
Reviewed-by: James Morse <[email protected]>
Signed-off-by: Amit Daniel Kachhap <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-08-19 05:33:54 +02:00
..
acpi_object_usage.rst
arm-acpi.rst
booting.rst
cpu-feature-registers.rst arm64: cpufeature: Fix the visibility of compat hwcaps 2024-08-19 05:33:54 +02:00
elf_hwcaps.rst
hugetlbpage.rst
index.rst
kasan-offsets.sh
legacy_instructions.rst
memory.rst
perf.txt
pointer-authentication.rst
silicon-errata.rst arm64: errata: Expand speculative SSBS workaround (again) 2024-08-19 05:33:50 +02:00
sve.rst
tagged-address-abi.rst
tagged-pointers.rst