]> xenbits.xensource.com Git - people/dariof/xen.git/commit
VT-d: check all of an RMRR for being E820-reserved
authorJan Beulich <jbeulich@suse.com>
Tue, 18 Feb 2020 15:21:19 +0000 (16:21 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 18 Feb 2020 15:21:19 +0000 (16:21 +0100)
commitd6573bc6e6b7d95bb9de8471a6bfd7048ebc50f3
tree3b8be0fae2980537876efc87f9efda506350d374
parent465614a6b9a41a6e20b219308079f829ec6869fe
VT-d: check all of an RMRR for being E820-reserved

Checking just the first and last page is not sufficient (and redundant
for single-page regions). As we don't need to care about IA64 anymore,
use an x86-specific function to get this done without looping over each
individual page.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
xen/drivers/passthrough/vtd/dmar.c