Re: [PATCH v6 2/3] hyperv: Use reboot notifier to configure sleep state

From: Nuno Das Neves

Date: Wed Dec 03 2025 - 18:02:16 EST


On 11/26/2025 1:49 PM, Praveen K Paladugu wrote:
> Configure sleep state information in mshv hypervisor. This sleep state
> information from ACPI will be used by hypervisor to poweroff the host.
>
> Signed-off-by: Praveen K Paladugu <prapal@xxxxxxxxxxxxxxxxxxx>
> Co-developed-by: Anatol Belski <anbelski@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Anatol Belski <anbelski@xxxxxxxxxxxxxxxxxxx>
> Reviewed-by: Easwar Hariharan <easwar.hariharan@xxxxxxxxxxxxxxxxxxx>
> ---
> arch/x86/hyperv/hv_init.c | 1 +
> arch/x86/include/asm/mshyperv.h | 2 +
> drivers/hv/mshv_common.c | 80 +++++++++++++++++++++++++++++++++
> 3 files changed, 83 insertions(+)
>
As Michael mentioned, please fix the bug in the Makefile, and clean up
the unnecessary function stubs. Otherwise, it looks good to me.
Reviewed-by: Nuno Das Neves <nunodasneves@xxxxxxxxxxxxxxxxxxx>