From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-10.mta1.migadu.com (out-10.mta1.migadu.com [95.215.58.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD0A71F93A for ; Mon, 5 Jun 2023 15:45:16 +0000 (UTC) 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> Precedence: bulk X-Mailing-List: kvmarm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: 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 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