Tested using
$ find /usr/src -name pps.h | xargs grep PPS_MAX_SOURCES
/usr/src/linux-nvidia-7.0-headers-7.0.0-1020/include/uapi/linux/pps.h:#define
PPS_MAX_SOURCES 16 /* should be enough... */
/usr/src/linux-nvidia-7.0-headers-7.0.0-1021/include/uapi/linux/pps.h:#define
PPS_MAX_SOURCES 256 /* should be enough... */
and
major=$(awk '$2=="pps"{print $1}' /proc/devices)
mknod /tmp/pps255 c $major 255
strace -P /tmp/pps255 cat /tmp/pps255
# ENXIO -> No cdev for that minor, PPS_MAX_SOURCES<256
# ENODEV -> No entry in the pps_idr (pps_cdev_open()), PPS_MAX_SOURCES>=256
rm /tmp/pps255
Baseline (linux-image-7.0.0-1020-nvidia-64k)
openat(AT_FDCWD, "/tmp/pps255", O_RDONLY) = -1 ENXIO (No such device or
address)
Candidate (linux-image-7.0.0-1021-nvidia-64k)
openat(AT_FDCWD, "/tmp/pps255", O_RDONLY) = -1 ENODEV (No such device)
Test result good.
** Tags removed: verification-needed-noble-linux-nvidia-7.0
** Tags added: verification-done-noble-linux-nvidia-7.0
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2167488
Title:
Backport "pps: bump PPS device count"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-nvidia/+bug/2167488/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs