From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967181AbcAZRpK (ORCPT ); Tue, 26 Jan 2016 12:45:10 -0500 Received: from foss.arm.com ([217.140.101.70]:47281 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932586AbcAZRpI (ORCPT ); Tue, 26 Jan 2016 12:45:08 -0500 Subject: Re: [PATCH v4 05/22] arm64: kvm: deal with kernel symbols outside of linear mapping To: Ard Biesheuvel , linux-arm-kernel@lists.infradead.org, kernel-hardening@lists.openwall.com, will.deacon@arm.com, catalin.marinas@arm.com, mark.rutland@arm.com, leif.lindholm@linaro.org, keescook@chromium.org, linux-kernel@vger.kernel.org References: <1453828249-14467-1-git-send-email-ard.biesheuvel@linaro.org> <1453828249-14467-6-git-send-email-ard.biesheuvel@linaro.org> Cc: stuart.yoder@freescale.com, bhupesh.sharma@freescale.com, arnd@arndb.de, christoffer.dall@linaro.org, labbott@fedoraproject.org, matt@codeblueprint.co.uk From: Marc Zyngier Organization: ARM Ltd Message-ID: <56A7B0A0.3020003@arm.com> Date: Tue, 26 Jan 2016 17:45:04 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 MIME-Version: 1.0 In-Reply-To: <1453828249-14467-6-git-send-email-ard.biesheuvel@linaro.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26/01/16 17:10, Ard Biesheuvel wrote: > KVM on arm64 uses a fixed offset between the linear mapping at EL1 and > the HYP mapping at EL2. Before we can move the kernel virtual mapping > out of the linear mapping, we have to make sure that references to kernel > symbols that are accessed via the HYP mapping are translated to their > linear equivalent. > > Reviewed-by: Mark Rutland > Signed-off-by: Ard Biesheuvel Acked-by: Marc Zyngier M. -- Jazz is not dead. It just smells funny... From mboxrd@z Thu Jan 1 00:00:00 1970 From: marc.zyngier@arm.com (Marc Zyngier) Date: Tue, 26 Jan 2016 17:45:04 +0000 Subject: [PATCH v4 05/22] arm64: kvm: deal with kernel symbols outside of linear mapping In-Reply-To: <1453828249-14467-6-git-send-email-ard.biesheuvel@linaro.org> References: <1453828249-14467-1-git-send-email-ard.biesheuvel@linaro.org> <1453828249-14467-6-git-send-email-ard.biesheuvel@linaro.org> Message-ID: <56A7B0A0.3020003@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 26/01/16 17:10, Ard Biesheuvel wrote: > KVM on arm64 uses a fixed offset between the linear mapping at EL1 and > the HYP mapping at EL2. Before we can move the kernel virtual mapping > out of the linear mapping, we have to make sure that references to kernel > symbols that are accessed via the HYP mapping are translated to their > linear equivalent. > > Reviewed-by: Mark Rutland > Signed-off-by: Ard Biesheuvel Acked-by: Marc Zyngier M. -- Jazz is not dead. It just smells funny... From mboxrd@z Thu Jan 1 00:00:00 1970 Reply-To: kernel-hardening@lists.openwall.com References: <1453828249-14467-1-git-send-email-ard.biesheuvel@linaro.org> <1453828249-14467-6-git-send-email-ard.biesheuvel@linaro.org> From: Marc Zyngier Message-ID: <56A7B0A0.3020003@arm.com> Date: Tue, 26 Jan 2016 17:45:04 +0000 MIME-Version: 1.0 In-Reply-To: <1453828249-14467-6-git-send-email-ard.biesheuvel@linaro.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: [kernel-hardening] Re: [PATCH v4 05/22] arm64: kvm: deal with kernel symbols outside of linear mapping To: Ard Biesheuvel , linux-arm-kernel@lists.infradead.org, kernel-hardening@lists.openwall.com, will.deacon@arm.com, catalin.marinas@arm.com, mark.rutland@arm.com, leif.lindholm@linaro.org, keescook@chromium.org, linux-kernel@vger.kernel.org Cc: stuart.yoder@freescale.com, bhupesh.sharma@freescale.com, arnd@arndb.de, christoffer.dall@linaro.org, labbott@fedoraproject.org, matt@codeblueprint.co.uk List-ID: On 26/01/16 17:10, Ard Biesheuvel wrote: > KVM on arm64 uses a fixed offset between the linear mapping at EL1 and > the HYP mapping at EL2. Before we can move the kernel virtual mapping > out of the linear mapping, we have to make sure that references to kernel > symbols that are accessed via the HYP mapping are translated to their > linear equivalent. > > Reviewed-by: Mark Rutland > Signed-off-by: Ard Biesheuvel Acked-by: Marc Zyngier M. -- Jazz is not dead. It just smells funny...