We've been asked to address the spec versioning problem in QEMU. I'm going to be restoring branches for bbl and riscv-linux that work again priv 1.9.1. There are still other emulators and RTL that support priv1.9.1. Folk will have silicon against different versions of spec going forward. Likewise going forward we are still going to need to support v1.10 behavior when v1.11 is published. i.e. priv v1.10 mode is going to have to hide any additions made in priv v1.11. I use priv v1.9.1 during my QEMU testing. Hopefully, future changes are additive vs breaking...
We don't want a repeat of recent RISC-V history where the old version is deprecated and the new version is not yet implemented so that it's nearly impossible to get a working configuration unless one knows some magic commit hashes for a "moving target". We want to add some more rigor to the versioning problem. In fact, device-tree should be frozen and versioned too as it is only implicitly specified by the code that implements it. On Thu, Jan 11, 2018 at 8:58 PM, Christoph Hellwig <h...@lst.de> wrote: > On Wed, Jan 10, 2018 at 03:46:19PM -0800, Michael Clark wrote: > > - RISC-V Instruction Set Manual Volume I: User-Level ISA Version 2.2 > > - RISC-V Instruction Set Manual Volume II: Privileged ISA Version 1.9.1 > > - RISC-V Instruction Set Manual Volume II: Privileged ISA Version 1.10 > > Same question as for V2: Why do you want to add code for an obsolete > version of the privileged ISA spec? (which as far as I can tell > can't even be found online). >