]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
arm64: ptrace: nofpsimd: Fail FP/SIMD regset operations
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Mon, 13 Jan 2020 23:30:21 +0000 (23:30 +0000)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 13 Mar 2020 04:31:00 +0000 (00:31 -0400)
commit1601cfa5936f7ccc32d452b15c1d335043ae7b09
treeeae1297382afa2287a8e4fc3e6311d8a01ee4188
parent899c06f0bd9767ffad6c96f5abb22385ab6aa9bf
arm64: ptrace: nofpsimd: Fail FP/SIMD regset operations

BugLink: https://bugs.launchpad.net/bugs/1867194
commit c9d66999f064947e6b577ceacc1eb2fbca6a8d3c upstream.

When fp/simd is not supported on the system, fail the operations
of FP/SIMD regsets.

Fixes: 82e0191a1aa11abf ("arm64: Support systems without FP/ASIMD")
Cc: Will Deacon <will@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/arm64/kernel/ptrace.c