• Rob Herring's avatar
    xen: Stop abusing DT of_dma_configure API · ee7f5225
    Rob Herring authored
    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 9ab91e7c ("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: default avatarRob Herring <robh@kernel.org>
    Acked-by: default avatarOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
    Reviewed-by: default avatarBoris Ostrovsky <boris.ostrovsky@oracle.com>
    Signed-off-by: default avatarBoris Ostrovsky <boris.ostrovsky@oracle.com>
    ee7f5225
xen_drm_front.c 20.9 KB