On Fri, Feb 14, 2020 at 03:19:35PM +0000, Suzuki K Poulose wrote:
commit 7ef1ab8792c50797c6c5c7c5150a02460 upstream We set the compat_elf_hwcap bits unconditionally on arm64 to include the VFP and NEON support. However, the FP/SIMD unit is optional on Arm v8 and thus could be missing. We already handle this properly in the kernel, but still advertise to the COMPAT applications that the VFP is available. Fix this to make sure we only advertise when we really have them. Cc: stable@xxxxxxxxxxxxxxx # v4.14 Cc: Will Deacon <will@xxxxxxxxxx> Cc: Mark Rutland <mark.rutland@xxxxxxx> Reviewed-by: Ard Biesheuvel <ardb@xxxxxxxxxx> Reviewed-by: Catalin Marinas <catalin.marinas@xxxxxxx> Signed-off-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx>
Queued for 4.14, thank you. -- Thanks, Sasha