Searched refs:hvp (Results 1 – 4 of 4) sorted by relevance
| /linux/arch/x86/hyperv/ |
| H A D | hv_init.c | 121 struct hv_vp_assist_page **hvp; in hv_cpu_init() local 131 hvp = &hv_vp_assist_page[cpu]; in hv_cpu_init() 138 *hvp = memremap(msr.pfn << HV_X64_MSR_VP_ASSIST_PAGE_ADDRESS_SHIFT, in hv_cpu_init() 149 if (!*hvp) { in hv_cpu_init() 150 *hvp = __vmalloc(PAGE_SIZE, GFP_KERNEL | __GFP_ZERO); in hv_cpu_init() 158 if (*hvp && !ms_hyperv.paravisor_present && hv_isolation_type_snp()) { in hv_cpu_init() 159 WARN_ON_ONCE(set_memory_decrypted((unsigned long)(*hvp), 1)); in hv_cpu_init() 160 memset(*hvp, 0, PAGE_SIZE); in hv_cpu_init() 164 if (*hvp) in hv_cpu_init() 165 msr.pfn = vmalloc_to_pfn(*hvp); in hv_cpu_init() [all …]
|
| H A D | hv_vtl.c | 271 struct hv_vp_assist_page *hvp; in mshv_vtl_return_call() local 273 hvp = hv_vp_assist_page[smp_processor_id()]; in mshv_vtl_return_call() 274 hvp->vtl_ret_x64rax = vtl0->rax; in mshv_vtl_return_call() 275 hvp->vtl_ret_x64rcx = vtl0->rcx; in mshv_vtl_return_call()
|
| H A D | hv_apic.c | 96 struct hv_vp_assist_page *hvp = hv_vp_assist_page[smp_processor_id()]; in hv_apic_eoi_write() local 98 if (hvp && (xchg(&hvp->apic_assist, 0) & 0x1)) in hv_apic_eoi_write()
|
| /linux/drivers/hv/ |
| H A D | mshv_vtl_main.c | 606 struct hv_vp_assist_page *hvp; in mshv_vtl_return() local 608 hvp = hv_vp_assist_page[smp_processor_id()]; in mshv_vtl_return() 622 memcpy(hvp->vtl_ret_actions, in mshv_vtl_return() 624 min_t(u32, offset, sizeof(hvp->vtl_ret_actions))); in mshv_vtl_return() 658 struct hv_vp_assist_page *hvp; in mshv_vtl_ioctl_return_to_lower_vtl() local 679 hvp = hv_vp_assist_page[smp_processor_id()]; in mshv_vtl_ioctl_return_to_lower_vtl() 681 switch (hvp->vtl_entry_reason) { in mshv_vtl_ioctl_return_to_lower_vtl() 690 memcpy(mshv_vtl_this_run()->exit_message, hvp->intercept_message, in mshv_vtl_ioctl_return_to_lower_vtl() 691 sizeof(hvp->intercept_message)); in mshv_vtl_ioctl_return_to_lower_vtl() 695 panic("unknown entry reason: %d", hvp->vtl_entry_reason); in mshv_vtl_ioctl_return_to_lower_vtl()
|