Re: [PATCH 3/7] vfio: add sdmdev support

2018-09-06 Thread Kenneth Lee
Sanjay Kumar > > CC: linux...@huawei.com, baolu...@linux.intel.com > Subject: Re: [PATCH 3/7] vfio: add sdmdev support > User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 > Thunderbird/52.9.1 > Message-ID: <4ea51b20-dcc1-db32-18eb-24a004ab9...@linux.intel.com> >

Re: [PATCH 3/7] vfio: add sdmdev support

2018-09-06 Thread Kenneth Lee
labs.org, Lu Baolu , > Sanjay Kumar > CC: linux...@huawei.com > Subject: Re: [PATCH 3/7] vfio: add sdmdev support > User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 > Thunderbird/52.9.1 > Message-ID: <0574e7dc-bed2-d2d0-3aa6-93590d54c...@infradead.org> > >

Re: [PATCH 3/7] vfio: add sdmdev support

2018-09-05 Thread Dan Carpenter
Hi Kenneth, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on cryptodev/master] [also build test WARNING on v4.19-rc2 next-20180905] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH 3/7] vfio: add sdmdev support

2018-09-04 Thread kbuild test robot
Hi Kenneth, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on cryptodev/master] [also build test WARNING on v4.19-rc2 next-20180831] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH 3/7] vfio: add sdmdev support

2018-09-04 Thread kbuild test robot
Hi Kenneth, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on cryptodev/master] [also build test WARNING on v4.19-rc2 next-20180831] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH 3/7] vfio: add sdmdev support

2018-09-02 Thread Lu Baolu
Hi, On 09/03/2018 08:52 AM, Kenneth Lee wrote: From: Kenneth Lee SDMDEV is "Share Domain Mdev". It is a vfio-mdev. But differ from the general vfio-mdev, it shares its parent's IOMMU. If Multi-PASID support is enabled in the IOMMU (not yet in the current kernel HEAD), multiple process can

Re: [PATCH 3/7] vfio: add sdmdev support

2018-09-02 Thread Randy Dunlap
On 09/02/2018 05:52 PM, Kenneth Lee wrote: > diff --git a/drivers/vfio/sdmdev/Kconfig b/drivers/vfio/sdmdev/Kconfig > new file mode 100644 > index ..51474272870d > --- /dev/null > +++ b/drivers/vfio/sdmdev/Kconfig > @@ -0,0 +1,10 @@ > +# SPDX-License-Identifier: GPL-2.0 > +config

[PATCH 3/7] vfio: add sdmdev support

2018-09-02 Thread Kenneth Lee
From: Kenneth Lee SDMDEV is "Share Domain Mdev". It is a vfio-mdev. But differ from the general vfio-mdev, it shares its parent's IOMMU. If Multi-PASID support is enabled in the IOMMU (not yet in the current kernel HEAD), multiple process can share the IOMMU by different PASID. If it is not