Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Marc Zyngier <maz@kernel.org>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: stable@vger.kernel.org, Oliver Upton <oupton@kernel.org>,
	Wei-Lin Chang <weilin.chang@arm.com>
Subject: Re: [PATCH 6.12.y 1/2] KVM: arm64: Ensure level is always initialized when relaxing perms
Date: Tue, 21 Jul 2026 14:01:42 +0100	[thread overview]
Message-ID: <86v7a8ebt5.wl-maz@kernel.org> (raw)
In-Reply-To: <2026072128-eggplant-pancreas-743d@gregkh>

On Tue, 21 Jul 2026 13:53:46 +0100,
Greg KH <gregkh@linuxfoundation.org> wrote:
> 
> On Tue, Jul 21, 2026 at 11:05:22AM +0100, Marc Zyngier wrote:
> > From: Oliver Upton <oupton@kernel.org>
> > 
> > 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 <oupton@kernel.org>
> > Reviewed-by: Wei-Lin Chang <weilin.chang@arm.com>
> > Link: https://patch.msgid.link/20260701231620.3300204-2-oupton@kernel.org
> > Signed-off-by: Marc Zyngier <maz@kernel.org>
> > (cherry picked from commit 100baf0184896f859290a684f864b8200d8ac872)
> > Signed-off-by: Marc Zyngier <maz@kernel.org>
> > (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.

      reply	other threads:[~2026-07-21 13:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-20 12:21 FAILED: patch "[PATCH] KVM: arm64: Ensure level is always initialized when relaxing" failed to apply to 6.12-stable tree gregkh
2026-07-21 10:05 ` [PATCH 6.12.y 1/2] KVM: arm64: Ensure level is always initialized when relaxing perms Marc Zyngier
2026-07-21 10:05   ` [PATCH 6.12.y 2/2] KVM: arm64: Fix propagation of TLBI level in kvm_pgtable_stage2_relax_perms() Marc Zyngier
2026-07-21 12:53   ` [PATCH 6.12.y 1/2] KVM: arm64: Ensure level is always initialized when relaxing perms Greg KH
2026-07-21 13:01     ` Marc Zyngier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86v7a8ebt5.wl-maz@kernel.org \
    --to=maz@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=oupton@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=weilin.chang@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox