summaryrefslogtreecommitdiff
path: root/kexec/arch/i386/crashdump-x86.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw@amazon.co.uk>2019-04-28 13:52:12 +0300
committerSimon Horman <horms@verge.net.au>2019-05-15 09:40:11 +0200
commiteff53089523c331ac946df74ba365072a6fd1a95 (patch)
tree647697838711f4d7c51cb59a5b942af288820c73 /kexec/arch/i386/crashdump-x86.c
parentfb5a8792e6e4ee7de7ae3e06d193ea5beaaececc (diff)
xen: Avoid overlapping segments in low memory
Unlike Linux which creates a full identity mapping, Xen only maps those segments which are explicitly requested. Therefore, xen_kexec_load() silently adds in a segment from zero to 1MiB to ensure that VGA memory and other things are accessible. However, this doesn't work when there are already segments to be loaded under 1MiB, because the overlap causes Xen to reject the kexec_load. Be more careful and just infill the ranges which are required instead of naïvely adding a full 0-1MiB segment at the end of the list. Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/i386/crashdump-x86.c')
0 files changed, 0 insertions, 0 deletions