From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Zyngier Subject: Re: [PATCH v2 27/36] KVM: arm64: Move common VHE/non-VHE trap config in separate functions Date: Mon, 11 Dec 2017 13:53:00 +0000 Message-ID: <838f808d-c367-be79-80ec-2fce2b6d55db@arm.com> References: <20171207170630.592-1-christoffer.dall@linaro.org> <20171207170630.592-28-christoffer.dall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, Shih-Wei Li , Andrew Jones To: Christoffer Dall , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org Return-path: Received: from foss.arm.com ([217.140.101.70]:57812 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752750AbdLKNxD (ORCPT ); Mon, 11 Dec 2017 08:53:03 -0500 In-Reply-To: <20171207170630.592-28-christoffer.dall@linaro.org> Content-Language: en-GB Sender: kvm-owner@vger.kernel.org List-ID: On 07/12/17 17:06, Christoffer Dall wrote: > As we are about to be more lazy with some of the trap configuration > register read/writes for VHE systems, move the logic that is currently > shared between VHE and non-VHE into a separate function which can be > called from either the world-switch path or from vcpu_load/vcpu_put. > > Signed-off-by: Christoffer Dall Reviewed-by: Marc Zyngier M. -- Jazz is not dead. It just smells funny...