public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/3] Add support for clean shutdown with MSHV
@ 2025-11-17 21:08 Praveen K Paladugu
  2025-11-17 21:08 ` [PATCH v5 1/3] hyperv: Add definitions for MSHV sleep state configuration Praveen K Paladugu
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Praveen K Paladugu @ 2025-11-17 21:08 UTC (permalink / raw)
  To: kys, haiyangz, wei.liu, decui, tglx, mingo, linux-hyperv,
	linux-kernel, bp, dave.hansen, x86, hpa, arnd
  Cc: anbelski, prapal, easwar.hariharan, nunodasneves, skinsburskii

Add support for clean shutdown of the root partition when running on
MSHV Hypervisor.

v5: 
 - Fixed build errors
 - Padded struct hv_input_set_system_property for alignment
 - Dropped CONFIG_ACPI stub

v4:
 - Adopted machine_ops to order invoking HV_ENTER_SLEEP_STATE as the
   last step in shutdown sequence.
 - This ensures rest of the cleanups are done before powering off

v3:
 - Dropped acpi_sleep handlers as they are not used on mshv
 - Applied ordering for hv_reboot_notifier
 - Fixed build issues on i386, arm64 architectures

v2:
  - Addressed review comments from v1.
  - Moved all sleep state handling methods under CONFIG_ACPI stub
  - - This fixes build issues on non-x86 architectures.


Praveen K Paladugu (3):
  hyperv: Add definitions for MSHV sleep state configuration
  hyperv: Use reboot notifier to configure sleep state
  hyperv: Cleanly shutdown root partition with MSHV

 arch/x86/hyperv/hv_init.c       |  9 ++++
 arch/x86/include/asm/mshyperv.h |  4 ++
 drivers/hv/mshv_common.c        | 96 +++++++++++++++++++++++++++++++++
 include/hyperv/hvgdk_mini.h     |  4 +-
 include/hyperv/hvhdk_mini.h     | 40 ++++++++++++++
 5 files changed, 152 insertions(+), 1 deletion(-)

-- 
2.51.0


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

end of thread, other threads:[~2025-11-20 22:59 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-17 21:08 [PATCH v5 0/3] Add support for clean shutdown with MSHV Praveen K Paladugu
2025-11-17 21:08 ` [PATCH v5 1/3] hyperv: Add definitions for MSHV sleep state configuration Praveen K Paladugu
2025-11-17 23:46   ` Stanislav Kinsburskii
2025-11-18 18:10   ` Michael Kelley
2025-11-20 22:59     ` Praveen Paladugu
2025-11-17 21:08 ` [PATCH v5 2/3] hyperv: Use reboot notifier to configure sleep state Praveen K Paladugu
2025-11-17 23:37   ` Stanislav Kinsburskii
2025-11-18 13:38   ` kernel test robot
2025-11-18 13:59   ` kernel test robot
2025-11-17 21:08 ` [PATCH v5 3/3] hyperv: Cleanly shutdown root partition with MSHV Praveen K Paladugu
2025-11-17 23:45   ` Stanislav Kinsburskii
2025-11-20 22:55     ` Praveen Paladugu
2025-11-18 15:53   ` kernel test robot

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