linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Koen Vandeputte <koen.vandeputte@citymesh.com>
Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-serial@vger.kernel.org, jirislaby@kernel.org,
	neil.armstrong@linaro.org, stephan.gerhold@linaro.org,
	Robert Marko <robimarko@gmail.com>
Subject: Re: Crash in msm serial on kernel 6.12
Date: Tue, 2 Sep 2025 06:42:18 +0200	[thread overview]
Message-ID: <2025090256-waffle-sip-f1fc@gregkh> (raw)
In-Reply-To: <CAPh3n81TECn_LRKrsKS4qS3-CQsVTf8LSSiCdn+uNYdnO7h9AQ@mail.gmail.com>

On Mon, Sep 01, 2025 at 04:40:42PM +0200, Koen Vandeputte wrote:
> Hi all,
> 
> I just updated my ipq4019 boards on OpenWRT from kernel 6.6 to 6.12.
> 
> When using the serial port (/dev/ttyMSM1) I notice that it keeps
> crashing while using that port.
> 
> Going through the commit history, I noticed that not much changed at
> all compared to kernel 6.6:
> 
> f6ae572683d4 serial: msm: Configure correct working mode before
> starting earlycon
> f70f95b485d7 serial: msm: check dma_map_sg() return value properly
> 1788cf6a91d9 tty: serial: switch from circ_buf to kfifo
> f8fef2fa419f tty: msm_serial: use dmaengine_prep_slave_sg()
> 4e5788c0993c serial: msm: Use uart_prepare_sysrq_char().
> 173ebdedcd84 serial: msm: Use OPP table for DVFS support
> a63e5a49d596 serial: msm: Convert to platform remove callback returning void
> 6cbd979080c7 serial: msm: Use port lock wrappers
> 
> As the crash indicates, it has got something to do with DMA transfers,
> which was altered in these 3 commits:
> 
> f70f95b485d7 serial: msm: check dma_map_sg() return value properly
> 1788cf6a91d9 tty: serial: switch from circ_buf to kfifo
> f8fef2fa419f tty: msm_serial: use dmaengine_prep_slave_sg()
> 
> 
> file:  ./drivers/tty/serial/msm_serial.c
> crashing function: msm_start_rx_dma()

Can you do 'git bisect' to track down the offending commit?  And what
about 6.16?

thanks,

greg k-h

      reply	other threads:[~2025-09-02  4:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-01 14:40 Crash in msm serial on kernel 6.12 Koen Vandeputte
2025-09-02  4:42 ` Greg Kroah-Hartman [this message]

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=2025090256-waffle-sip-f1fc@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=jirislaby@kernel.org \
    --cc=koen.vandeputte@citymesh.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=robimarko@gmail.com \
    --cc=stephan.gerhold@linaro.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;
as well as URLs for NNTP newsgroup(s).