Hi Christoph,

On Tue, Jun 19, 2018 at 12:03 AM, Christoph Hellwig <h...@lst.de> wrote:
> Switch to the generic noncoherent direct mapping implementation.
>
> Signed-off-by: Christoph Hellwig <h...@lst.de>
> ---
>  arch/xtensa/Kconfig                   |   3 +
>  arch/xtensa/include/asm/Kbuild        |   1 +
>  arch/xtensa/include/asm/dma-mapping.h |  26 ------
>  arch/xtensa/kernel/pci-dma.c          | 130 +++-----------------------
>  4 files changed, 19 insertions(+), 141 deletions(-)
>  delete mode 100644 arch/xtensa/include/asm/dma-mapping.h
>
> diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig
> index d575e8701955..373708c77367 100644
> --- a/arch/xtensa/Kconfig
> +++ b/arch/xtensa/Kconfig
> @@ -5,11 +5,14 @@ config ZONE_DMA
>  config XTENSA
>         def_bool y
>         select ARCH_NO_COHERENT_DMA_MMAP if !MMU
> +       select ARCH_HAS_SYNC_DMA_FOR_CPU
> +       select ARCH_HAS_SYNC_DMA_FOR_DEVICE

This breaks alphabetical order of selects. Otherwise LGTM.
Sorry for the delay.
Acked-by: Max Filippov <jcmvb...@gmail.com>

Will you submit it further or should I take it into the xtensa tree?
-- 
Thanks.
-- Max
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

Reply via email to