Merge remote-tracking branch 'remotes/palmer/tags/riscv-for-master-4.1-sf0' into staging
RISC-V Patches for the 4.1 Soft Freeze, Part 1
This tag contains a handful of patches that I'd like to target for 4.1:
* An emulation for SiFive's GPIO device.
* A fix to disallow sfence.vma from userspace.
* Additional decodetree cleanups that should have no functional impact.
* C extension emulation fidelity fixes that were noticed as part of that
cleanup process.
* A new "spike" target, along with the deprecation of a handful of old
targets and CPUs.
* Some initial infastructure related to the hypervisor extension.
* An emulation fidelity fix that prevents prevents arbitrary bits in the
SIP CSR from being set.
* A small performance improvement that avoids excessive TLB flushing
when the ASID does not change.
This time I've used a new testing workflow: I've tested on both 32-bit
and 64-bit builds of OpenEmbedded, via the default OpenSBI-based boot
flow.
# gpg: Signature made Sat 25 May 2019 01:05:57 BST
# gpg: using RSA key 00CE76D1834960DFCE886DF8EF4CA1502CCBAB41
# gpg: issuer "palmer@dabbelt.com"
# gpg: Good signature from "Palmer Dabbelt <palmer@dabbelt.com>" [unknown]
# gpg: aka "Palmer Dabbelt <palmer@sifive.com>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 00CE 76D1 8349 60DF CE88 6DF8 EF4C A150 2CCB AB41
* remotes/palmer/tags/riscv-for-master-4.1-sf0: (29 commits)
target/riscv: Only flush TLB if SATP.ASID changes
target/riscv: More accurate handling of `sip` CSR
target/riscv: Add checks for several RVC reserved operands
target/riscv: Add the HGATP register masks
target/riscv: Add the HSTATUS register masks
target/riscv: Add Hypervisor CSR macros
target/riscv: Allow setting mstatus virtulisation bits
target/riscv: Add the MPV and MTL mstatus bits
target/riscv: Improve the scause logic
target/riscv: Trigger interrupt on MIP update asynchronously
target/riscv: Mark privilege level 2 as reserved
riscv: spike: Add a generic spike machine
target/riscv: Deprecate the generic no MMU CPUs
target/riscv: Add a base 32 and 64 bit CPU
target/riscv: Create settable CPU properties
riscv: virt: Allow specifying a CPU via commandline
linux-user/riscv: Add the CPU type as a comment
target/riscv: Remove unused include of riscv_htif.h for virt board riscv
target/riscv: Remove spaces from register names
target/riscv: Split gen_arith_imm into functional and temp
...
Signed-off-by:
Peter Maydell <peter.maydell@linaro.org>
No related branches found
No related tags found
Showing
- Makefile.objs 1 addition, 0 deletionsMakefile.objs
- hw/riscv/Makefile.objs 1 addition, 0 deletionshw/riscv/Makefile.objs
- hw/riscv/sifive_e.c 26 additions, 2 deletionshw/riscv/sifive_e.c
- hw/riscv/sifive_gpio.c 388 additions, 0 deletionshw/riscv/sifive_gpio.c
- hw/riscv/spike.c 105 additions, 1 deletionhw/riscv/spike.c
- hw/riscv/trace-events 7 additions, 0 deletionshw/riscv/trace-events
- hw/riscv/virt.c 2 additions, 2 deletionshw/riscv/virt.c
- include/hw/riscv/sifive_e.h 6 additions, 2 deletionsinclude/hw/riscv/sifive_e.h
- include/hw/riscv/sifive_gpio.h 72 additions, 0 deletionsinclude/hw/riscv/sifive_gpio.h
- include/hw/riscv/virt.h 2 additions, 2 deletionsinclude/hw/riscv/virt.h
- linux-user/riscv/target_elf.h 1 addition, 0 deletionslinux-user/riscv/target_elf.h
- qemu-deprecated.texi 21 additions, 0 deletionsqemu-deprecated.texi
- target/riscv/Makefile.objs 9 additions, 6 deletionstarget/riscv/Makefile.objs
- target/riscv/cpu.c 71 additions, 8 deletionstarget/riscv/cpu.c
- target/riscv/cpu.h 10 additions, 0 deletionstarget/riscv/cpu.h
- target/riscv/cpu_bits.h 38 additions, 7 deletionstarget/riscv/cpu_bits.h
- target/riscv/cpu_helper.c 28 additions, 7 deletionstarget/riscv/cpu_helper.c
- target/riscv/csr.c 16 additions, 14 deletionstarget/riscv/csr.c
- target/riscv/insn16-32.decode 28 additions, 0 deletionstarget/riscv/insn16-32.decode
- target/riscv/insn16-64.decode 36 additions, 0 deletionstarget/riscv/insn16-64.decode
Loading
Please register or sign in to comment