]> rtime.felk.cvut.cz Git - jailhouse.git/commit
x86: Filter out physical address that can't be handled by DMAR units
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 24 Feb 2016 09:19:54 +0000 (10:19 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Mon, 7 Mar 2016 12:49:05 +0000 (13:49 +0100)
commit4142c740cffe9e93580e7a48fdbcc3b80d370209
treef4c2672109872654f9b0e711fe5274cc1c6fd307
parent6e9a366ec18356d9518710a74b51a443b6feeeef
x86: Filter out physical address that can't be handled by DMAR units

Make sure that we do not try to program DMAR page tables with physical
addresses beyond the supported range (39 or 48 bits, depending on the
page table levels).

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