Home
last modified time | relevance | path

Searched refs:hypercall_msr (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/arch/x86/hyperv/
Dhv_init.c251 union hv_x64_msr_hypercall_contents hypercall_msr; in hyperv_init() local
309 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_init()
310 hypercall_msr.enable = 1; in hyperv_init()
311 hypercall_msr.guest_physical_address = vmalloc_to_pfn(hv_hypercall_pg); in hyperv_init()
312 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_init()
335 union hv_x64_msr_hypercall_contents hypercall_msr; in hyperv_cleanup() local
348 hypercall_msr.as_uint64 = 0; in hyperv_cleanup()
349 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_cleanup()
352 hypercall_msr.as_uint64 = 0; in hyperv_cleanup()
353 wrmsrl(HV_X64_MSR_REFERENCE_TSC, hypercall_msr.as_uint64); in hyperv_cleanup()
[all …]