On 6/29/2016 8:24 AM, Alex Williamson wrote:
> On Wed, 29 Jun 2016 00:15:23 +0530
> Kirti Wankhede wrote:
>
>> On 6/25/2016 1:15 AM, Alex Williamson wrote:
>>> On Sat, 25 Jun 2016 00:04:27 +0530
>>> Kirti Wankhede wrote:
>>>
>>
>> +
>> +static int mdev_get_irq_count(struct vfio_mdev
On 06/21/2016 12:31 AM, Kirti Wankhede wrote:
+static int mdev_dev_mmio_fault(struct vm_area_struct *vma, struct vm_fault
*vmf)
+{
+ int ret;
+ struct vfio_mdev *vmdev = vma->vm_private_data;
+ struct mdev_device *mdev;
+ struct parent_device *parent;
+ u64 virta
On Wed, 29 Jun 2016 00:15:23 +0530
Kirti Wankhede wrote:
> On 6/25/2016 1:15 AM, Alex Williamson wrote:
> > On Sat, 25 Jun 2016 00:04:27 +0530
> > Kirti Wankhede wrote:
> >
>
> +
> +static int mdev_get_irq_count(struct vfio_mdev *vmdev, int irq_type)
> +{
> +/* Do
On 6/25/2016 1:15 AM, Alex Williamson wrote:
> On Sat, 25 Jun 2016 00:04:27 +0530
> Kirti Wankhede wrote:
>
+
+static int mdev_get_irq_count(struct vfio_mdev *vmdev, int irq_type)
+{
+ /* Don't support MSIX for now */
+ if (irq_type == VFIO_PCI_MSIX_IRQ_INDEX)
+
On Sat, 25 Jun 2016 00:04:27 +0530
Kirti Wankhede wrote:
> Thanks Alex.
>
>
> On 6/22/2016 4:18 AM, Alex Williamson wrote:
> > On Mon, 20 Jun 2016 22:01:47 +0530
> > Kirti Wankhede wrote:
> >
> >> +
> >> +static int get_mdev_region_info(struct mdev_device *mdev,
> >> +
Thanks Alex.
On 6/22/2016 4:18 AM, Alex Williamson wrote:
> On Mon, 20 Jun 2016 22:01:47 +0530
> Kirti Wankhede wrote:
>
>> +
>> +static int get_mdev_region_info(struct mdev_device *mdev,
>> +struct pci_region_info *vfio_region_info,
>> +i
On Mon, 20 Jun 2016 22:01:47 +0530
Kirti Wankhede wrote:
> 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
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