public inbox for linux-serial@vger.kernel.org
 help / color / mirror / Atom feed
From: John Ogness <john.ogness@linutronix.de>
To: Sherry Sun <sherry.sun@nxp.com>,
	"esben@geanix.com" <esben@geanix.com>,
	"pmladek@suse.com" <pmladek@suse.com>,
	"senozhatsky@chromium.org" <senozhatsky@chromium.org>,
	"tglx@linutronix.de" <tglx@linutronix.de>,
	Greg KH <gregkh@linuxfoundation.org>,
	Jiri Slaby <jirislaby@kernel.org>,
	Shawn Guo <shawnguo@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	"ryotkkr98@gmail.com" <ryotkkr98@gmail.com>,
	"kkartik@nvidia.com" <kkartik@nvidia.com>,
	"fj6611ie@aa.jp.fujitsu.com" <fj6611ie@aa.jp.fujitsu.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	linux-serial <linux-serial@vger.kernel.org>,
	"imx@lists.linux.dev" <imx@lists.linux.dev>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	"linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>
Subject: Re: [BUG] Suspend failure with nbcon + pm_debug_messages (Linux 6.18-rc4)
Date: Tue, 04 Nov 2025 09:34:36 +0106	[thread overview]
Message-ID: <87tszamcaz.fsf@jogness.linutronix.de> (raw)
In-Reply-To: <DB9PR04MB8429E7DDF2D93C2695DE401D92C4A@DB9PR04MB8429.eurprd04.prod.outlook.com>

Hi Sherry,

On 2025-11-04, Sherry Sun <sherry.sun@nxp.com> wrote:
> Since the latest i.MX UART switch to nbcon console with commit
> 70acca67bdd3 ("serial: imx: Switch to nbcon console"), I'm
> encountering a suspend issue on an i.MX8MP EVK board while testing
> with Linux 6.18-rc4.
>
> The system fails to suspend when both nbcon is enabled and
> `pm_debug_messages` is turned on. When `pm_debug_messages` is
> disabled, suspend works normally. Additionally, if I revert the patch
> that adds nbcon support for the i.MX UART, suspend also works fine
> even with `pm_debug_messages` enabled.

Thanks for reporting! I believe this is the same issue reported by
NVIDIA [0] when we tried to switch the 8250 UART driver to nbcon.

We have been working with NVIDIA recently to address the issue. There is
a patch [1] we are currently testing that looks good so far. It is based
on 6.17 but should work fine for 6.18-rc4 as well. Can you give it a
spin?

John Ogness

[0] https://lore.kernel.org/lkml/80b020fc-c18a-4da4-b222-16da1cab2f4c@nvidia.com

[1] https://github.com/Linutronix/linux/commit/ae173249d9028ef159fba040bdab260d80dda43f

  reply	other threads:[~2025-11-04  8:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-04  7:44 [BUG] Suspend failure with nbcon + pm_debug_messages (Linux 6.18-rc4) Sherry Sun
2025-11-04  8:28 ` John Ogness [this message]
2025-11-04  9:46   ` Sherry Sun
2025-11-04 10:16     ` John Ogness
2025-11-04 10:43       ` Sherry Sun
2025-11-04 23:19         ` John Ogness
2025-11-05  3:43           ` Sherry Sun
2025-11-05  7:30           ` Petr Mladek

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=87tszamcaz.fsf@jogness.linutronix.de \
    --to=john.ogness@linutronix.de \
    --cc=esben@geanix.com \
    --cc=fj6611ie@aa.jp.fujitsu.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=imx@lists.linux.dev \
    --cc=jirislaby@kernel.org \
    --cc=kernel@pengutronix.de \
    --cc=kkartik@nvidia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=pmladek@suse.com \
    --cc=ryotkkr98@gmail.com \
    --cc=s.hauer@pengutronix.de \
    --cc=senozhatsky@chromium.org \
    --cc=shawnguo@kernel.org \
    --cc=sherry.sun@nxp.com \
    --cc=tglx@linutronix.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