]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/hyperv: move stimer cleanup to hv_machine_shutdown()
authorJork Loeser <jloeser@linux.microsoft.com>
Wed, 8 Apr 2026 01:36:39 +0000 (18:36 -0700)
committerWei Liu <wei.liu@kernel.org>
Wed, 22 Apr 2026 06:23:25 +0000 (06:23 +0000)
commitf7ce370b525a02127527b0f54ee877413705a709
treee546045592fa165758c4b3ff7e62a5fb51f93d23
parent3c42b33433796b73ddecd8f60bda419b1648d997
x86/hyperv: move stimer cleanup to hv_machine_shutdown()

Move hv_stimer_global_cleanup() from vmbus's hv_kexec_handler() to
hv_machine_shutdown() in the platform code. This ensures stimer cleanup
happens before the vmbus unload, which is required for root partition
kexec to work correctly.

Co-developed-by: Anirudh Rayabharam <anrayabh@linux.microsoft.com>
Signed-off-by: Anirudh Rayabharam <anrayabh@linux.microsoft.com>
Signed-off-by: Jork Loeser <jloeser@linux.microsoft.com>
Reviewed-by: Stanislav Kinsburskii <skinsburskii@linux.microsoft.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
arch/x86/kernel/cpu/mshyperv.c
drivers/hv/vmbus_drv.c