From mboxrd@z Thu Jan 1 00:00:00 1970 From: marc.zyngier@arm.com (Marc Zyngier) Date: Wed, 11 Dec 2013 10:01:45 +0000 Subject: [RESEND PATCH v2] arm/arm64: kvm: Use virt_to_idmap instead of virt_to_phys for idmap mappings In-Reply-To: <20131211002301.GD2871@cbox> References: <1384891152-15990-1-git-send-email-santosh.shilimkar@ti.com> <52A76F4D.3030803@ti.com> <20131211002301.GD2871@cbox> Message-ID: <52A83809.4080206@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 11/12/13 00:23, Christoffer Dall wrote: > On Tue, Dec 10, 2013 at 02:45:17PM -0500, Santosh Shilimkar wrote: >> Christoffer, >> >> On Tuesday 19 November 2013 02:59 PM, Santosh Shilimkar 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. >>> >>> Cc: Christoffer Dall >>> Cc: Marc Zyngier >>> Cc: Catalin Marinas >>> Signed-off-by: Santosh Shilimkar >>> --- >>> Update the earlier version as per Marc's suggestion >>> >> Have you picked this up for 3.14 ? >> > > Actually, I was waiting for Marc to ack this one. Marc? Acked-by: Marc Zyngier M. -- Jazz is not dead. It just smells funny...