linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Perrot <thomas.perrot@bootlin.com>
To: Aleksander Morgado <aleksander.morgado@gmail.com>,
	Manivannan Sadhasivam <mani@kernel.org>
Cc: thomas.perrot@bootlin.com, Adam Xue <zxue@semtech.com>,
	Aleksander Morgado	 <aleksander@aleksander.es>,
	manivannan.sadhasivam@linaro.org,  slark_xiao@163.com,
	johan+linaro@kernel.org, quic_vpernami@quicinc.com,
	 tglx@linutronix.de, fabio.porcedda@gmail.com,
	quic_msarkar@quicinc.com,  mhi@lists.linux.dev,
	linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
		imocanu@semtech.com
Subject: Re: [PATCH v1] bus: mhi: host: pci_generic: Add support for EM929x and set MRU to 32768 for better performance.
Date: Fri, 20 Jun 2025 09:20:16 +0200	[thread overview]
Message-ID: <3e97885af5323dec728f40dc0176f7f82cdabf14.camel@bootlin.com> (raw)
In-Reply-To: <CAA3JqEfpuwn5OL6SasVGRU82+2+D5nNXk-WALzcnWnuz9384kQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1853 bytes --]

Hello,

On Tue, 2025-06-17 at 16:58 +0200, Aleksander Morgado wrote:
> On Tue, Jun 17, 2025 at 11:27 AM Manivannan Sadhasivam
> <mani@kernel.org> wrote:
> > 
> > On Wed, May 28, 2025 at 10:59:43AM -0700, Adam Xue wrote:
> > 
> > + Thomas and Aleksander (for EM919X related question)
> > 
> > > Add MHI controller config for EM929x. It uses the same
> > > configuration
> > > as EM919x. Also set the MRU to 32768 to improve downlink
> > > throughput.
> > > 
> > 
> > This also affects the EM919X modem. So I want either Thomas or
> > Aleksander to
> > confirm that it doesn't cause any regression.

Sorry, I no longer have the modem to test.

Kind regards,
Thomas Perrot

> > 
> > Rest looks good to me.
> > 
> > - Mani
> > 
> > > 02:00.0 Unassigned class [ff00]: Qualcomm Technologies, Inc
> > > Device 0308
> > >       Subsystem: Device 18d7:0301
> > > 
> > > Signed-off-by: Adam Xue <zxue@semtech.com>
> > > ---
> > >  drivers/bus/mhi/host/pci_generic.c | 4 ++++
> > >  1 file changed, 4 insertions(+)
> > > 
> > > diff --git a/drivers/bus/mhi/host/pci_generic.c
> > > b/drivers/bus/mhi/host/pci_generic.c
> > > index 03aa88795209..9bf8e7991745 100644
> > > --- a/drivers/bus/mhi/host/pci_generic.c
> > > +++ b/drivers/bus/mhi/host/pci_generic.c
> > > @@ -695,6 +695,7 @@ static const struct mhi_pci_dev_info
> > > mhi_sierra_em919x_info = {
> > >       .config = &modem_sierra_em919x_config,
> > >       .bar_num = MHI_PCI_DEFAULT_BAR_NUM,
> > >       .dma_data_width = 32,
> > > +     .mru_default = 32768,
> 
> I cannot test this now, I need to look for the EM9191 that I know I
> have somewhere, but this default MRU update feels right. Hopefully
> Thomas can verify.
> 

-- 
Thomas Perrot, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

  reply	other threads:[~2025-06-20  7:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-28 17:59 [PATCH v1] bus: mhi: host: pci_generic: Add support for EM929x and set MRU to 32768 for better performance Adam Xue
2025-06-17  9:27 ` Manivannan Sadhasivam
2025-06-17 14:58   ` Aleksander Morgado
2025-06-20  7:20     ` Thomas Perrot [this message]
2025-06-24 16:57   ` Adam Xue
2025-06-26 19:58     ` Adam Xue
2025-07-02  1:03       ` Manivannan Sadhasivam
2025-07-02  1:01 ` Manivannan Sadhasivam
  -- strict thread matches above, loose matches on Subject: below --
2025-05-21 23:46 Adam Xue

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=3e97885af5323dec728f40dc0176f7f82cdabf14.camel@bootlin.com \
    --to=thomas.perrot@bootlin.com \
    --cc=aleksander.morgado@gmail.com \
    --cc=aleksander@aleksander.es \
    --cc=fabio.porcedda@gmail.com \
    --cc=imocanu@semtech.com \
    --cc=johan+linaro@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mani@kernel.org \
    --cc=manivannan.sadhasivam@linaro.org \
    --cc=mhi@lists.linux.dev \
    --cc=quic_msarkar@quicinc.com \
    --cc=quic_vpernami@quicinc.com \
    --cc=slark_xiao@163.com \
    --cc=tglx@linutronix.de \
    --cc=zxue@semtech.com \
    /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).