diff options
author | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2013-11-19 19:59:12 (GMT) |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2013-12-11 17:49:31 (GMT) |
commit | 4fda342cc7f577599c53fd27b99c953c7b1da18a (patch) | |
tree | c28226f8b534634775f22b821a2d8cbb5996761e /Documentation/SubmittingDrivers | |
parent | d6d63b51fe3bfea0cf596993afa480b0b3b02c32 (diff) | |
download | linux-4fda342cc7f577599c53fd27b99c953c7b1da18a.tar.xz |
arm/arm64: kvm: Use virt_to_idmap instead of virt_to_phys for idmap mappings
KVM initialisation fails on architectures implementing virt_to_idmap()
because virt_to_phys() on such architectures won't fetch you the correct
idmap page.
So update the KVM ARM code to use the virt_to_idmap() to fix the issue.
Since the KVM code is shared between arm and arm64, we create
kvm_virt_to_phys() and handle the redirection in respective headers.
Cc: Christoffer Dall <christoffer.dall@linaro.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'Documentation/SubmittingDrivers')
0 files changed, 0 insertions, 0 deletions