arm64 Spectre and Meltdown mitigations based on v4.15
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAABCgAGBQJafYOiAAoJELescNyEwWM0mEIH/3GdQ4OnWRu9M/8vk3bDV1eD
5l/0OZ9TZ57yhLTk5jTWEQzFK/oHu2+LxBufXvcNN14M5+k/9iWds/sk/NuvbQpp
8FrishBorhkgt1Ma1XG+V9OXPebka/lQHGVgnWv2WwJOyRBl7UqPygtjjUcsts8Y
rMDSMhqRZa+YaS0JSlIXGlHthjPiutDyfGc8rfBZu7WYK3P1fyS+vUkc5z88BPFq
mNkshVrLhCyUyXWYijY5VcMccrFWt3OkPdidZpgGT6uUIK5FXtEm/prbZ06GBjVU
8Fulq3pFcJx6ZscpVjpwU2SaKm5OSM5zKWlkoK95YmlORneJFiDmW+ac/blnN4k=
=0M+6
-----END PGP SIGNATURE-----
[Variant 2/Spectre-v2] arm64: Kill PSCI_GET_VERSION as a variant-2 workaround

Commit 3a0a397ff5ff upstream.

Now that we've standardised on SMCCC v1.1 to perform the branch
prediction invalidation, let's drop the previous band-aid.
If vendors haven't updated their firmware to do SMCCC 1.1, they
haven't updated PSCI either, so we don't loose anything.

Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
3 files changed