linux-hardened/arch
Arnd Bergmann e27c49291a x86: Convert x86_platform_ops to timespec64
The x86 platform operations are fairly isolated, so it's easy to change
them from using timespec to timespec64. It has been checked that all the
users and callers are safe, and there is only one critical function that is
broken beyond 2106:

  pvclock_read_wallclock() uses a 32-bit number of seconds since the epoch
  to communicate the boot time between host and guest in a virtual
  environment. This will work until 2106, but fixing this is outside the
  scope of this change, Add a comment at least.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Acked-by: Radim Krčmář <rkrcmar@redhat.com>
Acked-by: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: jailhouse-dev@googlegroups.com
Cc: Borislav Petkov <bp@suse.de>
Cc: kvm@vger.kernel.org
Cc: y2038@lists.linaro.org
Cc: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
Cc: xen-devel@lists.xenproject.org
Cc: John Stultz <john.stultz@linaro.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Joao Martins <joao.m.martins@oracle.com>
Link: https://lkml.kernel.org/r/20180427201435.3194219-1-arnd@arndb.de
2018-05-19 14:03:14 +02:00
..
alpha y2038: alpha: Remove unneeded ipc uapi header files 2018-04-20 16:19:54 +02:00
arc time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
arm Merge branch 'linus' into timers/2038 2018-05-19 13:55:40 +02:00
arm64 Merge branch 'linus' into timers/2038 2018-05-19 13:55:40 +02:00
c6x time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
h8300 time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
hexagon Merge branch 'linus' into timers/2038 2018-05-19 13:55:40 +02:00
ia64 y2038: ia64: Remove unneeded ipc uapi header files 2018-04-20 16:19:56 +02:00
m68k time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
microblaze time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
mips Merge branch 'linus' into timers/2038 2018-05-19 13:55:40 +02:00
nds32 time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
nios2 time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
openrisc time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
parisc Merge branch 'linus' into timers/2038 2018-05-19 13:55:40 +02:00
powerpc Merge branch 'linus' into timers/2038 2018-05-19 13:55:40 +02:00
riscv RISC-V: build vdso-dummy.o with -no-pie 2018-04-24 10:54:46 -07:00
s390 Merge branch 'linus' into timers/2038 2018-05-19 13:55:40 +02:00
sh Merge branch 'linus' into timers/2038 2018-05-19 13:55:40 +02:00
sparc Merge branch 'linus' into timers/2038 2018-05-19 13:55:40 +02:00
um time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
unicore32 time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
x86 x86: Convert x86_platform_ops to timespec64 2018-05-19 14:03:14 +02:00
xtensa y2038: xtensa: Extend sysvipc data structures 2018-04-20 16:20:15 +02:00
.gitignore
Kconfig Merge branch 'linus' into timers/2038 2018-05-19 13:55:40 +02:00