xen: Stop abusing DT of_dma_configure API
authorRob Herring <robh@kernel.org>
Tue, 8 Oct 2019 19:41:55 +0000 (14:41 -0500)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Thu, 10 Oct 2019 15:43:35 +0000 (11:43 -0400)
commitee7f5225dc3cc7c19df1603597532ff34571f895
treecdd20a0d11c6dc85bab63af0c6c7d9d5a2f4aab9
parent574878f98c05aaae7e046cd18be9195f8da38cbd
xen: Stop abusing DT of_dma_configure API

As the removed comments say, these aren't DT based devices.
of_dma_configure() is going to stop allowing a NULL DT node and calling
it will no longer work.

The comment is also now out of date as of commit 9ab91e7c5c51 ("arm64:
default to the direct mapping in get_arch_dma_ops"). Direct mapping
is now the default rather than dma_dummy_ops.

According to Stefano and Oleksandr, the only other part needed is
setting the DMA masks and there's no reason to restrict the masks to
32-bits. So set the masks to 64 bits.

Cc: Robin Murphy <robin.murphy@arm.com>
Cc: Julien Grall <julien.grall@arm.com>
Cc: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Cc: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>
Cc: Christoph Hellwig <hch@lst.de>
Cc: xen-devel@lists.xenproject.org
Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
drivers/gpu/drm/xen/xen_drm_front.c
drivers/xen/gntdev.c