Home
last modified time | relevance | path

Searched hist:"97 cbd2fc0257c6af7036a9a6415ca8ad43535d6b" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dhyp-init.Sdiff 97cbd2fc0257c6af7036a9a6415ca8ad43535d6b Tue Jan 05 12:05:39 CST 2021 David Brazdil <dbrazdil@google.com> KVM: arm64: Fix constant-pool users in hyp

Hyp code uses absolute addressing to obtain a kimg VA of a small number
of kernel symbols. Since the kernel now converts constant pool addresses
to hyp VAs, this trick does not work anymore.

Change the helpers to convert from hyp VA back to kimg VA or PA, as
needed and rework the callers accordingly.

Signed-off-by: David Brazdil <dbrazdil@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210105180541.65031-7-dbrazdil@google.com
H A Dhost.Sdiff 97cbd2fc0257c6af7036a9a6415ca8ad43535d6b Tue Jan 05 12:05:39 CST 2021 David Brazdil <dbrazdil@google.com> KVM: arm64: Fix constant-pool users in hyp

Hyp code uses absolute addressing to obtain a kimg VA of a small number
of kernel symbols. Since the kernel now converts constant pool addresses
to hyp VAs, this trick does not work anymore.

Change the helpers to convert from hyp VA back to kimg VA or PA, as
needed and rework the callers accordingly.

Signed-off-by: David Brazdil <dbrazdil@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210105180541.65031-7-dbrazdil@google.com
/openbmc/linux/arch/arm64/include/asm/
H A Dkvm_mmu.hdiff 97cbd2fc0257c6af7036a9a6415ca8ad43535d6b Tue Jan 05 12:05:39 CST 2021 David Brazdil <dbrazdil@google.com> KVM: arm64: Fix constant-pool users in hyp

Hyp code uses absolute addressing to obtain a kimg VA of a small number
of kernel symbols. Since the kernel now converts constant pool addresses
to hyp VAs, this trick does not work anymore.

Change the helpers to convert from hyp VA back to kimg VA or PA, as
needed and rework the callers accordingly.

Signed-off-by: David Brazdil <dbrazdil@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210105180541.65031-7-dbrazdil@google.com