* [PATCH net-next] pps: bump PPS device count
@ 2026-05-15 13:50 Vadim Fedorenko
2026-05-18 23:22 ` Jakub Kicinski
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Vadim Fedorenko @ 2026-05-15 13:50 UTC (permalink / raw)
To: Rodolfo Giometti, Jakub Kicinski; +Cc: netdev, linux-kernel, Vadim Fedorenko
Modern systems may have more than 16 PPS sources and current hard-coded
limit breaks registration of some devices. Let's bump the limit to 256
in hope it will be enough in foreseen future.
Signed-off-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
---
include/uapi/linux/pps.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/linux/pps.h b/include/uapi/linux/pps.h
index 009ebcd8ced5..1088dea65e12 100644
--- a/include/uapi/linux/pps.h
+++ b/include/uapi/linux/pps.h
@@ -26,7 +26,7 @@
#include <linux/types.h>
#define PPS_VERSION "5.3.6"
-#define PPS_MAX_SOURCES 16 /* should be enough... */
+#define PPS_MAX_SOURCES 256 /* should be enough... */
/* Implementation note: the logical states ``assert'' and ``clear''
* are implemented in terms of the chip register, i.e. ``assert''
--
2.47.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] pps: bump PPS device count
2026-05-15 13:50 [PATCH net-next] pps: bump PPS device count Vadim Fedorenko
@ 2026-05-18 23:22 ` Jakub Kicinski
2026-05-19 5:47 ` Rodolfo Giometti
2026-05-19 16:50 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: Jakub Kicinski @ 2026-05-18 23:22 UTC (permalink / raw)
To: Rodolfo Giometti; +Cc: Vadim Fedorenko, netdev, linux-kernel
On Fri, 15 May 2026 13:50:28 +0000 Vadim Fedorenko wrote:
> Modern systems may have more than 16 PPS sources and current hard-coded
> limit breaks registration of some devices. Let's bump the limit to 256
> in hope it will be enough in foreseen future.
>
> Signed-off-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Hi Rodolfo! Could you TAL / ack?
Or perhaps you have a tree via which you'll route this?
> diff --git a/include/uapi/linux/pps.h b/include/uapi/linux/pps.h
> index 009ebcd8ced5..1088dea65e12 100644
> --- a/include/uapi/linux/pps.h
> +++ b/include/uapi/linux/pps.h
> @@ -26,7 +26,7 @@
> #include <linux/types.h>
>
> #define PPS_VERSION "5.3.6"
> -#define PPS_MAX_SOURCES 16 /* should be enough... */
> +#define PPS_MAX_SOURCES 256 /* should be enough... */
>
> /* Implementation note: the logical states ``assert'' and ``clear''
> * are implemented in terms of the chip register, i.e. ``assert''
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] pps: bump PPS device count
2026-05-15 13:50 [PATCH net-next] pps: bump PPS device count Vadim Fedorenko
2026-05-18 23:22 ` Jakub Kicinski
@ 2026-05-19 5:47 ` Rodolfo Giometti
2026-05-19 16:50 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: Rodolfo Giometti @ 2026-05-19 5:47 UTC (permalink / raw)
To: Vadim Fedorenko, Jakub Kicinski
Cc: netdev, linux-kernel, Andrew Morton, Greg Kroah-Hartman
On 5/15/26 15:50, Vadim Fedorenko wrote:
> Modern systems may have more than 16 PPS sources and current hard-coded
> limit breaks registration of some devices. Let's bump the limit to 256
> in hope it will be enough in foreseen future.
>
> Signed-off-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Acked-by: Rodolfo Giometti <giometti@enneenne.com>
> ---
> include/uapi/linux/pps.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/uapi/linux/pps.h b/include/uapi/linux/pps.h
> index 009ebcd8ced5..1088dea65e12 100644
> --- a/include/uapi/linux/pps.h
> +++ b/include/uapi/linux/pps.h
> @@ -26,7 +26,7 @@
> #include <linux/types.h>
>
> #define PPS_VERSION "5.3.6"
> -#define PPS_MAX_SOURCES 16 /* should be enough... */
> +#define PPS_MAX_SOURCES 256 /* should be enough... */
>
> /* Implementation note: the logical states ``assert'' and ``clear''
> * are implemented in terms of the chip register, i.e. ``assert''
--
GNU/Linux Solutions e-mail: giometti@enneenne.com
Linux Device Driver giometti@linux.it
Embedded Systems phone: +39 349 2432127
UNIX programming
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] pps: bump PPS device count
2026-05-15 13:50 [PATCH net-next] pps: bump PPS device count Vadim Fedorenko
2026-05-18 23:22 ` Jakub Kicinski
2026-05-19 5:47 ` Rodolfo Giometti
@ 2026-05-19 16:50 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-05-19 16:50 UTC (permalink / raw)
To: Vadim Fedorenko; +Cc: giometti, kuba, netdev, linux-kernel
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Fri, 15 May 2026 13:50:28 +0000 you wrote:
> Modern systems may have more than 16 PPS sources and current hard-coded
> limit breaks registration of some devices. Let's bump the limit to 256
> in hope it will be enough in foreseen future.
>
> Signed-off-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
> ---
> include/uapi/linux/pps.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- [net-next] pps: bump PPS device count
https://git.kernel.org/netdev/net-next/c/9bf93cb2e180
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-05-19 16:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-15 13:50 [PATCH net-next] pps: bump PPS device count Vadim Fedorenko
2026-05-18 23:22 ` Jakub Kicinski
2026-05-19 5:47 ` Rodolfo Giometti
2026-05-19 16:50 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox