From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 25EF4C7EE2D for ; Mon, 5 Jun 2023 15:46:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235128AbjFEPqe (ORCPT ); Mon, 5 Jun 2023 11:46:34 -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 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