diff options
author | Kalesh Singh <[email protected]> | 2022-07-26 00:37:37 -0700 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2022-07-26 10:48:32 +0100 |
commit | 5b1b08619f50422c3e43d1fd7af257595a9e4a67 (patch) | |
tree | 52d759cc999a69530c2efec5e64b9d6613e62fe5 /net/lapb/lapb_subr.c | |
parent | be63c647fd28d25484257f5f36a008db7d99991d (diff) |
arm64: stacktrace: Handle frame pointer from different address spaces
The unwinder code is made reusable so that it can be used to
unwind various types of stacks. One usecase is unwinding the
nVHE hyp stack from the host (EL1) in non-protected mode. This
means that the unwinder must be able to translate HYP stack
addresses to kernel addresses.
Add a callback (stack_trace_translate_fp_fn) to allow specifying
the translation function.
Signed-off-by: Kalesh Singh <[email protected]>
Reviewed-by: Fuad Tabba <[email protected]>
Tested-by: Fuad Tabba <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions