Arm security updates as of 3rd of January 2018
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE5RElWfyWxS+3PLO2a9axLQDIXvEFAlpY02UACgkQa9axLQDI
XvEZLw/9H/9n9u3THS8MdGNz6nKqEegRPn/MkZrAsvZfroTa/6zUvnOFQLYj891u
RTbaPZRD34uJswmH0IfcWf6GUBEzafQ+sSYfiYheguyjy0gy6JbYkRKYXughho6W
/sg3h0UJ7ichQhUnbn/pyG91KXlRm3w4q+CDKs8zc3AXSbmtpGlyBQEeGkPVaZ5G
/fSri5exo79GSCtaFsffzx3xyqrk7yy22ge2BPFaYfDqUf043xZYQyeSnoeM9gh1
7hBRGVKUqWexxsoTdoYBT2an3TNK0HqwjoY3ONu9VfubffdYt+1aBip/xQrYasT6
ILVYzQovORXCuJOqfFjcemKjgs0aSowSiiPxTKdgRqi2/leyL2xQvdg5pnZ19m76
WIfKFVvvEVu6shlL6QstOganqOMkJ3NRGJv72DFnOsYYAjDRSsesWrJR3Ec793oi
QIK3gcYGXBZt5S6sNKai/hhHpJ6ArqQ2CLNRcRyEM4V2+gXkJqxen/ZsbnYjyMzx
6JsdONpOdHNA67bTaSfTVFhikIA/o3QcA14Sibp0RKXL6f3UZs6QXG0SLIbms20U
LDT53cXPUZ+/v7MBGWR6aFKxUNmoQuspBp+Eu5rgh/JqI2V+iKxxuuKY0LQyFxhN
g041nv+b9wynSumK0ynNJxAjPqL1kCeyozQjBb+pki2PTzeA3X4=
=q+Qb
-----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