Skip to content

linux-xen: Extend xen kexec hypercall to return additional regions

Simon Horman xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4kexec: add parent to per-cpu regions at setup time.drivers/xen/core/machine_kexec.c+4 -60 replies
2/4kexec: add xen_machine_kexec_register_resources() and machine_kexec_register_resources()arch/i386/kernel/machine_kexec.c arch/ia64/kernel/machine_kexec.c arch/x86_64/kernel/machine_kexec.c +1 more+54 -40 replies
3/4kexec: read more iomem regions from hypevisorarch/ia64/kernel/machine_kexec.c include/xen/interface/kexec.h+59 -60 replies
4/4kexec: dont initialise regions in reserve_memory()arch/ia64/kernel/setup.c+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/4] linux-xen: Extend xen kexec hypercall to return additional regions

this series makes use of the extra regions that can be retrieved using the kexec hypercall, as per patches posted in a separate series.

This allows all regions that kexec needs to avoid to be retrieved from the hypervisor. The patch set also places all of these regions into /proc/iomem_machine - previously some where in /proc/iomem_machine and some where in /proc/iomem.

There are generic and ia64 specific patches in this series. I wanted to post them together as they don't make much sense without each other.

As well as the related xen patches, there are also related kexec-tools patches which I have posted to the kexec mailing list and intend to merge.
http://lists.infradead.org/pipermail/kexec/2008-February/001348.html

The end-game here is to make sure that all the reserved regions show up in /proc/iomem_machine on ia64. This currently does not happen. And manifests as kexec only being able to be performed once as the boot parameter ends up being overwritten in relocate_kernel before purgatory is reached.

Xen--kexec-->Xen--kexec [hang in purgatory!]

The EFI-RID patches for ia64 xen kexec are also needed for kexec to function on ia64. However they touch different code paths and can be merged separately.

Signature · 1 line
Horms