lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <mhng-b7a8a801-64e6-4a4a-b8e0-bb65ce1c95bc@palmer-si-x1c4>
Date:   Tue, 09 Jan 2018 10:03:57 -0800 (PST)
From:   Palmer Dabbelt <palmer@...ive.com>
To:     Linus Torvalds <torvalds@...ux-foundation.org>
CC:     patches@...ups.riscv.org, linux-kernel@...r.kernel.org
Subject: [GIT PULL] RISC-V changes for 4.15-rc8

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@...olite.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ