arm64: compat: Workaround Neoverse-N1 #1542419 for compat user-space
authorJames Morse <james.morse@arm.com>
Fri, 24 Apr 2020 16:38:04 +0000 (17:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Apr 2020 14:32:56 +0000 (16:32 +0200)
commitaa50d567ec4ae77ef17e8a523b8839a5ab671bec
tree13bfe54caa7e715c34194a661a5183c7088a5205
parent6de0c621191a42c3574d261a06a35841fc9b777a
arm64: compat: Workaround Neoverse-N1 #1542419 for compat user-space

[ Upstream commit 222fc0c8503d98cec3cb2bac2780cdd21a6e31c0 ]

Compat user-space is unable to perform ICIMVAU instructions from
user-space. Instead it uses a compat-syscall. Add the workaround for
Neoverse-N1 #1542419 to this code path.

Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/kernel/sys_compat.c