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;
53 unsigned long low = (unsigned long)stacktrace_info->stack_base;
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;
108 * Convert a KVN nVHE HYP frame record address to a kernel VA
121 if (!kvm_nvhe_stack_kern_record_va(&state->fp))
122 return -EINVAL;
133 if (!consume_entry(cookie, state->pc))
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);
166 kvm_err("---[ end nVHE call trace ]---\n");
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);
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.