summary refs log tree commit diff
path: root/arch/x86/kvm/lapic.h
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2016-03-01 17:54:40 +1100
committerPaul Mackerras <paulus@samba.org>2016-03-02 09:56:50 +1100
commit58ded4201ff028b15f6b317228faa5f154a0663f (patch)
treed8f0be5813a349059e31724b24801fb526222be4 /arch/x86/kvm/lapic.h
parent14f853f1b257b69cf0213ad8c49c01038ccf7ef9 (diff)
downloadlinux-58ded4201ff028b15f6b317228faa5f154a0663f.tar.gz
KVM: PPC: Add support for 64bit TCE windows
The existing KVM_CREATE_SPAPR_TCE only supports 32bit windows which is not
enough for directly mapped windows as the guest can get more than 4GB.

This adds KVM_CREATE_SPAPR_TCE_64 ioctl and advertises it
via KVM_CAP_SPAPR_TCE_64 capability. The table size is checked against
the locked memory limit.

Since 64bit windows are to support Dynamic DMA windows (DDW), let's add
@bus_offset and @page_shift which are also required by DDW.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/x86/kvm/lapic.h')
0 files changed, 0 insertions, 0 deletions