Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5840295rwd; Mon, 5 Jun 2023 09:12:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5zp0gaORTyXWMQrKQPQVVL4RDR/lrTe46xvHTVfvO4brAIDICCGNwzYD2urj/PUqNCi2Kc X-Received: by 2002:a05:6a20:2d2a:b0:10a:f3df:b86e with SMTP id g42-20020a056a202d2a00b0010af3dfb86emr3884018pzl.44.1685981572517; Mon, 05 Jun 2023 09:12:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685981572; cv=none; d=google.com; s=arc-20160816; b=dz7nVwxi3fzJsUJVvb/6Q670kC4lo0FxhZutTE1g38htRqPgVa2Ey3XnABxGXVpu25 5yt19+mqOif58zLdjcaT07HNN8yAMwrbc8QHol7M0CSkzS7d35If0dsvxAxI+blZgX/9 0d0KLzddC9otlvSgeuwCBpGmIC1wRPhXImHEPyd+fnwRdW5979VCwQM+fCP0MZCL69jY /zBJwSrFUOIrQ1KSzqj/OEsersH0+g7f+OPOMojEjGwNHhLCwzLm38p8DGxDvDMi3b+r 4hZkERPCu7vX08EqWxdr3yw9v3PbqyewHAfNpos7Qari7Hf80l73OXDr2mkfevZo1lR1 jx4A== 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:dkim-signature:date; bh=+5LUtWzKmYjDV4nZKzC4q3Djt7pncEjD8QMEpJ4KCyA=; b=P4uO3Plhci88Xlqls5OF0pqoN6Bhg+x5RXPN8wJG5vsijlMnnZ77CPOH2Mhh6xSjm4 Q1tnMVfUTzHMMZBCuY2ihXPrPqamt/8bjnU4Pib8Wy8h/fRFh0vAz09/8dWgk7Bomx+V fEuXJx8ZrUO5REzlIoQG6Et1bDg7Fq/H+hJxMTjsW3w644lnZHB5bxf2OMFVh5w1G8op ORMLtuzmHiUKF7kZ2TYxpOMjMPBsfl3SqPDrGZGVryoM21H7gorFAdQyZZwPTp/3w+y2 vcDDJgjunNcu7v0OvNwaJmFZzmwyG7i7sjeyg6OUPssVAWSkKK+oKKju20s7bciz09jY rRJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=R5NBp7zZ; 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=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d18-20020aa797b2000000b00654d446d357si4078104pfq.177.2023.06.05.09.12.37; Mon, 05 Jun 2023 09:12:52 -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=@linux.dev header.s=key1 header.b=R5NBp7zZ; 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=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235182AbjFEPqc (ORCPT + 99 others); Mon, 5 Jun 2023 11:46:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235123AbjFEPqN (ORCPT ); Mon, 5 Jun 2023 11:46:13 -0400 Received: from out-35.mta1.migadu.com (out-35.mta1.migadu.com [IPv6:2001:41d0:203:375::23]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC3E4E40 for ; Mon, 5 Jun 2023 08:45:45 -0700 (PDT) Date: Mon, 5 Jun 2023 15:45:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1685979914; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+5LUtWzKmYjDV4nZKzC4q3Djt7pncEjD8QMEpJ4KCyA=; b=R5NBp7zZ7fiJGgGmahE2wkbha2vpqQfOgtOabW8PjJwXnaosJWHnULmmToS920oLU0j9ES DEOKTJK+7rtQvtvhIS3UP4Pj6JgDkZg65I4gS+iTsOdBUr0TzShGEMUXB+AAhDzMXFGjzv WQrK4vu1z4npD7q+hvPMu+N8pqIR9cs= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Marc Zyngier Cc: Kristina Martsenko , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, Catalin Marinas , Will Deacon , James Morse , Suzuki K Poulose , Zenghui Yu , Mark Rutland , Mark Brown , Luis Machado , Vladimir Murzin , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 06/11] KVM: arm64: hide MOPS from guests Message-ID: References: <20230509142235.3284028-1-kristina.martsenko@arm.com> <20230509142235.3284028-7-kristina.martsenko@arm.com> <87ttvpndhx.wl-maz@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87ttvpndhx.wl-maz@kernel.org> X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Sat, Jun 03, 2023 at 09:42:18AM +0100, Marc Zyngier wrote: > On Tue, 09 May 2023 15:22:30 +0100, > Kristina Martsenko wrote: > > > > As FEAT_MOPS is not supported in guests yet, hide it from the ID > > registers for guests. > > > > The MOPS instructions are UNDEFINED in guests as HCRX_EL2.MSCEn is not > > set in HCRX_GUEST_FLAGS, and will take an exception to EL1 if executed. > > > > Acked-by: Catalin Marinas > > Signed-off-by: Kristina Martsenko > > This is very likely to clash with Jing's series that completely > reworks the whole idreg series, but as long as this is on its own > branch, we can deal with that. Yup, we will definitely want to get that ironed out. I'll pull Catalin's branch when this all gets queued up. Acked-by: Oliver Upton -- Thanks, Oliver