[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251014164150.6935-1-prapal@linux.microsoft.com>
Date: Tue, 14 Oct 2025 11:41:19 -0500
From: Praveen K Paladugu <prapal@...ux.microsoft.com>
To: kys@...rosoft.com,
haiyangz@...rosoft.com,
wei.liu@...nel.org,
decui@...rosoft.com,
tglx@...utronix.de,
mingo@...hat.com,
linux-hyperv@...r.kernel.org,
linux-kernel@...r.kernel.org,
bp@...en8.de,
dave.hansen@...ux.intel.com,
x86@...nel.org,
hpa@...or.com,
arnd@...db.de
Cc: anbelski@...ux.microsoft.com,
prapal@...ux.microsoft.com,
easwar.hariharan@...ux.microsoft.com,
nunodasneves@...ux.microsoft.com,
skinsburskii@...ux.microsoft.com
Subject: [PATCH v2 0/2] Add support for clean shutdown with MSHV
Add support for clean shutdown of the root partition when running on MSHV
hypervisor.
v2:
- Addressed review comments from v1.
- Moved all sleep state handling methods under CONFIG_ACPI stub
- - This fixes build issues on non-x86 architectures.
Moving the declartion of `hv_sleep_notifiers_register` to
arch/x86/include/asm/mshyperv.h, required the use of CONFIG_X86 stub
within hv_common.c. As this sleep configuration is dependent on ACPI,
I moved all the methods under CONFIG_ACPI to keep the code cleaner,
without introducing CONFIG_X86 stub.
Praveen K Paladugu (2):
hyperv: Add definitions for MSHV sleep state configuration
hyperv: Enable clean shutdown for root partition with MSHV
arch/x86/hyperv/hv_init.c | 7 ++
arch/x86/include/asm/mshyperv.h | 1 +
drivers/hv/hv_common.c | 119 ++++++++++++++++++++++++++++++++
include/hyperv/hvgdk_mini.h | 4 +-
include/hyperv/hvhdk_mini.h | 33 +++++++++
5 files changed, 163 insertions(+), 1 deletion(-)
--
2.51.0
Powered by blists - more mailing lists