x86/vtd: Hide superpage support for SandyBridge IOMMUs
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 24 Oct 2019 13:09:01 +0000 (14:09 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 12 Nov 2019 17:15:38 +0000 (17:15 +0000)
commit0db606d73fba8c83bf2cafe16bc132f90ec766ca
treeadc62af15eb3c0eaee3bed52a2fd9c2a2cfd412a
parent006b2041242129896fbd30135b3dc6f575894a07
x86/vtd: Hide superpage support for SandyBridge IOMMUs

Something causes SandyBridge IOMMUs to choke when sharing EPT pagetables, and
an EPT superpage gets shattered.  The root cause is still under investigation,
but the end result is unusable in combination with CVE-2018-12207 protections.

This is part of XSA-304 / CVE-2018-12207

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/passthrough/vtd/extern.h
xen/drivers/passthrough/vtd/iommu.c
xen/drivers/passthrough/vtd/quirks.c