summaryrefslogtreecommitdiffstats
path: root/include/hw/pci-host/spapr.h
diff options
context:
space:
mode:
authorAlexey Kardashevskiy2016-06-01 10:57:39 +0200
committerDavid Gibson2016-06-07 02:17:45 +0200
commitb3162f22cb3cbca73d4c90b936dbadff6954e2f6 (patch)
treef3847fa10def627d8939effda29621cdc7414ba4 /include/hw/pci-host/spapr.h
parentspapr_pci: Reset DMA config on PHB reset (diff)
downloadqemu-b3162f22cb3cbca73d4c90b936dbadff6954e2f6.tar.gz
qemu-b3162f22cb3cbca73d4c90b936dbadff6954e2f6.tar.xz
qemu-b3162f22cb3cbca73d4c90b936dbadff6954e2f6.zip
spapr_pci: Add and export DMA resetting helper
This will be later used by the "ibm,reset-pe-dma-window" RTAS handler which resets the DMA configuration to the defaults. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/pci-host/spapr.h')
-rw-r--r--include/hw/pci-host/spapr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/pci-host/spapr.h b/include/hw/pci-host/spapr.h
index 03ee006406..7848366b2a 100644
--- a/include/hw/pci-host/spapr.h
+++ b/include/hw/pci-host/spapr.h
@@ -147,4 +147,6 @@ static inline void spapr_phb_vfio_reset(DeviceState *qdev)
}
#endif
+void spapr_phb_dma_reset(sPAPRPHBState *sphb);
+
#endif /* __HW_SPAPR_PCI_H__ */