RE: [PATCH v6][RESEND] x86/hyperv: Suspend/resume the hypercall page for hibernation
From: Dexuan Cui <decui@microsoft.com>
Date: 2020-01-30 01:02:19
Also in:
linux-arch, lkml
From: linux-hyperv-owner@vger.kernel.org [off-list ref] On Behalf Of Sasha Levin Sent: Wednesday, January 29, 2020 4:06 PM To: Dexuan Cui <decui@microsoft.com> Cc: arnd@arndb.de; bp@alien8.de; daniel.lezcano@linaro.org; Haiyang Zhang [off-list ref]; hpa@zytor.com; KY Srinivasan [off-list ref]; linux-hyperv@vger.kernel.org; linux-kernel@vger.kernel.org; mingo@redhat.com; Stephen Hemminger [off-list ref]; tglx@linutronix.de; x86@kernel.org; Michael Kelley [off-list ref]; Sasha Levin [off-list ref]; vkuznets [off-list ref]; linux-arch@vger.kernel.org Subject: Re: [PATCH v6][RESEND] x86/hyperv: Suspend/resume the hypercall page for hibernation On Sat, Jan 25, 2020 at 01:44:31AM +0000, Dexuan Cui wrote:quoted
quoted
From: Dexuan Cui <decui@microsoft.com> Sent: Monday, January 6, 2020 2:43 PM This is needed for hibernation, e.g. when we resume the old kernel, weneedquoted
quoted
to disable the "current" kernel's hypercall page and then resume the old kernel's. Signed-off-by: Dexuan Cui <decui@microsoft.com> Reviewed-by: Michael Kelley <redacted> --- This is a RESEND of https://lkml.org/lkml/2019/11/20/68 Please review. If it looks good, can you please pick it up through the tip.git tree? arch/x86/hyperv/hv_init.c | 48 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+)Hi, Vitaly and x86 maintainers, Can you please take a look at this patch?Ping? This patch has been floating around in it's current form for the past 2 months. I'll happily take Hyper-V patches under arch/x86/hyperv/ via the Hyper-V tree rather than tip if the x86 folks don't want to deal with them. -- Thanks, Sasha
This straightforward patch is the only pending patch for v5.6 for the hibernation functionality of Linux VM on Hyper-V. It would be really great if we could merge it for v5.6-rc1. The patch is safe in that it only runs when the VM hibernates, and the hibernation functionality of Linux VM on Hyper-V never worked before. I'm pretty sure the patch can not cause any merge conflict since nobody else tries to modify the file recently. Thanks, -- Dexuan