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
29 unsigned long low = (unsigned long)stacktrace_info->overflow_stack_base; in stackinfo_get_overflow()
53 unsigned long low = (unsigned long)stacktrace_info->stack_base; in stackinfo_get_hyp()
74 * kvm_nvhe_stack_kern_va - Convert KVM nVHE HYP stack addresses to a kernel VAs
77 * allow for guard pages below the stack. Consequently, the fixed offset address
78 * translation macros won't work here.
103 *addr = *addr - stack_hyp.low + stack_kern.low; in kvm_nvhe_stack_kern_va()
108 * Convert a KVN nVHE HYP frame record address to a kernel VA
121 if (!kvm_nvhe_stack_kern_record_va(&state->fp)) in unwind_next()
122 return -EINVAL; in unwind_next()
133 if (!consume_entry(cookie, state->pc)) in unwind()
142 * kvm_nvhe_dump_backtrace_entry - Symbolize and print an nVHE backtrace entry
144 * @arg : the hypervisor offset, used for address translation
149 unsigned long va_mask = GENMASK_ULL(__hyp_va_bits - 1, 0); in kvm_nvhe_dump_backtrace_entry()
166 kvm_err("---[ end nVHE call trace ]---\n"); in kvm_nvhe_dump_backtrace_end()
170 * hyp_dump_backtrace - Dump the non-protected nVHE backtrace.
172 * @hyp_offset: hypervisor offset, used for address translation.
174 * The host can directly access HYP stack pages in non-protected
193 kvm_nvhe_unwind_init(&state, stacktrace_info->fp, stacktrace_info->pc); in hyp_dump_backtrace()
205 * pkvm_dump_backtrace - Dump the protected nVHE HYP backtrace.
207 * @hyp_offset: hypervisor offset, used for address translation.
236 * kvm_nvhe_dump_backtrace - Dump KVM nVHE hypervisor backtrace.
238 * @hyp_offset: hypervisor offset, used for address translation.