|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] VTD/Intremap: Disable Intremap on Chipset 5500/5520/X58 due to errata
On 16/01/13 13:57, Jan Beulich wrote: After some digging, I discovered that the errata affects chipsets (5520,5500,X58) which don't have IOMMU EIM( Extended Interrupt Mode) support. EIM is required to support x2APIC mode and so this means the chipset can't support x2APIC mode and so we should never see a system with x2APIC enabled.On 16.01.13 at 00:27, Malcolm Crossley <malcolm.crossley@xxxxxxxxxx> wrote:http://www.intel.com/content/www/us/en/chipsets/5520-and-5500-chipset-ioh-specific ation-update.html Stepping B-3 has two errata (#47 and #53) related to Interrupt remapping, to which the workaround is for the BIOS to completely disable interrupt remapping. These errata are fixed in stepping C-2. Unfortunately this chipset is very common and many BIOSes are not disabling remapping. We can detect this in Xen and prevent turning on remapping in the first place. However, this will turn VT-d off on many systems by default. Users who still wish to use VT-d can use iommu=force if they are happy exposing the associated security risk. Signed-off-by: Malcolm Crossley <malcolm.crossley@xxxxxxxxxx> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> diff -r 35a0556a7f76 -r ee475f0e6aeb xen/drivers/passthrough/vtd/quirks.c --- a/xen/drivers/passthrough/vtd/quirks.c +++ b/xen/drivers/passthrough/vtd/quirks.c @@ -244,6 +244,29 @@ void vtd_ops_postamble_quirk(struct iomm } }+/* 5500/5520/X58 Chipset Interrupt remapping errata, for stepping B-3. For reference, the chipset of this processor generation which does support EIM is the 7500 and it does not suffer from this errata. Currently Xen is relying on the ACPI_DMAR_X2APIC_OPT_OUT bit in the DMAR table to detect x2apic support in the IOMMU. In theory it would be better to read the EIM bit in the IOMMU device itself instead of relying on the BIOS but this may be difficult to do at that early stage of initialisation of Xen. Malcolm
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |