Re: [PATCH 1/1] x86/tboot: Don't disable swiotlb when iommu is forced on

From: Will Deacon
Date: Wed Nov 25 2020 - 09:05:43 EST


On Wed, 25 Nov 2020 09:41:24 +0800, Lu Baolu wrote:
> After commit 327d5b2fee91c ("iommu/vt-d: Allow 32bit devices to uses DMA
> domain"), swiotbl could also be used for direct memory access if IOMMU
> is enabled but a device is configured to pass through the DMA translation.
> Keep swiotlb when IOMMU is forced on, otherwise, some devices won't work
> if "iommu=pt" kernel parameter is used.

Applied to arm64 (for-next/iommu/fixes), thanks!

[1/1] x86/tboot: Don't disable swiotlb when iommu is forced on
https://git.kernel.org/arm64/c/e2be2a833ab5

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev