Re: [RFT][PATCH v2 6/9] vfio/ccw: Change pa_pfn list to pa_iova list

From: Jason Gunthorpe
Date: Wed Jul 06 2022 - 13:59:31 EST


On Tue, Jul 05, 2022 at 11:27:56PM -0700, Nicolin Chen wrote:
> The vfio_ccw_cp code maintains both iova and its PFN list because the
> vfio_pin/unpin_pages API wanted pfn list. Since vfio_pin/unpin_pages()
> now accept "iova", change to maintain only pa_iova list and rename all
> "pfn_array" strings to "page_array", so as to simplify the code.
>
> Signed-off-by: Nicolin Chen <nicolinc@xxxxxxxxxx>
> ---
> drivers/s390/cio/vfio_ccw_cp.c | 135 ++++++++++++++++-----------------
> 1 file changed, 64 insertions(+), 71 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason