arm64 kpti series as of 8th January 2018
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAABCgAGBQJaU7RQAAoJELescNyEwWM0NZEIAKX/dXYaTrsXcDVVAtNJH3TZ
eZRdGVon6ciadX4vzaAAjxz/TaIen0Vl6ilwauWptPT0T7lNHGfWQTqWbgdTp/To
Xy3czIopEyqvJquXzNQJA5iCNqNQ51jy7gUKdJrOWb06MbB1MyNhWleog+ge3OG1
4OKuGSPIBBqKfUOZiyjjBkWJiVDmarqDElk9PyoVOFh5JKXSrOvQc5ZW0IHFxgy2
5TgjdSSC6KJfn7QaYrxSVCRDa96V0flo44A4orGd9uOJPn1rfxAn8D7IW4wvFy10
xaP60m/kVtrvArDs52kK9uOYARJZ+OoQxE4kBZIccuMWpY4wOFMER2az/DI6QvA=
=eF7R
-----END PGP SIGNATURE-----
arm64: Implement branch predictor hardening for affected Cortex-A CPUs

Cortex-A57, A72, A73 and A75 are susceptible to branch predictor aliasing
and can theoretically be attacked by malicious code.

This patch implements a PSCI-based mitigation for these CPUs when available.
The call into firmware will invalidate the branch predictor state, preventing
any malicious entries from affecting other victim contexts.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2 files changed