]> rtime.felk.cvut.cz Git - jailhouse.git/commit
x86: Implement amd_iommu command posting
authorValentine Sinitsyn <valentine.sinitsyn@gmail.com>
Wed, 15 Jul 2015 19:13:05 +0000 (00:13 +0500)
committerJan Kiszka <jan.kiszka@siemens.com>
Mon, 7 Mar 2016 12:49:06 +0000 (13:49 +0100)
commitb57fd97a04c1fa9932ad9d55c9227b034f90e057
treebb41f11b24f11f93f77d92307d7ca531aacc3de9
parenta9707ae7d77f1e3a54a28b576fe1440bac003dfa
x86: Implement amd_iommu command posting

Add basic infrastructure (heavily influenced by Linux amd_iommu driver)
to submit commands to AMD IOMMU command buffer. For now, having only
INVALIDATE_IOMMU_PAGES and COMPLETION_WAIT seems to be sufficient.

Signed-off-by: Valentine Sinitsyn <valentine.sinitsyn@gmail.com>
[Jan: Cleanups, simplification of draining]
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/x86/amd_iommu.c