]> git.baikalelectronics.ru Git - kernel.git/commit
x86/vdso: Enforce 64bit clocksource
authorThomas Gleixner <tglx@linutronix.de>
Mon, 17 Sep 2018 12:45:36 +0000 (14:45 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 4 Oct 2018 21:00:25 +0000 (23:00 +0200)
commit8cc65d78df2dc1c04694f69d94bfdd137ac71864
tree2107e5215493d436ddf89573c2ebdf59d6267961
parente5dbdef6e939b19d36e72919d1c8bd0552a796a3
x86/vdso: Enforce 64bit clocksource

All VDSO clock sources are TSC based and use CLOCKSOURCE_MASK(64). There is
no point in masking with all FF. Get rid of it and enforce the mask in the
sanity checker.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Andy Lutomirski <luto@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Matt Rickard <matt@softrans.com.au>
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Florian Weimer <fweimer@redhat.com>
Cc: "K. Y. Srinivasan" <kys@microsoft.com>
Cc: Vitaly Kuznetsov <vkuznets@redhat.com>
Cc: devel@linuxdriverproject.org
Cc: virtualization@lists.linux-foundation.org
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Juergen Gross <jgross@suse.com>
Link: https://lkml.kernel.org/r/20180917130707.151963007@linutronix.de
arch/x86/entry/vdso/vclock_gettime.c
arch/x86/kernel/time.c