Home
last modified time | relevance | path

Searched hist:c5e8083f9580bd7b32ca3967e3d2f99b38cfdaa6 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/s390/cio/
H A Dvfio_ccw_cp.cdiff c5e8083f9580bd7b32ca3967e3d2f99b38cfdaa6 Thu Jul 07 10:30:26 CDT 2022 Eric Farman <farman@linux.ibm.com> vfio/ccw: replace copy_from_iova with vfio_dma_rw

It was suggested [1] that we replace the old copy_from_iova() routine
(which pins a page, does a memcpy, and unpins the page) with the
newer vfio_dma_rw() interface.

This has a modest improvement in the overall time spent through the
fsm_io_request() path, and simplifies some of the code to boot.

[1] https://lore.kernel.org/r/20220706170553.GK693670@nvidia.com/

Suggested-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>