Re: [Xen-devel] [PATCH 08/11] swiotlb-xen: use the same foreign page check everywhere

From: Julien Grall
Date: Mon Aug 19 2019 - 09:53:45 EST


Hi Christoph,

On 8/16/19 2:00 PM, Christoph Hellwig wrote:
xen_dma_map_page uses a different and more complicated check for
foreign pages than the other three cache maintainance helpers.
Switch it to the simpler pfn_vali method a well.

NIT: s/pfn_vali/pfn_valid/


Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Reviewed-by: Julien Grall <julien.grall@xxxxxxx>

Cheers,

--
Julien Grall