* [PATCH 1/2] vdso.7: Remove outdated limitation for powerpc
@ 2021-07-03 17:26 Alejandro Colomar
2021-07-03 17:26 ` [PATCH 2/2] vdso.7: Add y2038 compliant gettime for ppc/32 Alejandro Colomar
0 siblings, 1 reply; 2+ messages in thread
From: Alejandro Colomar @ 2021-07-03 17:26 UTC (permalink / raw)
To: mtk.manpages; +Cc: Alejandro Colomar, linux-man, Christophe Leroy
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")
]
Reported-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
man7/vdso.7 | 26 --------------------------
1 file changed, 26 deletions(-)
diff --git a/man7/vdso.7 b/man7/vdso.7
index ef6bef5bd..1d527c38e 100644
--- a/man7/vdso.7
+++ b/man7/vdso.7
@@ -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.
--
2.32.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 2/2] vdso.7: Add y2038 compliant gettime for ppc/32
2021-07-03 17:26 [PATCH 1/2] vdso.7: Remove outdated limitation for powerpc Alejandro Colomar
@ 2021-07-03 17:26 ` Alejandro Colomar
0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Colomar @ 2021-07-03 17:26 UTC (permalink / raw)
To: mtk.manpages; +Cc: Alejandro Colomar, linux-man, Christophe Leroy
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
Reported-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
man7/vdso.7 | 1 +
1 file changed, 1 insertion(+)
diff --git a/man7/vdso.7 b/man7/vdso.7
index 1d527c38e..5fb22ab5e 100644
--- a/man7/vdso.7
+++ b/man7/vdso.7
@@ -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
--
2.32.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-03 17:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-03 17:26 [PATCH 1/2] vdso.7: Remove outdated limitation for powerpc Alejandro Colomar
2021-07-03 17:26 ` [PATCH 2/2] vdso.7: Add y2038 compliant gettime for ppc/32 Alejandro Colomar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.