linux-sg2042/arch/powerpc/platforms/powernv
Thadeu Lima de Souza Cascardo 08607afba6 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 <cascardo@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-12-10 11:28:38 +11:00
..
Kconfig powerpc/powernv: Add scom support under OPALv3 2013-10-11 16:53:45 +11:00
Makefile powerpc/powernv: Code update interface 2013-10-30 16:12:02 +11:00
eeh-ioda.c powerpc/eeh: Output PHB3 diag-data 2013-10-11 16:54:12 +11:00
eeh-powernv.c powerpc/powernv: Enable EEH for PHB3 2013-10-11 16:53:56 +11:00
opal-flash.c powerpc/powernv: Code update interface 2013-10-30 16:12:02 +11:00
opal-lpc.c powerpc: add explicit OF includes 2013-10-09 20:04:11 -05:00
opal-nvram.c powerpc/powernv: Make OPAL NVRAM device tree accesses endian safe 2013-10-11 16:48:47 +11:00
opal-rtc.c powerpc/powernv: More little endian issues in OPAL RTC driver 2013-10-11 16:48:51 +11:00
opal-takeover.S powerpc: Merge STK_REG/PARAM/FRAMESIZE 2012-07-10 19:18:03 +10:00
opal-wrappers.S powerpc/powernv: Code update interface 2013-10-30 16:12:02 +11:00
opal-xscom.c powerpc/powernv: Add support for indirect XSCOM via debugfs 2013-11-06 14:13:51 +11:00
opal.c DeviceTree updates for 3.13. This is a bit larger pull request than 2013-11-12 16:52:17 +09:00
pci-ioda.c powernv: Fix VFIO support with PHB3 2013-12-10 11:28:38 +11:00
pci-p5ioc2.c powerpc: Little endian fix for arch/powerpc/platforms/powernv/pci-p5ioc2.c 2013-10-11 16:48:43 +11:00
pci.c powerpc/powernv: Reserve the correct PE number 2013-11-06 14:13:52 +11:00
pci.h powerpc/powernv: Reserve the correct PE number 2013-11-06 14:13:52 +11:00
powernv.h powerpc/powernv: Add PIO accessors for Power8 LPC bus 2013-08-14 14:58:08 +10:00
rng.c powerpc: Make cpu_to_chip_id() available when SMP=n 2013-11-21 10:33:44 +11:00
setup.c powerpc: add explicit OF includes 2013-10-09 20:04:11 -05:00
smp.c powerpc: Convert platforms to smp_generic_cpu_bootable 2013-08-14 14:56:57 +10:00