linux-stable/arch/powerpc/kernel/vdso32
Christophe Leroy e963b7a28b powerpc/vdso32: Fallback on getres syscall when clock is unknown
There are other clocks than the standard ones, for instance
per process clocks. Therefore, being above the last standard clock
doesn't mean it is a bad clock. So, fallback to syscall instead
of returning -EINVAL inconditionaly.

Fixes: e33ffc956b ("powerpc/vdso32: implement clock_getres entirely")
Cc: stable@vger.kernel.org # v5.6+
Reported-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Tested-by: Aurelien Jarno <aurelien@aurel32.net>
Link: https://lore.kernel.org/r/7316a9e2c0c2517923eb4b0411c4a08d15e675a4.1589017281.git.christophe.leroy@csgroup.eu
2020-05-11 19:24:29 +10:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
cacheflush.S powerpc/vdso32: Don't read cache line size from the datapage on PPC32. 2020-01-23 21:31:15 +11:00
datapage.S powerpc/vdso32: miscellaneous optimisations 2020-01-23 21:31:16 +11:00
getcpu.S powerpc/vdso32: miscellaneous optimisations 2020-01-23 21:31:16 +11:00
gettimeofday.S powerpc/vdso32: Fallback on getres syscall when clock is unknown 2020-05-11 19:24:29 +10:00
Makefile powerpc/32: Add VDSO version of getcpu on non SMP 2020-01-23 21:31:14 +11:00
note.S powerpc: Add build salt to the vDSO 2018-07-18 01:18:05 +09:00
sigtramp.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
vdso32.lds.S powerpc/32: Add VDSO version of getcpu on non SMP 2020-01-23 21:31:14 +11:00
vdso32_wrapper.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00