qemu-e2k/hw/ppc
Alexey Kardashevskiy 9ded780c4c spapr/iommu: Enable in-kernel TCE acceleration via VFIO KVM device
In order to enable TCE operations support in KVM, we have to inform
the KVM about VFIO groups being attached to specific LIOBNs;
the necessary bits are implemented already by IOMMU MR and VFIO.

This defines get_attr() for the SPAPR TCE IOMMU MR which makes VFIO
call the KVM_DEV_VFIO_GROUP_SET_SPAPR_TCE ioctl and establish
LIOBN-to-IOMMU link.

This changes spapr_tce_set_need_vfio() to avoid TCE table reallocation
if the kernel supports the TCE acceleration.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
[aw - remove unnecessary sys/ioctl.h include]
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2018-02-06 11:08:24 -07:00
..
e500-ccsr.h
e500.c
e500.h
e500plat.c ppc: e500: Allow only supported dynamic sysbus devices 2018-01-19 11:18:51 -02:00
fdt.c
mac_newworld.c
mac_oldworld.c
mac.h
Makefile.objs hw/ppc/Makefile: Add a way to disable the PPC4xx boards 2018-01-20 17:09:39 +11:00
mpc8544_guts.c
mpc8544ds.c
pnv_bmc.c ppc/pnv: change powernv_ prefix to pnv_ for overall naming consistency 2018-01-10 12:53:00 +11:00
pnv_core.c ppc/pnv: fix XSCOM core addressing on POWER9 2018-01-17 09:35:24 +11:00
pnv_lpc.c target/ppc: more use of the PPC_*() macros 2018-01-10 12:53:00 +11:00
pnv_occ.c
pnv_psi.c ppc/pnv: change powernv_ prefix to pnv_ for overall naming consistency 2018-01-10 12:53:00 +11:00
pnv_xscom.c ppc/pnv: introduce pnv*_is_power9() helpers 2018-01-17 09:35:24 +11:00
pnv.c ppc/pnv: change initrd address 2018-01-17 09:35:24 +11:00
ppc4xx_devs.c
ppc4xx_pci.c
ppc405_boards.c ppc: Deprecate qemu-system-ppcemb 2018-01-27 17:25:27 +11:00
ppc405_uc.c
ppc405.h
ppc440_bamboo.c ppc: Deprecate qemu-system-ppcemb 2018-01-27 17:25:27 +11:00
ppc_booke.c
ppc.c
ppce500_spin.c
prep_systemio.c
prep.c hw/net/ne2000: extract ne2k-isa code from i386/pc to ne2000-isa.c 2017-12-18 17:07:02 +03:00
rs6000_mc.c
spapr_caps.c target/ppc/spapr_caps: Add new tristate cap safe_indirect_branch 2018-01-29 14:24:55 +11:00
spapr_cpu_core.c spapr: fix device tree properties when using compatibility mode 2018-01-20 17:15:05 +11:00
spapr_drc.c
spapr_events.c spapr_events: drop bogus cell from "interrupt-ranges" property 2017-12-15 09:49:24 +11:00
spapr_hcall.c target/ppc/spapr: Add H-Call H_GET_CPU_CHARACTERISTICS 2018-01-29 14:24:55 +11:00
spapr_iommu.c spapr/iommu: Enable in-kernel TCE acceleration via VFIO KVM device 2018-02-06 11:08:24 -07:00
spapr_ovec.c
spapr_pci_vfio.c hw/ppc: Remove the deprecated spapr-pci-vfio-host-bridge device 2018-01-10 12:53:00 +11:00
spapr_pci.c spapr_pci: fix MSI/MSIX selection 2018-01-29 14:24:41 +11:00
spapr_rng.c
spapr_rtas_ddw.c
spapr_rtas.c spapr: fix device tree properties when using compatibility mode 2018-01-20 17:15:05 +11:00
spapr_rtc.c
spapr_vio.c spapr: fix LSI interrupt specifiers in the device tree 2017-12-15 09:49:24 +11:00
spapr.c target/ppc/spapr_caps: Add new tristate cap safe_indirect_branch 2018-01-29 14:24:55 +11:00
trace-events
virtex_ml507.c ppc: Deprecate qemu-system-ppcemb 2018-01-27 17:25:27 +11:00