All of lore.kernel.org
 help / color / mirror / Atom feed
* VFIO on ARM64
@ 2017-09-12 18:01 valmiki
  2017-09-12 18:27   ` Alex Williamson
  2017-09-13  1:20 ` Jean-Philippe Brucker
  0 siblings, 2 replies; 10+ messages in thread
From: valmiki @ 2017-09-12 18:01 UTC (permalink / raw)
  To: iommu, kvm, linux-pci; +Cc: Jean-Philippe Brucker, Alex Williamson, kevin.tian

Hi, as per VFIO documentation i see that we need to see 
"/sys/bus/pci/devices/0000: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 driver and SMMU for PCIe node on our SOC, but 
this file doesn't show up and also in /sys/kernel/iommu_group i do not 
see "/sys/kernel/iommu_groups/17/devices/0000:00:1f.00" file, i see only 
PCIe root port device tree node in that group and not individual buses.
So on ARM64 for showing these paths i.e show specific to each bus, does 
SMMU need any particular confguration (we have SMMUv2) ?
Do we need any specific kernel configuration ?


Regards,
Valmiki

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-12-04 11:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-12 18:01 VFIO on ARM64 valmiki
2017-09-12 18:27 ` Alex Williamson
2017-09-12 18:27   ` Alex Williamson
2017-09-13  1:20 ` Jean-Philippe Brucker
2017-09-13 17:38   ` valmiki
2017-09-13 18:57     ` Jean-Philippe Brucker
2017-12-03 13:56     ` Invalidation in SMMU v3 valmiki
2017-12-03 13:56       ` valmiki
2017-12-04 11:12       ` Jean-Philippe Brucker
2017-12-04 11:12         ` Jean-Philippe Brucker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.