Re: [PATCH v3] hyperv: root partition faults writing to VP ASSIST MSR PAGE
From: Wei Liu <wei.liu@kernel.org>
Date: 2021-07-27 17:51:38
Also in:
lkml
From: Wei Liu <wei.liu@kernel.org>
Date: 2021-07-27 17:51:38
Also in:
lkml
On Tue, Jul 27, 2021 at 04:10:44PM +0530, Praveen Kumar wrote: [...]
@@ -170,9 +185,21 @@ static int hv_cpu_die(unsigned int cpu) hv_common_cpu_die(cpu); - if (hv_vp_assist_page && hv_vp_assist_page[cpu]) + if (hv_vp_assist_page && hv_vp_assist_page[cpu]) { wrmsrl(HV_X64_MSR_VP_ASSIST_PAGE, 0);
The content of the MSR should be preserved; otherwise you hit the same fault for root kernel. Wei.