]> 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)
commit2e95a9f0466ecddb1b710b80b6c6d6daea4701e1
tree31a349c6e46246a8a093109457e23c95d557f6d4
parent52345b9e93bb90792e31748dc4586ffe9b050574
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: 182cdbef2429 ("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