Home
last modified time | relevance | path

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

/linux/arch/x86/hyperv/
H A Dhv_init.c54 u64 ghcb_gpa; in hyperv_init_ghcb() local
69 rdmsrl(MSR_AMD64_SEV_ES_GHCB, ghcb_gpa); in hyperv_init_ghcb()
72 ghcb_gpa &= ~ms_hyperv.shared_gpa_boundary; in hyperv_init_ghcb()
73 ghcb_va = (void *)ioremap_cache(ghcb_gpa, HV_HYP_PAGE_SIZE); in hyperv_init_ghcb()
H A Divm.c158 u64 ghcb_gpa; in hv_ghcb_negotiate_protocol() local
162 ghcb_gpa = rd_ghcb_msr(); in hv_ghcb_negotiate_protocol()
180 wr_ghcb_msr(ghcb_gpa); in hv_ghcb_negotiate_protocol()
/linux/arch/x86/kvm/svm/
H A Dsev.c2045 dst_svm->vmcb->control.ghcb_gpa = src_svm->vmcb->control.ghcb_gpa; in sev_migrate_from()
2050 src_svm->vmcb->control.ghcb_gpa = INVALID_PAGE; in sev_migrate_from()
3212 pr_err("GHCB (GPA=%016llx):\n", svm->vmcb->control.ghcb_gpa); in dump_ghcb()
3522 if ((scratch_gpa_beg & PAGE_MASK) == control->ghcb_gpa) { in setup_vmgexit_scratch()
3524 ghcb_scratch_beg = control->ghcb_gpa + in setup_vmgexit_scratch()
3526 ghcb_scratch_end = control->ghcb_gpa + in setup_vmgexit_scratch()
3541 scratch_va += (scratch_gpa_beg - control->ghcb_gpa); in setup_vmgexit_scratch()
3589 svm->vmcb->control.ghcb_gpa &= ~(mask << pos); in set_ghcb_msr_bits()
3590 svm->vmcb->control.ghcb_gpa |= (value & mask) << pos; in set_ghcb_msr_bits()
3595 return (svm->vmcb->control.ghcb_gpa >> pos) & mask; in get_ghcb_msr_bits()
[all …]
H A Dsvm.c3407 pr_err("%-20s%016llx\n", "ghcb:", control->ghcb_gpa); in dump_vmcb()
/linux/arch/x86/kvm/
H A Dtrace.h1803 TP_PROTO(unsigned int vcpu_id, u64 ghcb_gpa),
1804 TP_ARGS(vcpu_id, ghcb_gpa),
1808 __field(u64, ghcb_gpa)
1813 __entry->ghcb_gpa = ghcb_gpa;
1817 __entry->vcpu_id, __entry->ghcb_gpa)
1824 TP_PROTO(unsigned int vcpu_id, u64 ghcb_gpa, int result),
1825 TP_ARGS(vcpu_id, ghcb_gpa, result),
1829 __field(u64, ghcb_gpa)
1835 __entry->ghcb_gpa = ghcb_gpa;
1840 __entry->vcpu_id, __entry->ghcb_gpa, __entry->result)
/linux/arch/x86/include/asm/
H A Dsvm.h145 u64 ghcb_gpa; member