[dpdk-dev] [PATCH] vfio: retry creating sPAPR DMA window

David Christensen drc at linux.vnet.ibm.com
Mon Jul 8 18:47:21 CEST 2019


> Please, any review or ack for this patch?
> 
> 07/06/2019 04:28, Takeshi Yoshimura:
>> sPAPR allows only page_shift from VFIO_IOMMU_SPAPR_TCE_GET_INFO ioctl.
>> However, Linux 4.17 or before returns incorrect page_shift for Power9.
>> I added the code for retrying creation of sPAPR DMA window.
>>
>> Signed-off-by: Takeshi Yoshimura <tyos at jp.ibm.com>
>> ---
>>   lib/librte_eal/linux/eal/eal_vfio.c | 26 +++++++++++++++++++++++---
>>   1 file changed, 23 insertions(+), 3 deletions(-)
> 

I've shared my comments with Takeshi and I don't think the patch is 
ready in it's current state.  It appears to modify x86 functionality and 
I'm not comfortable with signing off on that since it's in an anrea I'm 
not familiar with.

Dave



More information about the dev mailing list