On Fri, 27 May 2016 10:03:31 +
"Tian, Kevin" wrote:
> > From: Kirti Wankhede
> > Sent: Wednesday, May 25, 2016 9:05 PM
> >
> >
> > >> +{
> > >> +int ret = -EINVAL;
> > >> +struct phy_device *phy_dev = mdevice->phy_dev;
> > >> +
> > >> +if (dev_is_pci(phy_dev->dev)
> From: Kirti Wankhede
> Sent: Wednesday, May 25, 2016 9:05 PM
>
>
> >> +{
> >> + int ret = -EINVAL;
> >> + struct phy_device *phy_dev = mdevice->phy_dev;
> >> +
> >> + if (dev_is_pci(phy_dev->dev) && phy_dev->ops->get_region_info) {
> >> + mutex_lock(&mdevice->ops_lock);
> >> +
On 5/25/2016 1:45 PM, Tian, Kevin wrote:
>> From: Kirti Wankhede [mailto:kwankh...@nvidia.com]
>> Sent: Wednesday, May 25, 2016 3:58 AM
>>
>> VFIO driver registers with MDEV core driver. MDEV core driver creates
>> mediated device and calls probe routine of MPCI VFIO driver. This MPCI
>> VFIO dri
> From: Kirti Wankhede [mailto:kwankh...@nvidia.com]
> Sent: Wednesday, May 25, 2016 3:58 AM
>
> VFIO driver registers with MDEV core driver. MDEV core driver creates
> mediated device and calls probe routine of MPCI VFIO driver. This MPCI
> VFIO driver adds mediated device to VFIO core module.
>
VFIO driver registers with MDEV core driver. MDEV core driver creates
mediated device and calls probe routine of MPCI VFIO driver. This MPCI
VFIO driver adds mediated device to VFIO core module.
Main aim of this module is to manage all VFIO APIs for each mediated PCI
device.
Those are:
- get region