]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/hyperv: Move hv crash init after hypercall pg setup
authorMukesh R <mrathor@linux.microsoft.com>
Wed, 4 Feb 2026 01:58:00 +0000 (17:58 -0800)
committerSasha Levin <sashal@kernel.org>
Wed, 4 Mar 2026 12:20:46 +0000 (07:20 -0500)
commit70aa07eee32dbd5641a8b86bad69e587684ad08e
treed3731218091dba90bba16ad6480621615e9ffbac
parent87661e002e5d9824c07c478599ba33a47ecdf068
x86/hyperv: Move hv crash init after hypercall pg setup

[ Upstream commit c3a6ae7ea2d3f507cbddb5818ccc65b9d84d6dc7 ]

hv_root_crash_init() is not setting up the hypervisor crash collection
for baremetal cases because when it's called, hypervisor page is not
setup.

Fix is simple, just move the crash init call after the hypercall
page setup.

Signed-off-by: Mukesh Rathor <mrathor@linux.microsoft.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/hyperv/hv_init.c