Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Farhan Ali <alifm@linux.ibm.com>
Cc: borntraeger@linux.ibm.com, mjrosato@linux.ibm.com,
	stable@vger.kernel.org
Subject: Re: FAILED: patch "[PATCH] KVM: s390: pci: Fix memory accounting for pinned/unpinned" failed to apply to 6.12-stable tree
Date: Fri, 7 Aug 2026 15:13:42 +0200	[thread overview]
Message-ID: <2026080709-approach-tinker-d8da@gregkh> (raw)
In-Reply-To: <cc046eb2-6308-4a3d-96a9-74b8787a44cb@linux.ibm.com>

On Thu, Aug 06, 2026 at 11:13:48AM -0700, Farhan Ali wrote:
> Hi Greg,
> 
> This patch has a dependency on the following commit from Linus's tree:
> 
> 5618c53d96d1 ("KVM: s390: Use try_cmpxchg() instead of cmpxchg() loops")
> 
> Applying this dependency patch and then cherry-picking should resolve the
> conflict. It's the same issue for failing to apply 36f6999ecde3 ("KVM: s390:
> pci: Fix memory accounting for pinned/unpinned pages") in stable version
> 6.1, 6.6. Is it possible to apply the dependency patch and try again?
> 
> Also there were multiple fixes that we wanted to backport, but I think only
> 3 of the patches were attempted across (6.1, 6.6, 6.12 and 6.18). The entire
> backport would be:
> 
> 868d32ac72cb KVM: s390: pci: Validate AIBV and AISB before pinning guest
> pages
> 5580c9858f1e KVM: s390: pci: Fix resource leak on IRQ registration failure
> 8bf09b9b7d32 KVM: s390: pci: Fix NULL dereference on AIBV allocation failure
> f86842e4d6c4 KVM: s390: pci: Fix missing error codes and memory unaccounting
> 36f6999ecde3 KVM: s390: pci: Fix memory accounting for pinned/unpinned pages
> 8fa01be5a614 KVM: s390: pci: Reject adapter interrupt forwarding if already
> enabled
> 5618c53d96d1 KVM: s390: Use try_cmpxchg() instead of cmpxchg() loops
> 
> Would appreciate any guidance on how we can proceed with this.

Please just send patch series for the different stable trees, with the
correct patches backported and tested for those branches, and we will be
glad to take them that way, as we have no way of testing these types of
patches at all.

thanks,

greg k-h

      reply	other threads:[~2026-08-07 13:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-05  9:35 FAILED: patch "[PATCH] KVM: s390: pci: Fix memory accounting for pinned/unpinned" failed to apply to 6.12-stable tree gregkh
2026-08-06 18:13 ` Farhan Ali
2026-08-07 13:13   ` Greg KH [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=2026080709-approach-tinker-d8da@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=alifm@linux.ibm.com \
    --cc=borntraeger@linux.ibm.com \
    --cc=mjrosato@linux.ibm.com \
    --cc=stable@vger.kernel.org \
    /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