Re: [PATCH 9/9] x86: Detect whether we should use Xen SWIOTLB.

From: H. Peter Anvin
Date: Wed Jul 28 2010 - 18:53:45 EST


On 07/28/2010 03:38 PM, Konrad Rzeszutek Wilk wrote:
>
> Long term I think the driverization is the way to go, and..
>
> I think the flow a). check if we need SWIOTLB b), check all IOMMUs, c).
> recheck SWIOTLB in case no IOMMUs volunteered MUST be preserved
> irregardless if we driverize the IOMMUs/SWIOTLB or not.
>
> Perhaps we should get together at one of these Linux conferences and
> think this one through? Beers on me.
>

I don't understand point (a) here. (c) simply seems like the fallback
case, and in the case we are actively forcing swiotlb we simply skip
step (b).

-hpa
--
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/