Re: [Intel IOMMU PATCH] Re-evaluate RMRR info for devices removedfrom si domain

From: Chris Wright
Date: Tue Feb 28 2012 - 18:06:31 EST


* Mingarelli, Thomas (Thomas.Mingarelli@xxxxxx) wrote:
> This patch is being submitted to handle the case where a pci device is
> placed into the si domain, when booting in iommu passthrough mode, then
> removed. The RMRR information for such devices need to be re-processed
> to avoid DMA Read errors due to the Present Bit being cleared in the
> device's context entry.

What happens if that device is attached to a VM, then detached and
rebound to a host driver? I suspect the reserved memory range won't get
mapped properly for that device in that case.

thanks,
-chris
--
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/