x86/MCFG: fix off-by-one in E820 check
authorJan Beulich <jbeulich@suse.com>
Tue, 18 Feb 2020 15:24:24 +0000 (16:24 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 18 Feb 2020 15:24:24 +0000 (16:24 +0100)
commita5dccdd86651f6d7eb0c2b9fb0347a4e770184ff
tree8d36065c71a1fa5213c35a6fccda01b038d24bfe
parent89f0b0a0ac719f546f7f71a12e0ef7b20e55c42c
x86/MCFG: fix off-by-one in E820 check

Also adjust the comment ahead of e820_all_mapped() to clarify that the
range is not inclusive at its end.

Reported-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wl@xen.org>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/e820.c
xen/arch/x86/x86_64/mmconfig-shared.c