[PATCH v2 0/4] MIPS: Fix several VDSO-related issues

From: Aleksandar Markovic
Date: Wed Jun 28 2017 - 11:55:58 EST


From: Aleksandar Markovic <aleksandar.markovic@xxxxxxxxxx>

v1->v2:

- updated recipient lists using get_maintainer.pl
- rebased to the letest kernel code

The patches in this series all deal with VDSO, and all originate from
the develpoment of Android emulator for Mips..

The first patch is a fix for incorrect time values returned under
certain conditions.

The second and third patches provide fallback mechanism for
clock_gettime() and gettimeofday() system calls within kernel VDSO
code. This actually brings Mips code to be in sync with other major
platforms (intel, arm, and others) (with respect to the division of
responsibility between glibc and kernel regarding VDSO functions
fallbacks). It seems to us that proposed organization is simpler
and easier for maintenance in the long run. However, since it affects
interaction between glibc and kernel, it needs to be communicated to
and reviewed by Mips glibc developers.

The fourth patch is just a correction of a comment.

Aleksandar Markovic (1):
MIPS: VDSO: Fix a mismatch between comment and preprocessor constant

Goran Ferenc (3):
MIPS: VDSO: Fix conversions in do_monotonic()/do_monotonic_coarse()
MIPS: VDSO: Add implementation of clock_gettime() fallback
MIPS: VDSO: Add implementation of gettimeofday() fallback

arch/mips/include/asm/vdso.h | 4 +--
arch/mips/vdso/gettimeofday.c | 59 ++++++++++++++++++++++++++++++++++++-------
2 files changed, 52 insertions(+), 11 deletions(-)

--
2.7.4