Re: FAILED: patch "[PATCH] KVM: s390: pci: Fix memory accounting for pinned/unpinned" failed to apply to 6.12-stable tree

Greg KH <[email protected]>
Newsgroups org.kernel.vger.stable
Message-ID <2026080709-approach-tinker-d8da@gregkh>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.