]> rtime.felk.cvut.cz Git - jailhouse.git/commit
x86: Implement amd_iommu event log
authorValentine Sinitsyn <valentine.sinitsyn@gmail.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)
commit29608180d0c8cc6e8893cf0e03e161e94b007638
treec7974b0d0fbd89d652dd01e7759beefbdcf29fd4
parent7f5aa435bd0bdeea89004649b205fc5ed7be29a3
x86: Implement amd_iommu event log

Add functions to read event logs AMD IOMMU provides and print their
contents. The latter is rather basic, but decoding all possible log
entries is hairy, so we'd better wait and collect stats which
problems occur most often.

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