public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Francesco Dolcini <francesco@dolcini.it>
To: Beleswar Prasad Padhi <b-padhi@ti.com>
Cc: "Hiago De Franco" <hiagofranco@gmail.com>,
	nm@ti.com, vigneshr@ti.com, kristo@kernel.org, robh@kernel.org,
	krzk+dt@kernel.org, conor+dt@kernel.org, afd@ti.com,
	u-kumar1@ti.com, hnagalla@ti.com, jm@ti.com, d-gole@ti.com,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	"Robert Nelson" <robertcnelson@gmail.com>,
	"João Paulo Gonçalves" <joao.goncalves@toradex.com>,
	"Emanuele Ghidoli" <emanuele.ghidoli@toradex.com>,
	"Francesco Dolcini" <francesco.dolcini@toradex.com>,
	"Matthias Schiffer" <matthias.schiffer@ew.tq-group.com>,
	"Logan Bristol" <logan.bristol@utexas.edu>,
	"Josua Mayer" <josua@solid-run.com>, "John Ma" <jma@phytec.com>,
	"Nathan Morrisson" <nmorrisson@phytec.com>,
	"Garrett Giordano" <ggiordano@phytec.com>,
	"Matt McKee" <mmckee@phytec.com>,
	"Wadim Egorov" <w.egorov@phytec.de>,
	"Max Krummenacher" <max.krummenacher@toradex.com>,
	"Stefan Eichenberger" <stefan.eichenberger@toradex.com>,
	"Hiago De Franco" <hiago.franco@toradex.com>,
	"Diogo Ivo" <diogo.ivo@siemens.com>,
	"Li Hua Qian" <huaqian.li@siemens.com>,
	"Jan Kiszka" <jan.kiszka@siemens.com>,
	"Baocheng Su" <baocheng.su@siemens.com>,
	"Benedikt Niedermayr" <benedikt.niedermayr@siemens.com>,
	regressions@lists.linux.dev
Subject: Re: [REGRESSION] Suspend to RAM does not work anymore with k3-am62-ti-ipc-firmware.dtsi
Date: Tue, 21 Oct 2025 11:34:20 +0200	[thread overview]
Message-ID: <20251021093420.GA28462@francesco-nb> (raw)
In-Reply-To: <e60dd8d6-2bd5-41f0-bf8a-b0a5822a7f88@ti.com>

On Tue, Oct 21, 2025 at 02:33:10PM +0530, Beleswar Prasad Padhi wrote:
> On 20/10/25 19:47, Hiago De Franco wrote:
> > DM R5 sends a message that is never consumed, since no firmware is
> > running on the M4 (the core is offline).
> 
> 
> May I know why you are not running any firmware on the M4
> rproc? If the intention is just to run the DM R5 core on the SoC,
> you can disable the IPC by NOT including the
> "k3-am62-ti-ipc-firmware.dtsi". That was the motivation for the
> refactoring.

Verdin AM62 and AM62P are generic SoMs, that can be used for a multitude
of different use cases. And not having anything running on the M4 is the
default use case.

I think having the node in the DT is the correct way forward, if you
want to start the M4 firmware you need such a node, so this is enabling
a valid and useful use case.

> List of suggestions/solutions in order of preference:
> 1. If no intention to enable IPC on rprocs:
>       Do _not_ include k3-am62-ti-ipc-firmware.dtsi
> 2. If intention is to enable IPC on rprocs:
>       Make sure rproc firmware is available in rootfs.
>       rproc would boot up and consume the mbox
>       msg, suspend would be successful. Tested this
>       on TI AM62x-sk with commit 1d6161617c, works
> 3. Add support in mbox driver to flush the pending
>     queues.

2 is not applicable here, and 1 to me is not a good solution. So this
means that we need #3.

> > #regzbot introduced: 1d6161617c
> 
> Would not see this as a regression, but rather a new
> bug for the omap-mailbox driver...

As a user this is just a regression. It worked fine before, it's not
working anymore now.

The fact that the solution might not be in the same file that introduced
the issue is not a reason for this not being considered a regression.

Francesco


  reply	other threads:[~2025-10-21  9:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-20 14:17 [REGRESSION] Suspend to RAM does not work anymore with k3-am62-ti-ipc-firmware.dtsi Hiago De Franco
2025-10-21  9:03 ` Beleswar Prasad Padhi
2025-10-21  9:34   ` Francesco Dolcini [this message]
2025-10-21  9:56     ` Beleswar Prasad Padhi
2025-10-21 10:06       ` Matthias Schiffer
2025-10-21 11:07         ` Francesco Dolcini
2025-10-23  8:25   ` Beleswar Prasad Padhi

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=20251021093420.GA28462@francesco-nb \
    --to=francesco@dolcini.it \
    --cc=afd@ti.com \
    --cc=b-padhi@ti.com \
    --cc=baocheng.su@siemens.com \
    --cc=benedikt.niedermayr@siemens.com \
    --cc=conor+dt@kernel.org \
    --cc=d-gole@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=diogo.ivo@siemens.com \
    --cc=emanuele.ghidoli@toradex.com \
    --cc=francesco.dolcini@toradex.com \
    --cc=ggiordano@phytec.com \
    --cc=hiago.franco@toradex.com \
    --cc=hiagofranco@gmail.com \
    --cc=hnagalla@ti.com \
    --cc=huaqian.li@siemens.com \
    --cc=jan.kiszka@siemens.com \
    --cc=jm@ti.com \
    --cc=jma@phytec.com \
    --cc=joao.goncalves@toradex.com \
    --cc=josua@solid-run.com \
    --cc=kristo@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=logan.bristol@utexas.edu \
    --cc=matthias.schiffer@ew.tq-group.com \
    --cc=max.krummenacher@toradex.com \
    --cc=mmckee@phytec.com \
    --cc=nm@ti.com \
    --cc=nmorrisson@phytec.com \
    --cc=regressions@lists.linux.dev \
    --cc=robertcnelson@gmail.com \
    --cc=robh@kernel.org \
    --cc=stefan.eichenberger@toradex.com \
    --cc=u-kumar1@ti.com \
    --cc=vigneshr@ti.com \
    --cc=w.egorov@phytec.de \
    /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