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 38BABC61DD6 for ; Wed, 2 Sep 2026 07:48:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: References:In-Reply-To:Subject:Cc:To:From:Message-ID:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=OeADUFwIew+k818uFxxMlUv0AMDwYY19D1ydeF7tVUI=; b=X2lh8mnXSvKRekVZuQzDX37I0z 7E7X6tKQ2SXDP+VEJ2tGWSGDqyqfkLDzmBD4olRCBaPNtTFhtMkmbKG4hhNw50sh9QzZhB310V0yQ Cp29qFIteLHnb7GLfZk3J1///9l3SH1y3+ddY5BgK80lSIyWBBIxXereM2xXiQOP499NA3WHEvQFx YkGVeB5NfQiMohqHqUNyL5T8iB2mKSBQKPQL5QhhoyGSFkVVTRnng1ReXfUjUfEJGZJnj9OOc4ZRx MXrC0fQdESIvluZW1/cJcFoCqaQZvvhcNIrgPBYKzCwuakNwq5WSybcDR3hDQ/y3kKtfQRvHCiGby 0zBgowSQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x1fhn-0000000Dz8K-1M2T; Wed, 02 Sep 2026 07:48:23 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x1fhm-0000000Dz7t-0Fh3 for linux-arm-kernel@lists.infradead.org; Wed, 02 Sep 2026 07:48:22 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 51798600C8; Wed, 2 Sep 2026 07:48:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 068E01F000E9; Wed, 2 Sep 2026 07:48:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1788335301; bh=OeADUFwIew+k818uFxxMlUv0AMDwYY19D1ydeF7tVUI=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=izYq5VJk2wZVFpoRFQlmdL1wKt3D9KB5P6sF4EX0cOHPdGByj4Rd9mxXLJ7FUSTHq ey3Ui/L0pSBVuFc8OMCI4bqP/XNLyzPsnpESX3ZCtNav2xApANu8BWjS1eQPUB6zoG JYCmTzO1WiHQZtodhqFB/kvvmFwyg5GQymdOBFMonlMQurPAwAjAc3Z2uMQ9qNwcEG PlzK+VFTzM2iijqQUNtWaS/rUpMKvzHaM7yNRoZMGKhjVCRoQAEwCuwieOLNNNx8LD WRe7gGAMK2Ae4WGzd4HobxKWfAApolDjJlBHwJu8NoRdeCJRG75QHoDz76Jb2D3SfB eesE4iLZSIpMQ== Received: from sofa.misterjones.org ([185.219.108.64] helo=lobster-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1x1fhj-00000003loj-181o; Wed, 02 Sep 2026 07:48:19 +0000 Date: Wed, 02 Sep 2026 08:50:52 +0100 Message-ID: <87jyp4m6qr.wl-maz@kernel.org> From: Marc Zyngier To: Khushit Shah Cc: Catalin Marinas , Will Deacon , Mark Rutland , Shameer Kolothum , Oliver Upton , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH v1] arm64: errata: pass REVIDR when matching target implementation CPUs In-Reply-To: <20260831105444.4065831-1-khushit.shah@nutanix.com> References: <20260831105444.4065831-1-khushit.shah@nutanix.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/30.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: khushit.shah@nutanix.com, catalin.marinas@arm.com, will@kernel.org, mark.rutland@arm.com, skolothumtho@nvidia.com, oupton@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 31 Aug 2026 11:54:44 +0100, Khushit Shah wrote: > > When target implementation CPUs are provided, is_affected_midr_range() > accidentally passed the MIDR as both arguments to __is_affected_midr_range(), > so the REVIDR mask check operated on the wrong register. > > Pass REVIDR as intended. > > Fixes: 86edf6bdcf05 ("smccc/kvm_guest: Enable errata based on implementation CPUs") > Cc: stable@vger.kernel.org > Signed-off-by: Khushit Shah Acked-by: Marc Zyngier M. -- Jazz isn't dead. It just smells funny.