Re: VFIO on ARM64

2017-09-13 Thread Jean-Philippe Brucker
On 13/09/17 18:38, valmiki wrote: > On 9/13/2017 6:50 AM, Jean-Philippe Brucker wrote: >> Hi Valmiki, >> >> On 12/09/17 19:01, valmiki wrote: >>> Hi, as per VFIO documentation i see that we need to see >>> "/sys/bus/pci/devices/:06:0d.0/iommu_group" in order to find group >>> in which PCI bus

Re: VFIO on ARM64

2017-09-13 Thread valmiki
On 9/13/2017 6:50 AM, Jean-Philippe Brucker wrote: Hi Valmiki, On 12/09/17 19:01, valmiki wrote: Hi, as per VFIO documentation i see that we need to see "/sys/bus/pci/devices/:06:0d.0/iommu_group" in order to find group in which PCI bus is attached. But as per drivers/pci/pci-sysfs.c in

Re: VFIO on ARM64

2017-09-12 Thread Jean-Philippe Brucker
Hi Valmiki, On 12/09/17 19:01, valmiki wrote: > Hi, as per VFIO documentation i see that we need to see > "/sys/bus/pci/devices/:06:0d.0/iommu_group" in order to find group > in which PCI bus is attached. > But as per drivers/pci/pci-sysfs.c in static struct attribute > *pci_dev_attrs[], i

Re: VFIO on ARM64

2017-09-12 Thread Alex Williamson
[Cc +Eric Auger] On Tue, 12 Sep 2017 23:31:00 +0530 valmiki wrote: > Hi, as per VFIO documentation i see that we need to see > "/sys/bus/pci/devices/:06:0d.0/iommu_group" in order to find group > in which PCI bus is attached. > But as per drivers/pci/pci-sysfs.c in

VFIO on ARM64

2017-09-12 Thread valmiki
Hi, as per VFIO documentation i see that we need to see "/sys/bus/pci/devices/:06:0d.0/iommu_group" in order to find group in which PCI bus is attached. But as per drivers/pci/pci-sysfs.c in static struct attribute *pci_dev_attrs[], i don't see any such attribute. I tried enabling SMMUv2