VT-d: check all of an RMRR for being E820-reserved
authorJan Beulich <jbeulich@suse.com>
Thu, 5 Mar 2020 10:37:39 +0000 (11:37 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 5 Mar 2020 10:37:39 +0000 (11:37 +0100)
commitf9e2a60b393315c08515af4156540d0e94789cbc
tree98497ed1f32cbace28e354eb165e80a798c7fa7b
parent98cf186a3eb07f19d8178ab309185b1376a18225
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>
master commit: d6573bc6e6b7d95bb9de8471a6bfd7048ebc50f3
master date: 2020-02-18 16:21:19 +0100
xen/drivers/passthrough/vtd/dmar.c