x86/spec-ctrl: Enable Zen2 chickenbit
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 15 Mar 2022 18:30:25 +0000 (18:30 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 12 Jul 2022 15:25:33 +0000 (16:25 +0100)
commit5457a6870eb1369b868f7b8e833966ed43a773ad
tree9a8163d3c1482c01d517f86163094dfd47353e76
parent0826c7596d35c887b3b7858137c7ac374d9ef17a
x86/spec-ctrl: Enable Zen2 chickenbit

... as instructed in the Branch Type Confusion whitepaper.

This is part of XSA-407.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
(cherry picked from commit 9deaf2d932f08c16c6b96a1c426e4b1142c0cdbe)
xen/arch/x86/cpu/amd.c
xen/arch/x86/cpu/cpu.h
xen/arch/x86/cpu/hygon.c
xen/include/asm-x86/msr-index.h