]> Git Repo - qemu.git/commit
spapr_iommu: Enable multiple TCE requests
authorAlexey Kardashevskiy <[email protected]>
Tue, 27 May 2014 05:36:30 +0000 (15:36 +1000)
committerAlexander Graf <[email protected]>
Mon, 16 Jun 2014 11:24:39 +0000 (13:24 +0200)
commitda95324ebe462b14a3507af02eb4a689c8a1619f
tree246278f453437fa1e744a1c02869710006554c74
parenta1d59c0ffadf17d546f53f4bda06e8adcf616ede
spapr_iommu: Enable multiple TCE requests

Currently only single TCE entry per request is supported (H_PUT_TCE).
However PAPR+ specification allows multiple entry requests such as
H_PUT_TCE_INDIRECT and H_STUFF_TCE. Having less transitions to the host
kernel via ioctls, support of these calls can accelerate IOMMU operations.

This implements H_STUFF_TCE and H_PUT_TCE_INDIRECT.

This advertises "multi-tce" capability to the guest if the host kernel
supports it (KVM_CAP_SPAPR_MULTITCE) or guest is running in TCG mode.

Signed-off-by: Alexey Kardashevskiy <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
hw/ppc/spapr.c
hw/ppc/spapr_iommu.c
target-ppc/kvm.c
target-ppc/kvm_ppc.h
trace-events
This page took 0.025262 seconds and 4 git commands to generate.