From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 A711F33065C for ; Tue, 21 Jul 2026 13:01:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784638905; cv=none; b=tAn9P4aEJc3U68FidgO+xQsESMi+dGUZEpHDaxlkXp1sxqHOEiSS/sVhrCIWvqFd6aVNUruhQQ5xooAZieCvxW+eVFnE9hJU/DnvzBf/d/ydM22lY1QvpNKgMHOTO4L7eewzct2Z8qcqf5LCNCgLlTNy6T99oZqufxDjnRb2w+g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784638905; c=relaxed/simple; bh=qsPHwqnT3sXNB0dLoxJH8UGHa8TDhdGBkJ3b+X4rqkY=; h=Date:Message-ID:From:To:Cc:Subject:In-Reply-To:References: MIME-Version:Content-Type; b=fcuAsQLvhrv88b/6GMwLWWHpiy9mNHjwfCDOD/8t7K1pZg6VNH/8tkSbf/4Hsy7rb89w7LDAkR9qfWvQ1GXX3LDru0TzTlLQVlWrHU4an83YyoSgqP6iQQaHSxAeiU994YQT3B5lAUxtFazrZnmzbhS+zvBg2NE/97JG/WHen4Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TvJPgudZ; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TvJPgudZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53AF71F000E9; Tue, 21 Jul 2026 13:01:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1784638904; bh=wLoFX+7sG0Jfup7kkBLX+Sdft6sN+wHvu8Rn/BS1Y1A=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=TvJPgudZPPvKtRlSVlv8dhH8tuhu4qgkx5Fxf/j7zyJ3n+u13xJitB2zS43q+olGV EnwQLJ78z5EwUjRuT/pFvkWnGfs0OdhL3X55y7x1hyLilJwZDdRomWPfHhkiwQzhN5 FZOPNPoQYP6Tr7tl3pj0URRng5VeaoRKqHkfNi5BxMaHTwRD7Pif9f8n5ZXX8n0ygl EZowHlxP0xG0/f99cZKJqb13BfP5o7NjuSnNr3K1YDwt9CqpZ2pEQYkr0ELXC/K7MT VZ+d+B2VFcnglwEeHDUeO5MmjMaV/d77zSnZnQEnxbCY8i0Pou2D4p3GumNcrKKn5k GGOCT2z7D11cw== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-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 1wmA6Q-00000007Dw0-1jMa; Tue, 21 Jul 2026 13:01:42 +0000 Date: Tue, 21 Jul 2026 14:01:42 +0100 Message-ID: <86v7a8ebt5.wl-maz@kernel.org> From: Marc Zyngier To: Greg KH Cc: stable@vger.kernel.org, Oliver Upton , Wei-Lin Chang Subject: Re: [PATCH 6.12.y 1/2] KVM: arm64: Ensure level is always initialized when relaxing perms In-Reply-To: <2026072128-eggplant-pancreas-743d@gregkh> References: <2026072033-wrinkle-closure-7d3c@gregkh> <20260721100523.2877434-1-maz@kernel.org> <2026072128-eggplant-pancreas-743d@gregkh> 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) Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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: gregkh@linuxfoundation.org, stable@vger.kernel.org, oupton@kernel.org, weilin.chang@arm.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false On Tue, 21 Jul 2026 13:53:46 +0100, Greg KH wrote: > > On Tue, Jul 21, 2026 at 11:05:22AM +0100, Marc Zyngier wrote: > > From: Oliver Upton > > > > stage2_update_leaf_attrs() returns early before writing to @level if the > > table walker returned an error. At the same time, > > kvm_pgtable_stage2_relax_perms() uses the level as a TLBI TTL hint when the > > error was EAGAIN, indicating the vCPU raced with a table update and the TLB > > entry it hit is now stale. > > > > Fall back to an unknown TTL if none was provided by the walk. > > > > Cc: stable@vger.kernel.org > > Fixes: be097997a273 ("KVM: arm64: Always invalidate TLB for stage-2 permission faults") > > Signed-off-by: Oliver Upton > > Reviewed-by: Wei-Lin Chang > > Link: https://patch.msgid.link/20260701231620.3300204-2-oupton@kernel.org > > Signed-off-by: Marc Zyngier > > (cherry picked from commit 100baf0184896f859290a684f864b8200d8ac872) > > Signed-off-by: Marc Zyngier > > (cherry picked from commit f35e314d4512480316454d3e963c513faa68decf) > > This id isn't in the tree, something went wrong? Crap. No idea how I managed to have *two* of those. Probably a cherry-pick -xs between stable trees... :-/ Sorry for the mess. > I'll just drop it and use the real one here. Thanks, M. -- Without deviation from the norm, progress is not possible.