From: Kory Maincent <kory.maincent@bootlin.com>
To: Carlo Szelinsky <github@szelinsky.de>
Cc: Oleksij Rempel <o.rempel@pengutronix.de>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S . Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Lee Jones <lee@kernel.org>, Pavel Machek <pavel@kernel.org>,
Jonas Jelonek <jelonek.jonas@gmail.com>,
Ross Cawston <ross@r-sc.ca>,
netdev@vger.kernel.org, linux-leds@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next v6 1/2] net: pse-pd: add pse_poll_helper()
Date: Wed, 2 Dec 2026 18:46:50 +0100 [thread overview]
Message-ID: <6c98259f-9d4d-4c08-b43e-a963538bacec@bootlin.com> (raw)
In-Reply-To: <20261202173527.207388-1-github@szelinsky.de>
On 12/2/26 18:35, Carlo Szelinsky wrote:
> Hi Kory,
>
>> I would prefer here to use an internal sub structure with its content
>> not accessible from the drivers.
>
> Makes sense. poll_interval_ms is the only field a driver sets, so I
> would make it a pse_poll_helper() argument and hide the rest. Is that
> ok for you?
Wondering if there is an interest of having this polling time
configurable in the driver. This is not really related to the hardware,
right? Do you have in mind a case were we would like to have a driver
change this value? If not, set it to the default for now and we will
change it in the future if the need raise.
>> I am glad to see this development and have tested it on a new project
>> that does not have the interruption line wired. So you have saved some
>> of my time. Thank you!
>
> Thanks for testing! Happy to add your Tested-by if you try v7.
Yes, will surely do.
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2026-12-02 17:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-28 12:15 [PATCH net-next v6 0/2] net: pse-pd: add poll path and LED trigger support Carlo Szelinsky
2026-11-28 12:15 ` [PATCH net-next v6 1/2] net: pse-pd: add pse_poll_helper() Carlo Szelinsky
2026-11-30 15:25 ` Kory Maincent
2026-12-02 17:35 ` Carlo Szelinsky
2026-12-02 17:46 ` Kory Maincent [this message]
2026-11-28 12:15 ` [PATCH net-next v6 2/2] net: pse-pd: add LED trigger support via notification path Carlo Szelinsky
2026-11-29 12:15 ` sashiko-bot
2026-12-02 17:36 ` Carlo Szelinsky
2026-11-30 16:31 ` Kory Maincent
2026-12-02 17:36 ` Carlo Szelinsky
2026-12-02 17:54 ` Kory Maincent
2026-11-29 12:16 ` [PATCH net-next v6 0/2] net: pse-pd: add poll path and LED trigger support sashiko-bot
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=6c98259f-9d4d-4c08-b43e-a963538bacec@bootlin.com \
--to=kory.maincent@bootlin.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=github@szelinsky.de \
--cc=jelonek.jonas@gmail.com \
--cc=kuba@kernel.org \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=o.rempel@pengutronix.de \
--cc=pabeni@redhat.com \
--cc=pavel@kernel.org \
--cc=ross@r-sc.ca \
/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