spapr_pci: Add and export DMA resetting helper
commitb3162f22cb3cbca73d4c90b936dbadff6954e2f6
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Wed, 1 Jun 2016 08:57:39 +0000 (1 18:57 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 7 Jun 2016 00:17:45 +0000 (7 10:17 +1000)
treef3847fa10def627d8939effda29621cdc7414ba4
parentacf1b6dd22ef8ccd5431e933706f12ce643f6cf0
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>
hw/ppc/spapr_pci.c
include/hw/pci-host/spapr.h