diff options
| author | Santosh Shilimkar <[email protected]> | 2013-11-19 19:59:12 +0000 |
|---|---|---|
| committer | Christoffer Dall <[email protected]> | 2013-12-11 17:49:31 +0000 |
| commit | 4fda342cc7f577599c53fd27b99c953c7b1da18a (patch) | |
| tree | c28226f8b534634775f22b821a2d8cbb5996761e /arch/arm/kvm/psci.c | |
| parent | Merge tag 'kvm-s390-20131128' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff) | |
| download | kernel-4fda342cc7f577599c53fd27b99c953c7b1da18a.tar.gz kernel-4fda342cc7f577599c53fd27b99c953c7b1da18a.zip | |
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 <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: Catalin Marinas <[email protected]>
Signed-off-by: Santosh Shilimkar <[email protected]>
Signed-off-by: Christoffer Dall <[email protected]>
Diffstat (limited to 'arch/arm/kvm/psci.c')
0 files changed, 0 insertions, 0 deletions
