KVM: PPC: Add @offset to kvmppc_spapr_tce_table
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Tue, 1 Mar 2016 06:54:39 +0000 (17:54 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 1 Mar 2016 22:56:50 +0000 (09:56 +1100)
commit14f853f1b257b69cf0213ad8c49c01038ccf7ef9
tree5d92a33f6d75e573a83cb57400c6827e519ab64e
parentfe26e52712ccab6648df17ecc029a68a69a01a85
KVM: PPC: Add @offset to kvmppc_spapr_tce_table

This enables userspace view of TCE tables to start from non-zero offset
on a bus. This will be used for huge DMA windows.

This only changes the internal structure, the user interface needs to
change in order to use an offset.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/include/asm/kvm_host.h
arch/powerpc/kvm/book3s_64_vio_hv.c