[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190809152233.2829-1-joro@8bytes.org>
Date: Fri, 9 Aug 2019 17:22:30 +0200
From: Joerg Roedel <joro@...tes.org>
To: Joerg Roedel <joro@...tes.org>
Cc: iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org,
Thomas.Lendacky@....com, Suravee.Suthikulpanit@....com,
bp@...en8.de
Subject: [PATCH 0/3] Disable IOMMU Passthrough when SME is active
Hi,
here is a small patch-set to disable IOMMU Passthrough mode when SME is
active even when CONFIG_IOMMU_DEFAULT_PASSTHROUGH=y is set.
The reason for that change is that SME with passthrough mode turned out
to be fragile with devices requiring SWIOTLB, mainly because SWIOTLB has
a maximum allocation size of 256kb and a limit overall size of the
bounce buffer.
Therefore having IOMMU in translation mode by default is better when SME
is active on a system.
Please review.
Thanks,
Joerg
Joerg Roedel (3):
iommu: Print default domain type on boot
iommu: Set default domain type at runtime
iommu: Disable passthrough mode when SME is active
drivers/iommu/iommu.c | 48 +++++++++++++++++++++++++++++++++++++------
1 file changed, 42 insertions(+), 6 deletions(-)
--
2.17.1
Powered by blists - more mailing lists