]> git.proxmox.com Git - mirror_qemu.git/commit
spapr_iommu: Introduce page_shift in sPAPRTCETable
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Tue, 27 May 2014 05:36:36 +0000 (15:36 +1000)
committerAlexander Graf <agraf@suse.de>
Mon, 16 Jun 2014 11:24:39 +0000 (13:24 +0200)
commit650f33adbd53b0bacdd5d3392ea5b11a8a0fba42
tree3b67289211c446be7e9a29301f798b4ffd73ad9a
parent523e7b8ab818ec3fab14cfd7a20d51cb3aa33a9d
spapr_iommu: Introduce page_shift in sPAPRTCETable

At the moment only 4K pages are supported by sPAPRTCETable. Since sPAPR
spec allows other page sizes and we are going to implement them, we need
page size to be configrable.

This adds @page_shift into sPAPRTCETable and replaces SPAPR_TCE_PAGE_SHIFT
with it where it is possible.

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/ppc/spapr.h