Home
last modified time | relevance | path

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

/linux-6.15/arch/x86/hyperv/
H A Dhv_init.c82 struct hv_vp_assist_page **hvp; in hv_cpu_init() local
92 hvp = &hv_vp_assist_page[cpu]; in hv_cpu_init()
99 *hvp = memremap(msr.pfn << HV_X64_MSR_VP_ASSIST_PAGE_ADDRESS_SHIFT, in hv_cpu_init()
110 if (!*hvp) { in hv_cpu_init()
111 *hvp = __vmalloc(PAGE_SIZE, GFP_KERNEL | __GFP_ZERO); in hv_cpu_init()
119 if (*hvp && !ms_hyperv.paravisor_present && hv_isolation_type_snp()) { in hv_cpu_init()
120 WARN_ON_ONCE(set_memory_decrypted((unsigned long)(*hvp), 1)); in hv_cpu_init()
121 memset(*hvp, 0, PAGE_SIZE); in hv_cpu_init()
125 if (*hvp) in hv_cpu_init()
126 msr.pfn = vmalloc_to_pfn(*hvp); in hv_cpu_init()
[all …]
H A Dhv_apic.c90 struct hv_vp_assist_page *hvp = hv_vp_assist_page[smp_processor_id()]; in hv_apic_eoi_write() local
92 if (hvp && (xchg(&hvp->apic_assist, 0) & 0x1)) in hv_apic_eoi_write()