Lines Matching +full:address +full:- +full:translation
1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * 1) Non-protected nVHE mode - the host can directly access the
12 * 2) pKVM (protected nVHE) mode - the host cannot directly access
28 unsigned long low = (unsigned long)stacktrace_info->overflow_stack_base; in stackinfo_get_overflow()
52 unsigned long low = (unsigned long)stacktrace_info->stack_base; in stackinfo_get_hyp()
73 * kvm_nvhe_stack_kern_va - Convert KVM nVHE HYP stack addresses to a kernel VAs
76 * allow for guard pages below the stack. Consequently, the fixed offset address
77 * translation macros won't work here.
102 *addr = *addr - stack_hyp.low + stack_kern.low; in kvm_nvhe_stack_kern_va()
107 * Convert a KVN nVHE HYP frame record address to a kernel VA
120 if (!kvm_nvhe_stack_kern_record_va(&state->fp)) in unwind_next()
121 return -EINVAL; in unwind_next()
132 if (!consume_entry(cookie, state->pc)) in unwind()
141 * kvm_nvhe_dump_backtrace_entry - Symbolize and print an nVHE backtrace entry
143 * @arg : the hypervisor offset, used for address translation
148 unsigned long va_mask = GENMASK_ULL(vabits_actual - 1, 0); in kvm_nvhe_dump_backtrace_entry()
165 kvm_err("---[ end nVHE call trace ]---\n"); in kvm_nvhe_dump_backtrace_end()
169 * hyp_dump_backtrace - Dump the non-protected nVHE backtrace.
171 * @hyp_offset: hypervisor offset, used for address translation.
173 * The host can directly access HYP stack pages in non-protected
192 kvm_nvhe_unwind_init(&state, stacktrace_info->fp, stacktrace_info->pc); in hyp_dump_backtrace()
204 * pkvm_dump_backtrace - Dump the protected nVHE HYP backtrace.
206 * @hyp_offset: hypervisor offset, used for address translation.
235 * kvm_nvhe_dump_backtrace - Dump KVM nVHE hypervisor backtrace.
237 * @hyp_offset: hypervisor offset, used for address translation.