Re: [PATCH v2 8/8] iommu/dart: Remove force_bypass logic

From: Alyssa Rosenzweig
Date: Tue Aug 31 2021 - 19:05:15 EST


> Now that the dma-iommu API supports IOMMU granules which are larger than
> the CPU page size and that the kernel no longer runs into a BUG_ON when
> devices are attached to a domain with such a granule there's no need to
> force bypass mode anymore.
>
> Signed-off-by: Sven Peter <sven@xxxxxxxxxxxxx>
> ---
> drivers/iommu/apple-dart.c | 14 ++------------
> 1 file changed, 2 insertions(+), 12 deletions(-)

This was such an ugly hack, glad to see it go. This patch is

Reviewed-by: Alyssa Rosenzweig <alyssa@xxxxxxxxxxxxx>