summaryrefslogtreecommitdiff
path: root/arch/powerpc/kvm/powerpc.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2016-03-01 17:54:38 +1100
committerPaul Mackerras <paulus@samba.org>2016-03-02 09:56:50 +1100
commitfe26e52712ccab6648df17ecc029a68a69a01a85 (patch)
tree3bfcf89f8d288367bda48fb92a0914b188bb3cf0 /arch/powerpc/kvm/powerpc.c
parent01d01d69192e417447dee97891d670804bedd2c8 (diff)
downloadlinux-fe26e52712ccab6648df17ecc029a68a69a01a85.tar.gz
linux-fe26e52712ccab6648df17ecc029a68a69a01a85.tar.bz2
linux-fe26e52712ccab6648df17ecc029a68a69a01a85.zip
KVM: PPC: Add @page_shift to kvmppc_spapr_tce_table
At the moment the kvmppc_spapr_tce_table struct can only describe 4GB windows and handle fixed size (4K) pages. Dynamic DMA windows support more so these limits need to be extended. This replaces window_size (in bytes, 4GB max) with page_shift (32bit) and size (64bit, in pages). This should cause no behavioural change as this is changing the internal structures only - the user interface still only allows one to create a 32-bit table with 4KiB pages at this stage. 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>
Diffstat (limited to 'arch/powerpc/kvm/powerpc.c')
0 files changed, 0 insertions, 0 deletions