spapr_pci: Reset DMA config on PHB reset
commitacf1b6dd22ef8ccd5431e933706f12ce643f6cf0
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Wed, 1 Jun 2016 08:57:36 +0000 (1 18:57 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 7 Jun 2016 00:17:45 +0000 (7 10:17 +1000)
tree8bf51f86a30eb105dfddd2e3cb0d0780258fb82e
parentb4b6eb771a5c2eec47fd87ea28c499a5aa4b6db2
spapr_pci: Reset DMA config on PHB reset

LoPAPR dictates that during system reset all DMA windows must be removed
and the default DMA32 window must be created so does the patch.

At the moment there is just one window supported so no change in
behaviour is expected.

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