2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 13:43:55 +08:00
linux-next/arch/riscv/kernel/vdso
Palmer Dabbelt 9e49a4ed07
RISC-V: Make __NR_riscv_flush_icache visible to userspace
We were hoping to avoid making this visible to userspace, but it looks
like we're going to have to because QEMU's user-mode emulation doesn't
want to emulate a vDSO.  Having vDSO-only system calls was a bit
unothodox anyway, so I think in this case it's OK to just make the
actual system call number public.

This patch simply moves the definition of __NR_riscv_flush_icache
availiable to userspace, which results in the deletion of the now empty
vdso-syscalls.h.

Changes since v1:

* I've moved the definition into uapi/asm/syscalls.h rathen than
  uapi/asm/unistd.h.  This allows me to keep asm/unistd.h, so we can
  keep the syscall table macros sane.
* As a side effect of the above, this no longer disables all system
  calls on RISC-V.  Whoops!

Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
2018-01-07 15:14:37 -08:00
..
.gitignore RISC-V: User-facing API 2017-09-26 15:26:48 -07:00
clock_getres.S RISC-V: Add VDSO entries for clock_get/gettimeofday/getcpu 2017-11-27 07:51:39 -08:00
clock_gettime.S RISC-V: Add VDSO entries for clock_get/gettimeofday/getcpu 2017-11-27 07:51:39 -08:00
flush_icache.S RISC-V: Make __NR_riscv_flush_icache visible to userspace 2018-01-07 15:14:37 -08:00
getcpu.S RISC-V: Add VDSO entries for clock_get/gettimeofday/getcpu 2017-11-27 07:51:39 -08:00
gettimeofday.S RISC-V: Add VDSO entries for clock_get/gettimeofday/getcpu 2017-11-27 07:51:39 -08:00
Makefile RISC-V: Allow userspace to flush the instruction cache 2017-11-30 12:58:29 -08:00
rt_sigreturn.S RISC-V: User-facing API 2017-09-26 15:26:48 -07:00
vdso.lds.S RISC-V: Allow userspace to flush the instruction cache 2017-11-30 12:58:29 -08:00
vdso.S RISC-V: User-facing API 2017-09-26 15:26:48 -07:00