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:12:54 +0000 (17:12 +0000)
commit6dacdcd439c1ddd32110d4a008de346e367409ec
treeb3b7e27407d6bed8772bd12aa8e1cc643e1d32e9
parentd13dfb02aafaba376b24ff0dc64e19ba1c360803
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