From: sashiko-bot@kernel.org
To: "Nuno Sá" <nuno.sa@analog.com>, devicetree@vger.kernel.org
Cc: robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v2 2/8] spi: cadence-xspi: wait for the controller initialization on resume
Date: Wed, 11 Nov 2026 14:16:21 +0000 [thread overview]
Message-ID: <sashiko-outbox-209129@kernel.org> (raw)
In-Reply-To: <20261111-xspi-cadence-add-acmd-v2-2-d339046ada8b@analog.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] spi: cadence-xspi: missing Fixes trailer for cdns_xspi_resume()
init wait fix
--
commit 1cfb3d5d49d047b5fae8e262c396fe9156989594
Author: Nuno Sá <nuno.sa@analog.com>
> spi: cadence-xspi: wait for the controller initialization on resume
>
> The controller IP might lose power across a system suspend (e.g. its
> power domain being gated). In that case, it goes through its reset and
> initialization process again on resume, which is only done when the
> INIT_COMPLETED bit is set in the controller status register. However,
> the resume path reconfigures the controller right away.
>
> Add a helper to wait for the controller to complete its initialization
> and use it on resume before configuring anything. If the controller did
> not lose power, the bit is already set and there is nothing to wait for.
>
> The helper will also be used after the optional hardware reset, added
> in a following patch.
>
> Signed-off-by: Nuno Sá <nuno.sa@analog.com>
[Severity: Low]
This fixes a bug in cdns_xspi_resume(). Should this include:
Fixes: db6a59cfcc93 ("spi: cadence-xspi: support suspend/resume")
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261111-xspi-cadence-add-acmd-v2-0-d339046ada8b@analog.com?part=2
next prev parent reply other threads:[~2026-11-11 14:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-11 13:23 [PATCH v2 0/8] spi: cadence-xspi: add ACMD mode and ADSP SC846 integration Nuno Sá
2026-11-11 13:23 ` [PATCH v2 1/8] spi: cadence-xspi: fail on command errors without a known cause Nuno Sá
2026-11-11 13:23 ` [PATCH v2 2/8] spi: cadence-xspi: wait for the controller initialization on resume Nuno Sá
2026-11-11 14:16 ` sashiko-bot [this message]
2026-11-11 13:23 ` [PATCH v2 3/8] spi: dt-bindings: cdns,xspi: add clocks and resets Nuno Sá
2026-11-11 17:57 ` Conor Dooley
2026-11-11 13:23 ` [PATCH v2 4/8] spi: cadence-xspi: support " Nuno Sá
2026-11-11 13:23 ` [PATCH v2 5/8] spi: cadence-xspi: move platform specifics into driver data Nuno Sá
2026-11-11 13:23 ` [PATCH v2 6/8] spi: dt-bindings: cdns,xspi: add ADI SC846 compatible Nuno Sá
2026-11-11 17:58 ` Conor Dooley
2026-11-11 13:23 ` [PATCH v2 7/8] spi: cadence-xspi: add ADI SC846 platform support Nuno Sá
2026-11-11 13:23 ` [PATCH v2 8/8] spi: cadence-xspi: add ACMD mode support Nuno Sá
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=sashiko-outbox-209129@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=nuno.sa@analog.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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