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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8A939C77B7A for ; Wed, 17 May 2023 10:24:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QiLw0k8uG7AftP3RVI+bCQOxkIZWGXCaOuJoquRaBf4=; b=UTwc2mb3KNJHEs 3Su2SPGOd1BY0Zl4mzYUsNs7RbtOOUAbzvgxIAXtpb2G+r+fd4ViNqMZ2Slxd8llTjh9MH8CQAqVj jYOp6l7NbLMD4caS5nQ2buTJY+stAMWmThgJWGsZaB3RK/dzJVMlSRVVtLjQtphbMxbOgbmL8fVuH 4SrAzYAt+AvILskRBi6sbuFNkRLJppEupRfMp2VNk2yRhZ4tOusksik4oNXus1vclvMsQlOw+X0bE FOAuzbuo8LmxhJukV8uFX+FkDEZl4Y0RVfXLw4gPAf62p0K6A8eLPIxbf72t5TszaFnvkefJea3HP 3adiFVLxDDZUN1gusuFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pzEKc-009NrD-1F; Wed, 17 May 2023 10:24:30 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pzEKY-009Nnv-2z for linux-arm-kernel@lists.infradead.org; Wed, 17 May 2023 10:24:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1684319065; 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=6kCDd/wHVYniWnWaYfQFj8W3J0td+4UsnrwjwgtLZpc=; b=PcAlYvQNcHTU3rrkYcxPwtfmuTd4mn2RefSktT2OOkE+OeG/mEQRhZrb1tPSF3WKxLJCPA yeBG05JNJS4NKOshAbLH30g2004FM8Zhp5jWKffKWz58Sn0dzKtV19jcgnqW9kaMAm75in NjusSLG21zUO13tfW7PGtOQfGV6Uud4= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-399-lMgLT-zQMsGLAlrxWEDyQQ-1; Wed, 17 May 2023 06:24:21 -0400 X-MC-Unique: lMgLT-zQMsGLAlrxWEDyQQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 890AB101A54F; Wed, 17 May 2023 10:24:20 +0000 (UTC) Received: from localhost (dhcp-192-239.str.redhat.com [10.33.192.239]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5101E1121314; Wed, 17 May 2023 10:24:20 +0000 (UTC) From: Cornelia Huck To: Marc Zyngier , James Morse , Suzuki K Poulose , Oliver Upton , Zenghui Yu Cc: Catalin Marinas , steven.price@arm.com, kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org Subject: Re: [PATCH 2/2] KVM: arm64: Handle trap of tagged Set/Way CMOs In-Reply-To: <20230515204601.1270428-3-maz@kernel.org> Organization: Red Hat GmbH References: <20230515204601.1270428-1-maz@kernel.org> <20230515204601.1270428-3-maz@kernel.org> User-Agent: Notmuch/0.37 (https://notmuchmail.org) Date: Wed, 17 May 2023 12:24:19 +0200 Message-ID: <87ttwb45nw.fsf@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230517_032427_042023_B97CCD0F X-CRM114-Status: GOOD ( 11.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, May 15 2023, Marc Zyngier wrote: > We appear to have missed the Set/Way CMOs when adding MTE support. > Not that we really expect anyone to use them, but you never know > what stupidity some people can come up with... > > Treat these mostly like we deal with the classic S/W CMOs, only > with an additional check that MTE really is enabled. > > Signed-off-by: Marc Zyngier > --- > arch/arm64/kvm/sys_regs.c | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) Reviewed-by: Cornelia Huck _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel