diff options
author | Alexey Kardashevskiy | 2016-06-01 10:57:39 +0200 |
---|---|---|
committer | David Gibson | 2016-06-07 02:17:45 +0200 |
commit | b3162f22cb3cbca73d4c90b936dbadff6954e2f6 (patch) | |
tree | f3847fa10def627d8939effda29621cdc7414ba4 /include/hw/pci-host/spapr.h | |
parent | spapr_pci: Reset DMA config on PHB reset (diff) | |
download | qemu-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.h | 2 |
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__ */ |