lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 17 Feb 2020 15:11:58 -0000
From:   "tip-bot2 for Thomas Gleixner" <>
Cc:     Thomas Gleixner <>,
        Vincenzo Frascino <>,
        x86 <>, LKML <>
Subject: [tip: timers/core] MIPS: vdso: Compile high resolution parts conditionally

The following commit has been merged into the timers/core branch of tip:

Commit-ID:     25a2a6567829119f5e3e11eb0ce3d8ae985b6019
Author:        Thomas Gleixner <>
AuthorDate:    Fri, 07 Feb 2020 13:38:52 +01:00
Committer:     Thomas Gleixner <>
CommitterDate: Mon, 17 Feb 2020 14:40:21 +01:00

MIPS: vdso: Compile high resolution parts conditionally

If neither the R4K nor the GIC timer is enabled in the kernel configuration
then let the core VDSO code drop the high resolution parts at compile time.

Signed-off-by: Thomas Gleixner <>
Reviewed-by: Vincenzo Frascino <>

 arch/mips/include/asm/vdso/gettimeofday.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/mips/include/asm/vdso/gettimeofday.h b/arch/mips/include/asm/vdso/gettimeofday.h
index a58687e..a9f846b 100644
--- a/arch/mips/include/asm/vdso/gettimeofday.h
+++ b/arch/mips/include/asm/vdso/gettimeofday.h
@@ -199,6 +199,13 @@ static __always_inline u64 __arch_get_hw_counter(s32 clock_mode)
 	return cycle_now;
+static inline bool mips_vdso_hres_capable(void)
+#define __arch_vdso_hres_capable mips_vdso_hres_capable
 static __always_inline const struct vdso_data *__arch_get_vdso_data(void)
 	return get_vdso_data();

Powered by blists - more mailing lists