mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/5] Drivers: hv: add kexec support (and fix kdump)
@ 2015-06-25  9:58 Vitaly Kuznetsov
  2015-06-25  9:58 ` [PATCH v3 1/5] Drivers: hv: vmbus: remove hv_synic_free_cpu() call from hv_synic_cleanup() Vitaly Kuznetsov
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Vitaly Kuznetsov @ 2015-06-25  9:58 UTC (permalink / raw)
  To: devel
  Cc: linux-kernel, kexec, Eric Biederman, x86, H. Peter Anvin,
	Ingo Molnar, Thomas Gleixner, Haiyang Zhang, K. Y. Srinivasan,
	Olaf Hering, Greg KH

Changes since v2:
- Get rid of #ifdefs in mshyperv.c [Olaf Hering, Greg KH]
  PATCH 2/5 is added to support the change.
- Fix (also broken) kdump [K. Y. Srinivasan]
  PATCH 5/5 added.

Changes since v1:
- rebased on top of current Greg's char-misc-next tree.

To make general-purpose kexec (not just kdump) possible for Hyper-V guests
we need to perform some additional cleanup before starting new kernel (see
[PATCH 3/5] for the detailed description). Kdump also requires some
mandatory cleanup [PATCH 5/5]

Know limitations: kexec with balloned out memory is not possible as the
newly loaded kernel doesn't know about this memory and there is no way to
ask the host to bring all the memory back on cleanup (or at least I'm not
aware of such a way). Kexec with hotplugged memory leads to reboot (not
exactly sure why).

Vitaly Kuznetsov (5):
  Drivers: hv: vmbus: remove hv_synic_free_cpu() call from
    hv_synic_cleanup()
  kexec: define kexec_in_progress in !CONFIG_KEXEC case
  Drivers: hv: vmbus: add special kexec handler
  Drivers: hv: don't do hypercalls when hypercall_page is NULL
  Drivers: hv: vmbus: add special crash handler

 arch/x86/include/asm/mshyperv.h |  4 ++++
 arch/x86/kernel/cpu/mshyperv.c  | 46 +++++++++++++++++++++++++++++++++++++++++
 drivers/hv/hv.c                 | 15 +++++++-------
 drivers/hv/vmbus_drv.c          | 29 ++++++++++++++++++++++++++
 include/linux/kexec.h           |  1 +
 5 files changed, 88 insertions(+), 7 deletions(-)

-- 
2.4.2


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-06-25  9:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-25  9:58 [PATCH v3 0/5] Drivers: hv: add kexec support (and fix kdump) Vitaly Kuznetsov
2015-06-25  9:58 ` [PATCH v3 1/5] Drivers: hv: vmbus: remove hv_synic_free_cpu() call from hv_synic_cleanup() Vitaly Kuznetsov
2015-06-25  9:58 ` [PATCH v3 2/5] kexec: define kexec_in_progress in !CONFIG_KEXEC case Vitaly Kuznetsov
2015-06-25  9:58 ` [PATCH v3 3/5] Drivers: hv: vmbus: add special kexec handler Vitaly Kuznetsov
2015-06-25  9:58 ` [PATCH v3 4/5] Drivers: hv: don't do hypercalls when hypercall_page is NULL Vitaly Kuznetsov
2015-06-25  9:58 ` [PATCH v3 5/5] Drivers: hv: vmbus: add special crash handler Vitaly Kuznetsov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®