]> git.proxmox.com Git - mirror_qemu.git/commit - hw/ppc/spapr_iommu.c
spapr_iommu: Get rid of window_size in sPAPRTCETable
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Tue, 27 May 2014 05:36:35 +0000 (15:36 +1000)
committerAlexander Graf <agraf@suse.de>
Mon, 16 Jun 2014 11:24:39 +0000 (13:24 +0200)
commit523e7b8ab818ec3fab14cfd7a20d51cb3aa33a9d
treeb7d72322305d1dbc097846b9374dc034d6a04a74
parente4c35b78bce645aaa299d3b7b62494c880c6c74d
spapr_iommu: Get rid of window_size in sPAPRTCETable

This removes window_size as it is basically a copy of nb_table
shifted by SPAPR_TCE_PAGE_SHIFT. As new dynamic DMA windows are
going to support windows as big as the entire RAM and this number
will be bigger that 32 capacity, we will have to do something
about @window_size anyway and removal seems to be the right way to go.

This removes dma_window_start/dma_window_size from sPAPRPHBState as
they are no longer used.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr_iommu.c
hw/ppc/spapr_pci.c
hw/ppc/spapr_vio.c
include/hw/pci-host/spapr.h
include/hw/ppc/spapr.h
target-ppc/kvm.c
target-ppc/kvm_ppc.h