Netdev List
 help / color / mirror / Atom feed
From: Vadim Fedorenko <vadim.fedorenko@linux.dev>
To: Jakub Kicinski <kuba@kernel.org>
Cc: Rodolfo Giometti <giometti@enneenne.com>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH] pps: make number of PPS devices configurable
Date: Thu, 14 May 2026 15:03:03 +0100	[thread overview]
Message-ID: <65a3d091-0648-4c6c-8062-869d0fcec8dc@linux.dev> (raw)
In-Reply-To: <20260514065526.2ed937dc@kernel.org>

On 14/05/2026 14:55, Jakub Kicinski wrote:
> On Thu, 14 May 2026 11:26:14 +0000 Vadim Fedorenko wrote:
>> Modern systems may have more than 16 PPS sources and current hard-coded
>> limit breaks registration of some devices. Make the limit configurable
>> via Kconfig, keep default value of 16 devices. UAPI has to be changed to
>> support maximum possible number.
> 
> Hm, since this is effectively just sizing an IDR maybe we should just
> bump it to 64? It appears to cost nothing if not used.

Just bump to 64, but keep it constant? In this case maybe 256 just to
align with the max minor value for chardev (in compat mode)?

  reply	other threads:[~2026-05-14 14:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-14 11:26 [RFC PATCH] pps: make number of PPS devices configurable Vadim Fedorenko
2026-05-14 13:55 ` Jakub Kicinski
2026-05-14 14:03   ` Vadim Fedorenko [this message]
2026-05-14 14:08     ` Jakub Kicinski
2026-05-14 14:09       ` Vadim Fedorenko
2026-05-14 14:57 ` Rodolfo Giometti

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=65a3d091-0648-4c6c-8062-869d0fcec8dc@linux.dev \
    --to=vadim.fedorenko@linux.dev \
    --cc=giometti@enneenne.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.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