]> rtime.felk.cvut.cz Git - jailhouse.git/commit
x86: vtd: Check for pending faults after reprogramming the reporting CPU
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 25 May 2015 08:12:33 +0000 (10:12 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Sun, 7 Jun 2015 17:05:37 +0000 (19:05 +0200)
commitcc6a16548a8ac28459216e0c72697ddb48514db0
treeac9b531779bbb10dab907f3b58b513e3da4f722e
parent436be34789675b31bbec9425186e2cb7c446caac
x86: vtd: Check for pending faults after reprogramming the reporting CPU

There is a risk of reporting a fault event late when racing with with
reprogamming steps, or even missing it completely.

Reported-by: Valentine Sinitsyn <valentine.sinitsyn@gmail.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/x86/vtd.c