Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/virt/svm/
Dsev.c446 static int adjust_direct_map(u64 pfn, int rmp_level) in adjust_direct_map() argument
460 if (WARN_ON_ONCE(rmp_level > PG_LEVEL_2M)) in adjust_direct_map()
466 if (rmp_level == PG_LEVEL_2M && in adjust_direct_map()
476 if (rmp_level == PG_LEVEL_2M) in adjust_direct_map()
486 npages = page_level_size(rmp_level) / PAGE_SIZE; in adjust_direct_map()
/linux-6.12.1/arch/x86/kvm/svm/
Dsev.c4693 int order, rmp_level, ret; in sev_handle_rmp_fault() local
4727 ret = snp_lookup_rmpentry(pfn, &assigned, &rmp_level); in sev_handle_rmp_fault()
4756 if (rmp_level == PG_LEVEL_4K) in sev_handle_rmp_fault()
4766 if (!snp_lookup_rmpentry(pfn, &assigned, &rmp_level) && in sev_handle_rmp_fault()
4767 assigned && rmp_level == PG_LEVEL_4K) in sev_handle_rmp_fault()
4776 trace_kvm_rmp_fault(vcpu, gpa, pfn, error_code, rmp_level, ret); in sev_handle_rmp_fault()
4786 int ret, rmp_level; in is_pfn_range_shared() local
4789 ret = snp_lookup_rmpentry(pfn, &assigned, &rmp_level); in is_pfn_range_shared()
4792 pfn, start, end, rmp_level, ret); in is_pfn_range_shared()
4798 __func__, pfn, start, end, rmp_level); in is_pfn_range_shared()
[all …]
/linux-6.12.1/arch/x86/kvm/
Dtrace.h1848 int rmp_level, int psmash_ret),
1849 TP_ARGS(vcpu, gpa, pfn, error_code, rmp_level, psmash_ret),
1856 __field(int, rmp_level)
1865 __entry->rmp_level = rmp_level;
1871 __entry->error_code, __entry->rmp_level, __entry->psmash_ret)