Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3276887rwd; Sat, 3 Jun 2023 02:05:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5R9r4Q30+ITkkOcJslXwMUDt5bVA4eumuh+6OtADAAEgTIswqX4usRv1X6etN37krQAKb+ X-Received: by 2002:a17:902:ecc3:b0:1a1:d54b:71df with SMTP id a3-20020a170902ecc300b001a1d54b71dfmr2387841plh.0.1685783139235; Sat, 03 Jun 2023 02:05:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685783139; cv=none; d=google.com; s=arc-20160816; b=Eg/r77yCS/xsm31LzYZ66iX8MPUjapiuhBbOErJ0vQSXd589W6RuZ8VpMtEkdBkBYZ BvxkISvpCL+NsCkhIari3K0OmVnuBjuqfqCa4Z5sQlOFMeAp977ZpXcm236iIOVyneUF FRuNWCTKGAfHm3KtSCiKlNTCX7AKz6SPctnxCDTM89MGAejA2dir8QwAl60P6YyBGBWR +EZ4UBGGbDqD7wPbk9mv8KkF1mVZRe4nj++e0a3HVWtannygtajwYMR4Csc/qzESKAOf pyCXNtqZzG8yz7Z8u7r7XBh2iSI1CcUTr4TzA5DGdHvcREk6FY4/2X12RRdIQhMWSovF jCEA== 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=xKGyVeO1egq6Z++SsaGDrGoz5hUqTmBG/RPxj+f2CQQ=; b=vvcvXfOfNV2ModpUp29LEjDH+PwGDZ+JkgpfMd8OWR//JzPEu74FyHRvp3eoqzgPk8 7Ui3u7st0oVc8IYEgim+QIXPun+YlvMJs/v5xvg8yNeKJPtn4GV48PvA5UMP2/VJUWz3 8Ybo+cAhPwCl4HtnguvyJzaC7IrmpPWn05CLsF7i+mhGeboMvU0iszobszSIYo2WILG+ KWjEfKqfEbXVBOLZUNTVeO3K8SxoMd2R+HQrx0X4fl8djwA2uJdfM5z3ZTRb52ew3MTg W7LGxAgC3VUKdij8pM1dC6aDb8IAX6QjW+52M/pRKAx2uk0c6ZoVHxAn5Px09SJnXgay ZnwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hxcPNskg; 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 j15-20020a170903024f00b001aaf91ae3acsi2268266plh.485.2023.06.03.02.05.26; Sat, 03 Jun 2023 02:05:39 -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=hxcPNskg; 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 S236976AbjFCIkb (ORCPT + 99 others); Sat, 3 Jun 2023 04:40:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbjFCIka (ORCPT ); Sat, 3 Jun 2023 04:40:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2367B180 for ; Sat, 3 Jun 2023 01:40:29 -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 B3BB060919 for ; Sat, 3 Jun 2023 08:40:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1E30AC433EF; Sat, 3 Jun 2023 08:40:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685781628; bh=CfIACcU56/Kirmxg5qc6aUq7hEIljLaNTuavfT7lt4M=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=hxcPNskgeoZ56ulkyTmvZ+gNOrIiz6irG+I7g0vIk7XkdxMvUMMkQN/in+IEJR/2i RBsgwt6NYYE+U9lMwU6u//zk7HQpXMrVR0iO9I0OkGX0EG+Gub2Kn5Kqr1+PwvQgfb B/f7VfRhYpB/uqcEr+zfwC/I2PJE0FMqV4vHBoCZ0XyifMJbmFPpEtRoDDwZgzXXk3 V3PJOIt4zEgYGLMZX9dSRAvG3jHo7K2kA7w0/ExbA2vJG5ddFLlsTnbhuaT3z3Rn2d qx/phWwd4c824RsejW4+RFK+ndyJE7pelEQCYXuoYzKQYwOhnr96R17GfHEIix2jjn UfLbCEiR1jhDA== Received: from [37.166.197.171] (helo=wait-a-minute.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 1q5MoE-002Ws2-0C; Sat, 03 Jun 2023 09:40:26 +0100 Date: Sat, 03 Jun 2023 09:40:22 +0100 Message-ID: <87v8g5ndl5.wl-maz@kernel.org> From: Marc Zyngier To: Kristina Martsenko Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, Catalin Marinas , Will Deacon , Oliver Upton , James Morse , Suzuki K Poulose , Zenghui Yu , Mark Rutland , Mark Brown , Luis Machado , Vladimir Murzin , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 03/11] KVM: arm64: switch HCRX_EL2 between host and guest In-Reply-To: <20230509142235.3284028-4-kristina.martsenko@arm.com> References: <20230509142235.3284028-1-kristina.martsenko@arm.com> <20230509142235.3284028-4-kristina.martsenko@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 (x86_64-pc-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: 37.166.197.171 X-SA-Exim-Rcpt-To: kristina.martsenko@arm.com, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, catalin.marinas@arm.com, will@kernel.org, oliver.upton@linux.dev, james.morse@arm.com, suzuki.poulose@arm.com, yuzenghui@huawei.com, mark.rutland@arm.com, broonie@kernel.org, luis.machado@arm.com, vladimir.murzin@arm.com, 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.3 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, 09 May 2023 15:22:27 +0100, Kristina Martsenko wrote: > > Switch the HCRX_EL2 register between host and guest configurations, in > order to enable different features in the host and guest. > > Now that there are separate guest flags, we can also remove SMPME from > the host flags, as SMPME is used for virtualizing SME priorities and has > no use in the host. > > Signed-off-by: Kristina Martsenko Acked-by: Marc Zyngier M. -- Without deviation from the norm, progress is not possible.