linux/drivers/vdpa
Xie Yongji 82eb46f94a vduse: Use memcpy_{to,from}_page() in do_bounce()
kmap_atomic() is being deprecated in favor of kmap_local_page().

The use of kmap_atomic() in do_bounce() is all thread local therefore
kmap_local_page() is a sufficient replacement.

Convert to kmap_local_page() but, instead of open coding it,
use the helpers memcpy_to_page() and memcpy_from_page().

Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Message-Id: <20220803045523.23851-3-xieyongji@bytedance.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2022-08-11 04:26:08 -04:00
..
alibaba vdpa: multiple address spaces support 2022-05-31 12:44:27 -04:00
ifcvf vDPA/ifcvf: remove duplicated assignment to pointer cfg 2022-08-11 04:26:07 -04:00
mlx5 vdpa/mlx5: Use eth_broadcast_addr() to assign broadcast address 2022-08-11 04:26:07 -04:00
vdpa_sim vdpa_sim: use max_iotlb_entries as a limit in vhost_iotlb_init 2022-08-11 04:26:07 -04:00
vdpa_user vduse: Use memcpy_{to,from}_page() in do_bounce() 2022-08-11 04:26:08 -04:00
virtio_pci vdpa/vp_vdpa : add vdpa tool support in vp_vdpa 2022-05-31 12:45:09 -04:00
Kconfig eni_vdpa: add vDPA driver for Alibaba ENI 2021-11-01 05:23:41 -04:00
Makefile eni_vdpa: add vDPA driver for Alibaba ENI 2021-11-01 05:23:41 -04:00
vdpa.c Driver core changes for 5.19-rc1 2022-06-03 11:48:47 -07:00