Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760275AbeAISEB (ORCPT + 1 other); Tue, 9 Jan 2018 13:04:01 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:44805 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751935AbeAISD7 (ORCPT ); Tue, 9 Jan 2018 13:03:59 -0500 X-Google-Smtp-Source: ACJfBou/A+hSLODsvNZHTyIwqUPpoWaA9JAoftawFQ8RGsffJutwBZuVZkn5L1IJhvu+ajfVrJhaqw== Date: Tue, 09 Jan 2018 10:03:57 -0800 (PST) X-Google-Original-Date: Tue, 09 Jan 2018 10:03:47 PST (-0800) Subject: [GIT PULL] RISC-V changes for 4.15-rc8 CC: patches@groups.riscv.org, linux-kernel@vger.kernel.org From: Palmer Dabbelt To: Linus Torvalds Message-ID: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: The following changes since commit b2cd1df66037e7c4697c7e40496bf7e4a5e16a2d: Linux 4.15-rc7 (2018-01-07 14:22:41 -0800) are available in the git repository at: ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/palmer/linux.git tags/riscv-for-linus-4.15-rc8_cleanups for you to fetch changes up to 1125203c13b9da32125e171b4bd75e93d4918ddd: riscv: rename SR_* constants to match the spec (2018-01-07 15:14:39 -0800) ---------------------------------------------------------------- RISC-V changes for 4.15-rc8 This contains what I hope are the last RISC-V changes to go into 4.15. I know it's a bit last minute, but I think they're all fairly small changes: * SR_* constants have been renamed to match the latest ISA specification. * Some CONFIG_MMU #ifdef cruft has been removed. We've never supported !CONFIG_MMU. * __NR_riscv_flush_icache is now visible to userspace. We were hoping to avoid making this public in order to force userspace to call the vDSO entry, but it looks like QEMU's user-mode emulation doesn't want to emulate a vDSO. In order to allow glibc to fall back to a system call when the vDSO entry doesn't exist we're just * Our defconfig is no long empty. This is another one that just slipped through the cracks. The defconfig isn't perfect, but it's at least close to what users will want for the first RISC-V development board. Getting closer is kind of splitting hairs here: none of the RISC-V specific drivers are in yet, so it's not like things will boot out of the box. The only one that's strictly necessary is the __NR_riscv_flush_icache change, as I want that to be part of the public API starting from our first kernel so nobody has to worry about it. The others are nice to haves, but they seem sane for 4.15 to me. ---------------------------------------------------------------- Christoph Hellwig (2): riscv: remove CONFIG_MMU ifdefs riscv: rename SR_* constants to match the spec Karsten Merker (1): RISC-V: Add a basic defconfig Palmer Dabbelt (1): RISC-V: Make __NR_riscv_flush_icache visible to userspace arch/riscv/configs/defconfig | 75 ++++++++++++++++++++++++++++++++++ arch/riscv/include/asm/csr.h | 8 ++-- arch/riscv/include/asm/io.h | 4 -- arch/riscv/include/asm/irqflags.h | 10 ++--- arch/riscv/include/asm/pgtable.h | 4 -- arch/riscv/include/asm/ptrace.h | 2 +- arch/riscv/include/asm/tlbflush.h | 4 -- arch/riscv/include/asm/uaccess.h | 12 ------ arch/riscv/include/asm/unistd.h | 1 + arch/riscv/include/asm/vdso-syscalls.h | 28 ------------- arch/riscv/include/uapi/asm/syscalls.h | 26 ++++++++++++ arch/riscv/kernel/entry.S | 8 ++-- arch/riscv/kernel/process.c | 4 +- arch/riscv/kernel/syscall_table.c | 1 - arch/riscv/kernel/vdso/flush_icache.S | 1 - arch/riscv/mm/fault.c | 2 +- 16 files changed, 119 insertions(+), 71 deletions(-) delete mode 100644 arch/riscv/include/asm/vdso-syscalls.h create mode 100644 arch/riscv/include/uapi/asm/syscalls.h