x86/vtx: Fixes to Haswell/Broadwell LBR TSX errata
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 24 Oct 2019 14:46:13 +0000 (15:46 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 29 Oct 2019 19:27:40 +0000 (19:27 +0000)
commitf51d4a19427674491eaecef85c551613450188c5
tree4d1df41498134f54e9540371ffd28e22612df401
parent1a3b393129c1dcfec418f9b0ee92d126c2ae8141
x86/vtx: Fixes to Haswell/Broadwell LBR TSX errata

Cross reference and list all errata, now that they are published.

These errata are specific to Haswell/Broadwell.  They should have model and
vendor checks, as Intel isn't the only vendor to implement VT-x.

All affected models use the same MSR indicies, so these can be hard coded
rather than looking up and storing constant values.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/arch/x86/hvm/vmx/vmx.c