vdso.7: Remove outdated limitation for powerpc
PATCH 1/2 vdso.7: Remove outdated limitation for powerpc
Christophe Leroy via Bugzilla:
[
https://man7.org/linux/man-pages/man7/vdso.7.html
(as of today, flagged 2021-03-22)
ppc/32 and ppc/64 sections both have the following note:
The CLOCK_REALTIME_COARSE and CLOCK_MONOTONIC_COARSE clocks are not supported by the __kernel_clock_getres and __kernel_clock_gettime interfaces; the kernel falls back to the real system call
This note has been wrong from quite some time now,
since commit 654abc69ef2e
("powerpc/vdso32: Add support for CLOCK_{REALTIME/MONOTONIC}_COARSE") and commit 5c929885f1bb
("powerpc/vdso64: Add support for CLOCK_{REALTIME/MONOTONIC}_COARSE") ]
--- man7/vdso.7 | 26 -------------------------- 1 file changed, 26 deletions(-)
man7/vdso.7 +0 -26
@@ -385,19 +385,6 @@ __kernel_sync_dicache_p5 LINUX_2.6.15 .in .ft P \} -.PP -The -.B CLOCK_REALTIME_COARSE -and -.B CLOCK_MONOTONIC_COARSE -clocks are -.I not -supported by the -.I __kernel_clock_getres -and -.I __kernel_clock_gettime -interfaces; -the kernel falls back to the real system call. .SS ppc/64 functions .\" See linux/arch/powerpc/kernel/vdso64/vdso64.lds.S The table below lists the symbols exported by the vDSO.
@@ -423,19 +410,6 @@ __kernel_sync_dicache_p5 LINUX_2.6.15 .in .ft P \} -.PP -The -.B CLOCK_REALTIME_COARSE -and -.B CLOCK_MONOTONIC_COARSE -clocks are -.I not -supported by the -.I __kernel_clock_getres -and -.I __kernel_clock_gettime -interfaces; -the kernel falls back to the real system call. .SS riscv functions .\" See linux/arch/riscv/kernel/vdso/vdso.lds.S The table below lists the symbols exported by the vDSO.
Signature · 1 line
2.32.0
PATCH 2/2 vdso.7: Add y2038 compliant gettime for ppc/32
Christophe Leroy via Bugzilla:
[
https://man7.org/linux/man-pages/man7/vdso.7.html (2021-03-22)
In ppc32 functions section, the Y2038 compliant function __kernel_clock_gettime64() is missing.
It was added by commit d0e3fc69d00d
("powerpc/vdso: Provide __kernel_clock_gettime64() on vdso32") ]
.../linux$ git describe d0e3fc69d00d
v5.10-rc2-76-gd0e3fc69d00d
--- man7/vdso.7 | 1 + 1 file changed, 1 insertion(+)
man7/vdso.7 +1 -0
@@ -371,6 +371,7 @@ symbol version _ __kernel_clock_getres LINUX_2.6.15 __kernel_clock_gettime LINUX_2.6.15 +__kernel_clock_gettime64 LINUX_5.10 __kernel_datapage_offset LINUX_2.6.15 __kernel_get_syscall_map LINUX_2.6.15 __kernel_get_tbfreq LINUX_2.6.15
Signature · 1 line
2.32.0