Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: jinfeng.wang.cn@windriver.com
Cc: d-gole@ti.com, ronald.wahl@legrand.com, broonie@kernel.org,
	matthew.gerlach@altera.com, khairul.anuar.romli@altera.com,
	stable@vger.kernel.org
Subject: Re: [PATCH 6.6 1/2] Revert "spi: cadence-quadspi: fix cleanup of rx_chan on failure paths"
Date: Wed, 3 Sep 2025 10:22:06 +0200	[thread overview]
Message-ID: <2025090339-pursuable-gradient-4781@gregkh> (raw)
In-Reply-To: <20250903075815.1034962-1-jinfeng.wang.cn@windriver.com>

On Wed, Sep 03, 2025 at 03:58:14PM +0800, jinfeng.wang.cn@windriver.com wrote:
> From: Jinfeng Wang <jinfeng.wang.cn@windriver.com>
> 
> This reverts commit 1af6d1696ca40b2d22889b4b8bbea616f94aaa84.

What is the upstream commit id for this?

> There is cadence-qspi ff8d2000.spi: Unbalanced pm_runtime_enable! error
> without this revert.
> 
> After reverting commit cdfb20e4b34a ("spi: spi-cadence-quadspi: Fix pm runtime unbalance")
> and commit 1af6d1696ca4 ("spi: cadence-quadspi: fix cleanup of rx_chan on failure paths"),
> Unbalanced pm_runtime_enable! error does not appear.
> 
> These two commits are backported from upstream commit b07f349d1864 ("spi: spi-cadence-quadspi: Fix pm runtime unbalance")
> and commit 04a8ff1bc351 ("spi: cadence-quadspi: fix cleanup of rx_chan on failure paths").
> 
> The commit 04a8ff1bc351 ("spi: cadence-quadspi: fix cleanup of rx_chan on failure paths")
> fix commit b07f349d1864 ("spi: spi-cadence-quadspi: Fix pm runtime unbalance").
> 
> The commit b07f349d1864 ("spi: spi-cadence-quadspi: Fix pm runtime unbalance") fix
> commit 86401132d7bb ("spi: spi-cadence-quadspi: Fix missing unwind goto warnings").
> 
> The commit 86401132d7bb ("spi: spi-cadence-quadspi: Fix missing unwind goto warnings") fix
> commit 0578a6dbfe75 ("spi: spi-cadence-quadspi: add runtime pm support").

I am sorry, but I can not parse any of this.

> 6.6.y only backport commit b07f349d1864 ("spi: spi-cadence-quadspi: Fix pm runtime unbalance")
> and commit 04a8ff1bc351 ("spi: cadence-quadspi: fix cleanup of rx_chan on failure paths"),
> but does not backport commit 0578a6dbfe75 ("spi: spi-cadence-quadspi: add runtime pm support")
> and commit 86401132d7bb ("spi: spi-cadence-quadspi: Fix missing unwind goto warnings").
> And the backport of commit b07f349d1864 ("spi: spi-cadence-quadspi: Fix pm runtime unbalance")
> differs with the original patch. So there is Unbalanced pm_runtime_enable error.
> 
> If revert the backport for commit b07f349d1864 ("spi: spi-cadence-quadspi: Fix pm runtime unbalance")
> and commit 04a8ff1bc351 ("spi: cadence-quadspi: fix cleanup of rx_chan on failure paths"), there is no error.
> If backport commit 0578a6dbfe75 ("spi: spi-cadence-quadspi: add runtime pm support") and
> commit 86401132d7bb ("spi: spi-cadence-quadspi: Fix missing unwind goto warnings"), there
> is hang during booting. I didn't find the cause of the hang.

Is this hang also in newer kernels?  Why is this only an issue in older
kernels?

thanks,

greg k-h

  parent reply	other threads:[~2025-09-03  8:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-03  7:58 [PATCH 6.6 1/2] Revert "spi: cadence-quadspi: fix cleanup of rx_chan on failure paths" jinfeng.wang.cn
2025-09-03  7:58 ` [PATCH 6.6 2/2] Revert "spi: spi-cadence-quadspi: Fix pm runtime unbalance" jinfeng.wang.cn
2025-09-03  8:22 ` Greg KH [this message]
2025-09-04  6:54   ` [PATCH 6.6 1/2] Revert "spi: cadence-quadspi: fix cleanup of rx_chan on failure paths" Jinfeng Wang

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=2025090339-pursuable-gradient-4781@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=broonie@kernel.org \
    --cc=d-gole@ti.com \
    --cc=jinfeng.wang.cn@windriver.com \
    --cc=khairul.anuar.romli@altera.com \
    --cc=matthew.gerlach@altera.com \
    --cc=ronald.wahl@legrand.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