RISC-V: User-Visible Changes
authorPalmer Dabbelt <palmer@sifive.com>
Fri, 1 Dec 2017 21:12:10 +0000 (13:12 -0800)
committerPalmer Dabbelt <palmer@sifive.com>
Fri, 1 Dec 2017 21:12:10 +0000 (13:12 -0800)
This merge contains the user-visible, ABI-breaking changes that we want
to make sure we have in Linux before our first release.   Highlights
include:

* VDSO entries for clock_get/gettimeofday/getcpu have been added.  These
  are simple syscalls now, but we want to let glibc use them from the
  start so we can make them faster later.
* A VDSO entry for instruction cache flushing has been added so
  userspace can flush the instruction cache.
* The VDSO symbol versions for __vdso_cmpxchg{32,64} have been removed,
  as those VDSO entries don't actually exist.

Conflicts:
        arch/riscv/include/asm/tlbflush.h

1  2 
arch/riscv/include/asm/tlbflush.h

  
  #ifdef CONFIG_MMU
  
 -/* Flush entire local TLB */
+ #include <linux/mm_types.h>
 +/*
 + * Flush entire local TLB.  'sfence.vma' implicitly fences with the instruction
 + * cache as well, so a 'fence.i' is not necessary.
 + */
  static inline void local_flush_tlb_all(void)
  {
        __asm__ __volatile__ ("sfence.vma" : : : "memory");