Re: [PATCH] intel-iommu: Default to non-coherent for domainsunattached to iommus

From: Chris Wright
Date: Fri Nov 11 2011 - 19:47:43 EST


* Chris Wright (chrisw@xxxxxxxxxxxx) wrote:
> * David Woodhouse (dwmw2@xxxxxxxxxxxxx) wrote:
> > So if you were to ditch the whole idea of a per-domain runtime update,
> > and instead calculate a global value for 'iommu_coherency' at boot time,
> > by iterating over for_each_active_iommu()¹, I think that would be a
> > better way to deal with the issue. And you *could* really call that a
> > 'fix'.
> >
> > Make sense?
>
> Ideally, yes. Not sure we can practically do it though. Would have to
> be sure we force incoherent access mode for the busted hw.

Forgot to mention, the simple patch may be the better choice for -stable
(assuming the page table mapping issue...isn't).
--
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/