Re: [PATCH 2/4] intel_iommu: Support IR-only mode without DMA translation

2022-03-16 Thread David Woodhouse
On Mon, 2022-03-14 at 18:27 -0400, Michael S. Tsirkin wrote: > On Mon, Mar 14, 2022 at 03:45:47PM +, David Woodhouse wrote: > > It's the opposite of a feature — it's turning the feature *off* ;) > > Right. Still - do you believe it's appropriate in soft freeze > and if yes why? > Not sure I

Re: [PATCH 2/4] intel_iommu: Support IR-only mode without DMA translation

2022-03-14 Thread Michael S. Tsirkin
On Mon, Mar 14, 2022 at 03:45:47PM +, David Woodhouse wrote: > On Mon, 2022-03-14 at 11:24 -0400, Michael S. Tsirkin wrote: > > On Mon, Mar 14, 2022 at 02:25:42PM +, David Woodhouse wrote: > > > From: David Woodhouse > > > > > > By setting none of the SAGAW bits we can indicate to a guest

Re: [PATCH 2/4] intel_iommu: Support IR-only mode without DMA translation

2022-03-14 Thread David Woodhouse
On Mon, 2022-03-14 at 14:25 +, David Woodhouse wrote: > From: David Woodhouse > > By setting none of the SAGAW bits we can indicate to a guest that DMA > translation isn't supported. Tested by booting Windows 10, as well as > Linux guests with the fix at https://git.kernel.org/torvalds/c/c40a

Re: [PATCH 2/4] intel_iommu: Support IR-only mode without DMA translation

2022-03-14 Thread David Woodhouse
On Mon, 2022-03-14 at 11:24 -0400, Michael S. Tsirkin wrote: > On Mon, Mar 14, 2022 at 02:25:42PM +, David Woodhouse wrote: > > From: David Woodhouse > > > > By setting none of the SAGAW bits we can indicate to a guest that DMA > > translation isn't supported. Tested by booting Windows 10, as

Re: [PATCH 2/4] intel_iommu: Support IR-only mode without DMA translation

2022-03-14 Thread Michael S. Tsirkin
On Mon, Mar 14, 2022 at 02:25:42PM +, David Woodhouse wrote: > From: David Woodhouse > > By setting none of the SAGAW bits we can indicate to a guest that DMA > translation isn't supported. Tested by booting Windows 10, as well as > Linux guests with the fix at https://git.kernel.org/torvalds

[PATCH 2/4] intel_iommu: Support IR-only mode without DMA translation

2022-03-14 Thread David Woodhouse
From: David Woodhouse By setting none of the SAGAW bits we can indicate to a guest that DMA translation isn't supported. Tested by booting Windows 10, as well as Linux guests with the fix at https://git.kernel.org/torvalds/c/c40c10 Signed-off-by: David Woodhouse Reviewed-by: Peter Xu Acked