From: Thadeu Lima de Souza Cascardo Date: Mon, 9 Dec 2013 16:41:01 +0000 (-0200) Subject: powernv: Fix VFIO support with PHB3 X-Git-Tag: v3.13-rc4~38^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08607afba64cc7a14d22b8aa2837d00f1d877d83;p=pandora-kernel.git powernv: Fix VFIO support with PHB3 I have recently found out that no iommu_groups could be found under /sys/ on a P8. That prevents PCI passthrough from working. During my investigation, I found out there seems to be a missing iommu_register_group for PHB3. The following patch seems to fix the problem. After applying it, I see iommu_groups under /sys/kernel/iommu_groups/, and can also bind vfio-pci to an adapter, which gives me a device at /dev/vfio/. Signed-off-by: Thadeu Lima de Souza Cascardo Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed