Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2258497rwd; Fri, 2 Jun 2023 07:07:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6R+VkEbQUh2K5wppXX2BklOeVIj2nFDkOlO0zpgIlGvMHqEBllJaZ+Ihepq7AQIzCoDxxh X-Received: by 2002:a17:903:190:b0:1ae:3e5b:31b1 with SMTP id z16-20020a170903019000b001ae3e5b31b1mr114721plg.9.1685714833188; Fri, 02 Jun 2023 07:07:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685714833; cv=none; d=google.com; s=arc-20160816; b=NVJLulMRLsQlt5lOqAQ2xWxlE9dMyR6KkT4bBG/UZPt3fwVV3xkGE9GcK3cF90UlIU aNe35nWhV04/5pCG+wZEpsuPG6VyagGOjbIfEP/BYof5JHa6dzC+s+RSglJlVhmKRW/G +7vPYMFApIz2Q7H/csMp3gEeIXASK8FmwPEwkzdWhpyY4LrLF2EXSm+a0Qa3uYCvEndL Gpqay+95+i5gp5JHoenBSQS0yt0R5BuqaUuCdOjAstfW2wTZvvjJw6bNbApxazTX2y/Y JR1ZIzHAXEK+ohIqmtFY/BZ3sEPwTXOCyYmjyiFyEZL3leBApk8/yDtPzL2EJBgUk3DL GsgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=TInYuEiG+rlCJsQ45572EYgAYPv+cXG36mUCaTPkBeo=; b=fvTvtaQf692K1Zo5wh9XCaSIfj69/tUnIPXEw/FEkU7e8QEjs4CHzGUODJLiFP3e7F XhNZXWWnsrFX1Er46IeSZBBAad47r8tm4dUo6GtBjn8I/5SszFNOd1q7xVj2NS5u6G8k 5/6HVJqjimILhdksyY1jkK1I2nBxJ4di9hJuQnv+eacXWNk5UGApfIQXEqN6rUpB8uQF Yi1Xw9XxWdfa/HE0B/qvz0oSeeb8nBazz8uxIkyule26LQSxEY+cCl4CmhlCcBtOj7xR WNayEjxalcT6IsbexCtkLquZ29Tr2IqjSy7qUOkL90GRAw2b+jGsY+4GhD9yZhRSVZUc k/mQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f5-20020a170902860500b001ac404445c9si970952plo.139.2023.06.02.07.06.53; Fri, 02 Jun 2023 07:07:13 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235354AbjFBNwD (ORCPT + 99 others); Fri, 2 Jun 2023 09:52:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235456AbjFBNwA (ORCPT ); Fri, 2 Jun 2023 09:52:00 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6F3A136 for ; Fri, 2 Jun 2023 06:51:59 -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 6C1DD63918 for ; Fri, 2 Jun 2023 13:51:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7670DC433A7; Fri, 2 Jun 2023 13:51:56 +0000 (UTC) Date: Fri, 2 Jun 2023 14:51:53 +0100 From: Catalin Marinas To: Kristina Martsenko Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, Will Deacon , Marc Zyngier , 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 Message-ID: References: <20230509142235.3284028-1-kristina.martsenko@arm.com> <20230509142235.3284028-4-kristina.martsenko@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230509142235.3284028-4-kristina.martsenko@arm.com> X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,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, May 09, 2023 at 03:22:27PM +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 Same here, it could be good to have Marc/Oliver look at this. -- Catalin