Received: by 10.192.165.148 with SMTP id m20csp528377imm; Fri, 27 Apr 2018 03:15:32 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo94hz8NCcOB68LuFkrqxaL032BM9VA0dfFO2JRbOn6VyF9gnKeDqkTteMBZnucyLRyDXR+ X-Received: by 2002:a17:902:ac96:: with SMTP id h22-v6mr1754996plr.338.1524824132653; Fri, 27 Apr 2018 03:15:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524824132; cv=none; d=google.com; s=arc-20160816; b=sugnTCpvB+SZHHoQkWQHp3V9rD5b+FCkLXzI1SlUZwYrzYgTDE5Xhhi6m8fYsuBdqc zGtpI/I7GQSp0AHx0A9/Fkq1zHOL5FMR0W+KE4D380kGKChbzKIgTDAR/UG74JALPh7V 4woO8X+VJ9xDdTHoCLy1obTbTY8CV26moUPZf7n67Go4AU6r93OJfLbYXRaJ3DFH47dv D28+K1d8ZdhXN26XEFrx38FE5DV8QSeByXNxJysWlV4mdJ//UqdoNNYJ7RccQ8NZq2Kb wFAN8okDvI+7wfopEo1wFoo+PHWHGGWl6vMoeI42nmbBvZczHX4iSom9qnoFg2lyLl6A R2Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=8XvtedOS39UKqnW8amsoMohfpTdHZjxUdHmcTyEWnjY=; b=0JL1FxOQ++RK0wpmLMK/zEfG4jAlXOIo866cG75AsRnjXnglG9B3FPqxGifYvu0fkh OtikQd9wpt44HO/RHlKPosf6WPlH+f8D1i4Wc0sZdV93cuJbiBwHSAqTPXkX5dywuPYA jDIP1hd+P52aLQQZS1o8O59RvouepAYBoXbaOso5Bjc6KV4wHsUe+nppiF9jOZwQaBVD /HcFXUtWwexhWP7Mq8M50Opr0dSAVIzp7hqkEmXAeCsbalPaGq1Y+Xz6goOtFH/FS0c5 TUF0xiMIjidV0APSRf1BzwSKnNxsTm72mxq8Ki8q7euVmIuWMh24dJi3tH8xSYg+RaoE QH5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t15si990827pfa.170.2018.04.27.03.15.18; Fri, 27 Apr 2018 03:15:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932724AbeD0KNx (ORCPT + 99 others); Fri, 27 Apr 2018 06:13:53 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:37930 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757609AbeD0KNv (ORCPT ); Fri, 27 Apr 2018 06:13:51 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 52B4515AD; Fri, 27 Apr 2018 03:13:51 -0700 (PDT) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EFF463F487; Fri, 27 Apr 2018 03:13:48 -0700 (PDT) Date: Fri, 27 Apr 2018 11:13:46 +0100 From: Mark Rutland To: Christoffer Dall Cc: linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, drjones@redhat.com, arnd@arndb.de, suzuki.poulose@arm.com, marc.zyngier@arm.com, catalin.marinas@arm.com, awallis@codeaurora.org, kernel-hardening@lists.openwall.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, ramana.radhakrishnan@arm.com, kvmarm@lists.cs.columbia.edu Subject: Re: [PATCHv3 02/11] arm64/kvm: consistently handle host HCR_EL2 flags Message-ID: <20180427101346.nabhblz3csp3cy36@lakrids.cambridge.arm.com> References: <20180417183735.56985-1-mark.rutland@arm.com> <20180417183735.56985-3-mark.rutland@arm.com> <20180427095139.GH13249@C02W217FHV2R.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180427095139.GH13249@C02W217FHV2R.local> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 27, 2018 at 11:51:39AM +0200, Christoffer Dall wrote: > On Tue, Apr 17, 2018 at 07:37:26PM +0100, Mark Rutland wrote: > > In KVM we define the configuration of HCR_EL2 for a VHE HOST in > > HCR_HOST_VHE_FLAGS, but we don't ahve a similar definition for the > > nit: have > > > non-VHE host flags, and open-code HCR_RW. Further, in head.S we > > open-code the flags for VHE and non-VHE configurations. > > > > In future, we're going to want to configure more flags for the host, so > > lets add a HCR_HOST_NVHE_FLAGS defintion, adn consistently use both > > nit: and > Sorry about those; fixed up now. [...] > Reviewed-by: Christoffer Dall Cheers! Mark.