]> rtime.felk.cvut.cz Git - jailhouse.git/commit
x86: Add iommu_commit_config() for amd_iommu
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 15 Jul 2015 19:34:47 +0000 (00:34 +0500)
committerJan Kiszka <jan.kiszka@siemens.com>
Wed, 16 Mar 2016 08:23:53 +0000 (09:23 +0100)
commit7f5aa435bd0bdeea89004649b205fc5ed7be29a3
treebb2ea33952057468a0f49ac7b51caf1135591e40
parent4127cb50604f7adb38a23dcbf7d0d634215c8aa0
x86: Add iommu_commit_config() for amd_iommu

Implement functions to apply configuration for an IOMMU.
In case something goes wrong, we need to trigger an NMI, which
amd_iommu_init_fault_nmi() configures.

Based on patch by Valentine Sinitsyn.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/x86/amd_iommu.c