Re: [dpdk-dev] [PATCH v2] vfio: fix workaround of BAR0 mapping

2018-07-12 Thread Burakov, Anatoly
On 12-Jul-18 4:08 AM, Takeshi Yoshimura wrote: The workaround of BAR0 mapping does not work if BAR0 area is smaller than page size (64KB in ppc). In addition, we no longer need the workaround in recent Linux because VFIO allows MSIX mapping (*). This fix is just to skip the workaround if BAR0 is

[dpdk-dev] [PATCH v2] vfio: fix workaround of BAR0 mapping

2018-07-11 Thread Takeshi Yoshimura
The workaround of BAR0 mapping does not work if BAR0 area is smaller than page size (64KB in ppc). In addition, we no longer need the workaround in recent Linux because VFIO allows MSIX mapping (*). This fix is just to skip the workaround if BAR0 is smarller than a page. (*): "vfio-pci: Allow mapp