aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorSuravee Suthikulpanit <[email protected]>2016-08-23 13:52:43 -0500
committerPaolo Bonzini <[email protected]>2016-09-08 13:18:58 +0200
commit411b44ba80ab0023383fe3f377e903cb0cb7d8bb (patch)
tree5efb3d31f639aa856eff3975230ed5f1769d9f4b /lib/test-string_helpers.c
parent5881f73757cc3dbada878e67c119a801ed0f9a07 (diff)
svm: Implements update_pi_irte hook to setup posted interrupt
This patch implements update_pi_irte function hook to allow SVM communicate to IOMMU driver regarding how to set up IRTE for handling posted interrupt. In case AVIC is enabled, during vcpu_load/unload, SVM needs to update IOMMU IRTE with appropriate host physical APIC ID. Also, when vcpu_blocking/unblocking, SVM needs to update the is-running bit in the IOMMU IRTE. Both are achieved via calling amd_iommu_update_ga(). However, if GA mode is not enabled for the pass-through device, IOMMU driver will simply just return when calling amd_iommu_update_ga. Signed-off-by: Suravee Suthikulpanit <[email protected]> Reviewed-by: Radim Krčmář <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions