Re: [PATCH 07/14] iommu/amd_iommu: use dma_direct_{alloc,free}

From: Joerg Roedel
Date: Thu Mar 15 2018 - 11:30:24 EST


On Wed, Mar 14, 2018 at 06:52:06PM +0100, Christoph Hellwig wrote:
> This cleans up the code a lot by removing duplicate logic.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
> drivers/iommu/Kconfig | 1 +
> drivers/iommu/amd_iommu.c | 68 +++++++++++++++--------------------------------
> 2 files changed, 22 insertions(+), 47 deletions(-)

Tested-by: Joerg Roedel <jroedel@xxxxxxx>
Acked-by: Joerg Roedel <jroedel@xxxxxxx>