Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp366868rwd; Tue, 16 May 2023 02:05:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4XacELe4rbAcoD2vucnn9b4V0XXOm4HeF9Ev+DRVabyBtCqYFXt/qlubGYmN8vdnjBaLpf X-Received: by 2002:a17:90b:390e:b0:24d:fcd2:bdad with SMTP id ob14-20020a17090b390e00b0024dfcd2bdadmr34880969pjb.35.1684227938497; Tue, 16 May 2023 02:05:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684227938; cv=none; d=google.com; s=arc-20160816; b=Y/LRXA4LQNWXxFFgszKnVpXVXEXMPKMZtPXVlTKq9W4NHdOoHlMFbGFo4Vt/AX66Qj BDXiP1lDiUJaBYd2iQedQlSUNvHmG3zFGMHxR59q4vjkx0G3jvi1o9ONC41wVK/WjHAA BQpBSoRxUKp06CSWcWj1kdVXpu3PHb/b+yyRdOocvx9fH4KKgImxK/M2kjINXVEoq3pb JzCNlWXhn/34EeAbwwvV0zpdCzZX9IcXX/UgMouDxu1qFuO1ZWubR1Pok0SxAE4gfOkT YK/xtMezogkiIavIFTypiVLIbSWQGFtWeQjueKLMxmnUTNgRcuAS3T5kiLjrNEw9jwsf n3Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature; bh=Gk9RoNM0fxB/K2+cyB7/KyWoql7N1R94xKPapydak3U=; b=SDso+MT9Wc4GVZDLqfClF/C13gj611zNnLWr7Y1wwOxsDGe5fdTuOFh3b+R6fNlnNj cnR4bajgakrRirOUQ1DwqByKIdkrqHOvW/xsI8xRLnNrMUy7PoLKolna6WLX09SOl7My Xq9UciNMnywIjRfGr7Yn/KpAZFwH67ICcBBnMU2ytnOBUD9nviXcRL1brGsqS7F/qwtx e4gjPdi88RmdqJJLUJms4l3gniIKB7psPgdz3IadHy78dyV0JlYY/vOa98LHymAPSSh8 lhE85/SRBWrcII1UeeVTuMusJvI4N+MVVjFs43GuBWTw7CK1RnubKJ6+HBrDY+3ZAgd9 yX9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DOmg8iAQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d12-20020a17090ab30c00b0024664356ef7si1340177pjr.152.2023.05.16.02.05.20; Tue, 16 May 2023 02:05:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DOmg8iAQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S230517AbjEPIxs (ORCPT + 99 others); Tue, 16 May 2023 04:53:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230330AbjEPIxr (ORCPT ); Tue, 16 May 2023 04:53:47 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6493B8 for ; Tue, 16 May 2023 01:53:46 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 527A56366B for ; Tue, 16 May 2023 08:53:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87D30C4339B; Tue, 16 May 2023 08:53:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684227225; bh=rNYZOhEk7g+B6g+R0ffXoeNDWLgHKddzy6beYn6meic=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=DOmg8iAQaesk2a4c2PPFaI5Ax3YrHvYGQvywA//XA6zpI0A2fFEsFaEijM5ihkZS8 kR2ALckmepS5I3+hvv7qSSzieabqkCtWxctv92EtqcX7hdQdok8DcPcf5wCAhvprlX p7M9pVgOBZAOBQ4cpKquMDwVepULcGH2afzCXIW2n09Hq43Ht5NMphcXFJUuaImNUo zX2124Rh1pz++Hh3TTwn+LElDCM/EA4YfSxhTuzukcz0e3lDwK6EnqiCt+cz61+LYb NWSEGR1Qkyk9OeLjG8X8DZI45Q0pulNVUtK5iuxCCB6yq7N1bso/HQXzqe7n8QNFQt KPDw22NBBKYhA== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1pyqRD-00FTMa-Bz; Tue, 16 May 2023 09:53:43 +0100 Date: Tue, 16 May 2023 09:53:43 +0100 Message-ID: <86fs7wmzc8.wl-maz@kernel.org> From: Marc Zyngier To: Anshuman Khandual Cc: linux-arm-kernel@lists.infradead.org, Catalin Marinas , Will Deacon , Mark Brown , linux-kernel@vger.kernel.org Subject: Re: [PATCH V3] arm64: Disable EL2 traps for BRBE instructions executed in EL1 In-Reply-To: <20230516083015.569248-1-anshuman.khandual@arm.com> References: <20230516083015.569248-1-anshuman.khandual@arm.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: anshuman.khandual@arm.com, linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com, will@kernel.org, broonie@kernel.org, linux-kernel@vger.kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 16 May 2023 09:30:15 +0100, Anshuman Khandual wrote: > > This disables EL2 traps for BRBE instructions executed in EL1. This would > enable BRBE to be configured and used successfully in the guest kernel. > While here, this updates Documentation/arm64/booting.rst as well. > > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Mark Brown > Cc: Marc Zyngier > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Anshuman Khandual Acked-by: Marc Zyngier M. -- Without deviation from the norm, progress is not possible.