Re: [PATCH RESEND 2] intel_iommu: disable all VT-d PMRs when TXTlaunched

From: Chris Wright
Date: Thu Apr 21 2011 - 18:45:32 EST


* Joseph Cihula (joseph.cihula@xxxxxxxxx) wrote:
> This patch detects when the kernel has been launched with TXT and then
> disables the PMRs on all VT-d engines. In some cases where the reason
> that remapping is not being enabled is due to possible ACPI DMAR table
> errors, the VT-d engine addresses may not be correct and thus not able
> to be safely programmed even to disable PMRs. Because part of the TXT
> launch process is the verification of these addresses, it will always be
> safe to disable PMRs if the TXT launch has succeeded and hence only
> doing this in such cases.

What about on resume? The ->ignored units won't get PMR disabled.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/