diff options
| author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2022-06-22 15:29:55 +1000 |
|---|---|---|
| committer | Daniel Henrique Barboza <danielhb413@gmail.com> | 2022-07-06 10:22:37 -0300 |
| commit | 31cc81f72801bcda02c866ff94ed8baf6b84506d (patch) | |
| tree | d06e28ea747d49fc4f8dd1af05b9e62262745dff /include/hw/ppc | |
| parent | 59f11543e2ccd5cab283732a7c59aeeaa6790138 (diff) | |
| download | focaccia-qemu-31cc81f72801bcda02c866ff94ed8baf6b84506d.tar.gz focaccia-qemu-31cc81f72801bcda02c866ff94ed8baf6b84506d.zip | |
spapr/ddw: Reset DMA when the last non-default window is removed
PAPR+/LoPAPR says: === The platform must restore the default DMA window for the PE on a call to the ibm,remove-pe-dma-window RTAS call when all of the following are true: a. The call removes the last DMA window remaining for the PE. b. The DMA window being removed is not the default window === This resets DMA as PAPR mandates. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com> Message-Id: <20220622052955.1069903-1-aik@ozlabs.ru> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'include/hw/ppc')
| -rw-r--r-- | include/hw/ppc/spapr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ppc/spapr.h b/include/hw/ppc/spapr.h index 072dda2c72..4ba2b27b8c 100644 --- a/include/hw/ppc/spapr.h +++ b/include/hw/ppc/spapr.h @@ -902,6 +902,7 @@ struct SpaprTceTable { bool bypass; bool need_vfio; bool skipping_replay; + bool def_win; int fd; MemoryRegion root; IOMMUMemoryRegion iommu; |