From: "Slark Xiao" <slark_xiao@163.com>
To: "Sergey Ryazanov" <ryazanov.s.a@gmail.com>
Cc: "Loic Poulain" <loic.poulain@oss.qualcomm.com>,
"Muhammad Nuzaihan" <zaihan@unrealasia.net>,
"Johannes Berg" <johannes@sipsolutions.net>,
"Andrew Lunn" <andrew+netdev@lunn.ch>,
"Eric Dumazet" <edumazet@google.com>,
"David S . Miller" <davem@davemloft.net>,
"Jakub Kicinski" <kuba@kernel.org>,
"Paolo Abeni" <pabeni@redhat.com>,
netdev@vger.kernel.org, "Qiang Yu" <quic_qianyu@quicinc.com>,
"Manivannan Sadhasivam" <mani@kernel.org>,
"Johan Hovold" <johan@kernel.org>
Subject: Re:Re: [RFC PATCH v2 0/6] net: wwan: add NMEA port type support
Date: Tue, 16 Sep 2025 15:23:20 +0800 (CST) [thread overview]
Message-ID: <317b6512.6a9b.1995168196c.Coremail.slark_xiao@163.com> (raw)
In-Reply-To: <19a5c6e0-fd2a-4cba-92ed-b5c09d68e90c@gmail.com>
At 2025-09-15 00:43:05, "Sergey Ryazanov" <ryazanov.s.a@gmail.com> wrote:
>Hi Slark,
>
>On 9/11/25 05:42, Slark Xiao wrote:
>> At 2025-06-30 15:30:14, "Loic Poulain" <loic.poulain@oss.qualcomm.com> wrote:
>>> On Sun, Jun 29, 2025 at 12:07 PM Sergey Ryazanov <ryazanov.s.a@gmail.com> wrote:
>>>> On 6/29/25 05:50, Loic Poulain wrote:
>>>>> On Tue, Jun 24, 2025 at 11:39 PM Sergey Ryazanov <ryazanov.s.a@gmail.com> wrote:
>>>>>> The series introduces a long discussed NMEA port type support for the
>>>>>> WWAN subsystem. There are two goals. From the WWAN driver perspective,
>>>>>> NMEA exported as any other port type (e.g. AT, MBIM, QMI, etc.). From
>>>>>> user space software perspective, the exported chardev belongs to the
>>>>>> GNSS class what makes it easy to distinguish desired port and the WWAN
>>>>>> device common to both NMEA and control (AT, MBIM, etc.) ports makes it
>>>>>> easy to locate a control port for the GNSS receiver activation.
>>>>>>
>>>>>> Done by exporting the NMEA port via the GNSS subsystem with the WWAN
>>>>>> core acting as proxy between the WWAN modem driver and the GNSS
>>>>>> subsystem.
>>>>>>
>>>>>> The series starts from a cleanup patch. Then two patches prepares the
>>>>>> WWAN core for the proxy style operation. Followed by a patch introding a
>>>>>> new WWNA port type, integration with the GNSS subsystem and demux. The
>>>>>> series ends with a couple of patches that introduce emulated EMEA port
>>>>>> to the WWAN HW simulator.
>>>>>>
>>>>>> The series is the product of the discussion with Loic about the pros and
>>>>>> cons of possible models and implementation. Also Muhammad and Slark did
>>>>>> a great job defining the problem, sharing the code and pushing me to
>>>>>> finish the implementation. Many thanks.
>>>>>>
>>>>>> Comments are welcomed.
>>>>>>
>>>>>> Slark, Muhammad, if this series suits you, feel free to bundle it with
>>>>>> the driver changes and (re-)send for final inclusion as a single series.
>>>>>>
>>>>>> Changes RFCv1->RFCv2:
>>>>>> * Uniformly use put_device() to release port memory. This made code less
>>>>>> weird and way more clear. Thank you, Loic, for noticing and the fix
>>>>>> discussion!
>>>>>
>>>>> I think you can now send that series without the RFC tag. It looks good to me.
>>>>
>>>> Thank you for reviewing it. Do you think it makes sense to introduce new
>>>> API without an actual user? Ok, we have two drivers potentially ready to
>>>> use GNSS port type, but they are not yet here. That is why I have send
>>>> as RFC. On another hand, testing with simulator has not revealed any
>>>> issue and GNSS port type implementation looks ready to be merged.
>>>
>>> Right, we need a proper user for it, I think some MHI PCIe modems already
>>> have this NMEA port available, so it can easily be added to this PR. For sure
>>> we will need someone to test this.
>>>
>> Hi Loic, Sergey,
>> Any update about this topic?
>> If you want to test it, we can provide some help on this. Also, I think the quicinc
>> center may also do some test. You can contact it with Mani for further details.
>
>Basically the functionality is done, Loic has reviewed it, while not
>formally acked yet. And it can be merged just now. On another hand we
>have no users for it. That is why I have not sent it as a final patch.
>
>I was expected you, Slark, or Muhammad will take these patches,
>incorporate into a driver change that introduces NMEA port export and we
>can merge all together. Or if you prefer this series being merged first
>and then you will send your changes. In this case I need a green light
>from you that you tested this series locally and there are no objections.
>
>To summarize, we have two options:
>a) you incorporate this series into your changes and send a bigger
>series implementing everything from driver to the core;
>b) we merge this series as it is, and then you send an follow up changes
>introducing a driver support.
>
>Slark, Muhammad, let me know, which way is more suitable for you.
>
>--
>Sergey
I would prefer to select option (b).
Basically there is no big problem in my local based on your V1 patches .
And I think it's hard to reach to 100% for a new feature. There must be have
some extra patches to complete it.
How about your opinion, Mani?
next prev parent reply other threads:[~2025-09-16 7:24 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-24 21:37 [RFC PATCH v2 0/6] net: wwan: add NMEA port type support Sergey Ryazanov
2025-06-24 21:37 ` [RFC PATCH v2 1/6] net: wwan: core: remove unused port_id field Sergey Ryazanov
2025-06-24 21:37 ` [RFC PATCH v2 2/6] net: wwan: core: split port creation and registration Sergey Ryazanov
2025-06-24 21:37 ` [RFC PATCH v2 3/6] net: wwan: core: split port unregister and stop Sergey Ryazanov
2025-06-24 21:37 ` [RFC PATCH v2 4/6] net: wwan: add NMEA port support Sergey Ryazanov
2025-06-24 21:38 ` [RFC PATCH v2 5/6] net: wwan: hwsim: refactor to support more port types Sergey Ryazanov
2025-06-24 21:38 ` [RFC PATCH v2 6/6] net: wwan: hwsim: support NMEA port emulation Sergey Ryazanov
2025-06-29 2:50 ` [RFC PATCH v2 0/6] net: wwan: add NMEA port type support Loic Poulain
2025-06-29 10:07 ` Sergey Ryazanov
2025-06-30 7:30 ` Loic Poulain
2025-09-11 2:42 ` Slark Xiao
2025-09-14 16:43 ` Sergey Ryazanov
2025-09-16 7:23 ` Slark Xiao [this message]
2025-09-22 8:03 ` Loic Poulain
2025-09-22 20:19 ` Daniele Palmas
2025-09-30 7:10 ` Daniele Palmas
2025-10-02 15:44 ` Loic Poulain
2025-10-08 21:01 ` Sergey Ryazanov
2025-10-10 13:47 ` Daniele Palmas
2025-10-12 22:55 ` Sergey Ryazanov
2025-11-14 7:08 ` Slark Xiao
2025-11-19 11:27 ` Loic Poulain
2025-11-24 6:57 ` Slark Xiao
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=317b6512.6a9b.1995168196c.Coremail.slark_xiao@163.com \
--to=slark_xiao@163.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=johan@kernel.org \
--cc=johannes@sipsolutions.net \
--cc=kuba@kernel.org \
--cc=loic.poulain@oss.qualcomm.com \
--cc=mani@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=quic_qianyu@quicinc.com \
--cc=ryazanov.s.a@gmail.com \
--cc=zaihan@unrealasia.net \
/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).