Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp504371pxf; Thu, 11 Mar 2021 08:23:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJysrFGnATROV8qPKUaf0rcJm072KMge9/y6RL9dhK8tYeXDShgo33PvRXtISLB4B9JXlVrz X-Received: by 2002:a05:6402:30a5:: with SMTP id df5mr9519237edb.24.1615479839501; Thu, 11 Mar 2021 08:23:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615479839; cv=none; d=google.com; s=arc-20160816; b=KM3Ro3+aWBUZM3frbvkwjrkkbhn8noTZ4/lHIDwB3SzOgl44gS+AghwPW5v72oktY0 RMXW8CGHZHEsnswF5MQ7ntpFraQLpCB09A1sd166ZOYO2qcMC3Nrv5tF9cN9yngsLAyi Z3XQwqGk4MvlmTpHKM1AAWpKxD35cfKCIkHyDE0CbdMZmj6pR6h4/BT5kmxiu5lhXoZB 9MXzxRggNmh390zjCe1RkFuZs4hvqmpNb/j8ULyfwWHPkfcRyT5UMeoZMcMrR/3nuAbe fANF/GbTET1ZeeDmdiIkmZbGhEGe+GubLRzfMspKtNtpyuAmKUm49AVhHwy+I24F6lzd XLnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=MRGNTOwhf5bynNgcSC77IADFHfXNTlZi9cQF7STqOXc=; b=XscejVsrhjhtU64+hkoX0cpay3ux+8uIUvusA9JHqykv1rBLiCEOtR9doigjD/70L3 jCzLFs2aAIOBZf76q+aq9wUUuxdW3uANwiSys6+dcbh41W5eLk7ujThwxY7E+ixEv1Nb gVLr03ejCNVCsuOlkUhgIXFlV6COIrfUdXI7k1XdcPAqWU0Av3Gf3E0kq2n6TDETWVEa 7VQTmlpHEexmpyoLb/EaueItdwx8us8wgZEJ32bgcGGNWtbfN3brINllp4Xv3HYCb3KI qFh+B1kVOk9QgM2DqMcTpKs/xBbmdPkS+NMGkb7SPqTcL+RwrVcAIwMuvNdfZPRNcglP 22xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LMKLdG1n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d2si2083375edv.66.2021.03.11.08.23.36; Thu, 11 Mar 2021 08:23:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LMKLdG1n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234461AbhCKQWi (ORCPT + 99 others); Thu, 11 Mar 2021 11:22:38 -0500 Received: from mail.kernel.org ([198.145.29.99]:53112 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234172AbhCKQWI (ORCPT ); Thu, 11 Mar 2021 11:22:08 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id BEB776146B; Thu, 11 Mar 2021 16:22:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615479728; bh=1VYaodho3Fb2my+EoZ2QcmI2TzkSbTeXP60JfAHZD8E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LMKLdG1n8750gfq5NUbVfRcgOwLwtLSBp3+oVjApFw4OYSxxjnjWcqHa03ztA92Lz aIt3vMqS5PAIsqZ/1Tc5fgLYV01t5Qpa1vW/trKAd1UbcPQHhuHQQJyRhoOmHN+9FE CwQFfFya4qUmSQ+mjHGeeHKoSJNPNZJp3O2uOR+PJKFSW5ItcWOZBHoGHMEsX6krZu 7aA2bw3TkZPz3opFzfInaDpCUrGBjXnzjSRj6mBdmfms6NdwbP2xM1rlIivbNrhOnZ rIy1RttdU7npdm8PONdNhLosyN+ckCZnw1kWirSPCqXBI10DjY5YUnSEuezjQeLpze P3xanJ9ns49jw== Date: Thu, 11 Mar 2021 16:22:01 +0000 From: Will Deacon To: Quentin Perret Cc: catalin.marinas@arm.com, maz@kernel.org, james.morse@arm.com, julien.thierry.kdev@gmail.com, suzuki.poulose@arm.com, android-kvm@google.com, linux-kernel@vger.kernel.org, kernel-team@android.com, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, tabba@google.com, mark.rutland@arm.com, dbrazdil@google.com, mate.toth-pal@arm.com, seanjc@google.com, robh+dt@kernel.org, ardb@kernel.org Subject: Re: [PATCH v4 15/34] arm64: asm: Provide set_sctlr_el2 macro Message-ID: <20210311162201.GE31206@willie-the-truck> References: <20210310175751.3320106-1-qperret@google.com> <20210310175751.3320106-16-qperret@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210310175751.3320106-16-qperret@google.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 10, 2021 at 05:57:32PM +0000, Quentin Perret wrote: > We will soon need to turn the EL2 stage 1 MMU on and off in nVHE > protected mode, so refactor the set_sctlr_el1 macro to make it usable > for that purpose. > > Signed-off-by: Quentin Perret > --- > arch/arm64/include/asm/assembler.h | 14 +++++++++++--- > 1 file changed, 11 insertions(+), 3 deletions(-) Acked-by: Will Deacon Will