[PATCH v2] arm/arm64: kvm: Use virt_to_idmap instead of virt_to_phys for idmap mappings

Santosh Shilimkar santosh.shilimkar at ti.com
Tue Nov 19 15:00:03 EST 2013


On Tuesday 19 November 2013 02:50 PM, Christoffer Dall wrote:
> On 19 November 2013 10:58, Santosh Shilimkar <santosh.shilimkar at ti.com> wrote:
>> 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.
> 
> sending this to the kvmarm list would be nice.
> 
I missed that accidentally. Just resent it to kvmarm list.

Regards,
Santosh




More information about the linux-arm-kernel mailing list