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

2019-07-10 Thread Takeshi T Yoshimura
-"Burakov, Anatoly" wrote: - >To: Thomas Monjalon >From: "Burakov, Anatoly" >Date: 07/10/2019 09:01AM >Cc: Takeshi Yoshimura , dev@dpdk.org, David >Christensen >Subject: [EXTERNAL] Re: [dpdk-dev] [PATCH] vfio: retry creating sPAPR >DMA window

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

2019-07-10 Thread David Christensen
@Thomas Do we still support these older distros? If the kernel is not maintained, we don't support it. For most distros, Linux < 3.16 is not maintained. This is on kernel 3.13 (Ubuntu 14.04 LTS which according to Canonical's published schedule [1] has stopped receiving even maintenance updates

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

2019-07-10 Thread Burakov, Anatoly
On 10-Jul-19 1:39 PM, Thomas Monjalon wrote: 10/07/2019 14:35, Burakov, Anatoly: On 10-Jul-19 1:17 PM, Thomas Monjalon wrote: 10/07/2019 12:32, Burakov, Anatoly: On 07-Jun-19 3:28 AM, Takeshi Yoshimura wrote: sPAPR allows only page_shift from VFIO_IOMMU_SPAPR_TCE_GET_INFO ioctl. However, Linu

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

2019-07-10 Thread Thomas Monjalon
10/07/2019 14:35, Burakov, Anatoly: > On 10-Jul-19 1:17 PM, Thomas Monjalon wrote: > > 10/07/2019 12:32, Burakov, Anatoly: > >> On 07-Jun-19 3:28 AM, Takeshi Yoshimura wrote: > >>> sPAPR allows only page_shift from VFIO_IOMMU_SPAPR_TCE_GET_INFO ioctl. > >>> However, Linux 4.17 or before returns inc

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

2019-07-10 Thread Burakov, Anatoly
On 10-Jul-19 1:17 PM, Thomas Monjalon wrote: 10/07/2019 12:32, Burakov, Anatoly: On 07-Jun-19 3:28 AM, Takeshi Yoshimura wrote: 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 retr

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

2019-07-10 Thread Thomas Monjalon
10/07/2019 12:32, Burakov, Anatoly: > On 07-Jun-19 3:28 AM, Takeshi Yoshimura wrote: > > 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.

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

2019-07-10 Thread Burakov, Anatoly
On 07-Jun-19 3:28 AM, Takeshi Yoshimura wrote: 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 --- lib/lib

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

2019-07-09 Thread Burakov, Anatoly
On 08-Jul-19 6:45 PM, Thomas Monjalon wrote: 08/07/2019 18:47, David Christensen: 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

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

2019-07-08 Thread Thomas Monjalon
08/07/2019 18:47, David Christensen: > > 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 c

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

2019-07-08 Thread David Christensen
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:

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

2019-07-07 Thread Thomas Monjalon
05/07/2019 10:15, Burakov, Anatoly: > On 07-Jun-19 3:28 AM, Takeshi Yoshimura wrote: > > 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.

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

2019-07-05 Thread Burakov, Anatoly
On 07-Jun-19 3:28 AM, Takeshi Yoshimura wrote: 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 --- This do

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

2019-07-04 Thread Thomas Monjalon
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

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

2019-06-06 Thread 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 --- lib/librte_eal/linux/eal/eal_vfio.c | 26