diff options
author | Oleksandr Tyshchenko <[email protected]> | 2022-06-02 22:23:53 +0300 |
---|---|---|
committer | Juergen Gross <[email protected]> | 2022-06-06 16:07:30 +0200 |
commit | fea981610c25173e6e5d63ccd4fce49739663ab0 (patch) | |
tree | 9a87d7ab61808cf1b5d71243c976faa893502450 /include/linux/fpga/fpga-mgr.h | |
parent | 625ab90ecdf7770bda7ae21c4d5c938aa9b43bb4 (diff) |
arm/xen: Assign xen-grant DMA ops for xen-grant DMA devices
By assigning xen-grant DMA ops we will restrict memory access for
passed device using Xen grant mappings. This is needed for using any
virtualized device (e.g. virtio) in Xen guests in a safe manner.
Please note, for the virtio devices the XEN_VIRTIO config should
be enabled (it forces ARCH_HAS_RESTRICTED_VIRTIO_MEMORY_ACCESS).
Signed-off-by: Oleksandr Tyshchenko <[email protected]>
Reviewed-by: Stefano Stabellini <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions