]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Fix hypervisor address symbolization
authorKalesh Singh <kaleshsingh@google.com>
Fri, 15 Jul 2022 23:58:24 +0000 (16:58 -0700)
committerMarc Zyngier <maz@kernel.org>
Sun, 17 Jul 2022 10:43:40 +0000 (11:43 +0100)
commit1c3c6b166390b8bcb6cf8843838014f4549e7479
tree31a349c6e46246a8a093109457e23c95d557f6d4
parent05d276e4a9ebfa67c9ba12c0b48fd6bb52a5962d
KVM: arm64: Fix hypervisor address symbolization

With CONFIG_RANDOMIZE_BASE=y vmlinux addresses will resolve incorrectly
from kallsyms. Fix this by adding the KASLR offset before printing the
symbols.

Fixes: 20938109f70e ("KVM: arm64: Symbolize the nVHE HYP addresses")
Reported-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220715235824.2549012-1-kaleshsingh@google.com
arch/arm64/kvm/handle_exit.c