On Sun, Jan 10, 2021 at 10:54 AM Alexey Baturo <baturo.ale...@gmail.com> wrote: > > Hi folks, > > Sorry it took me almost 3 month to provide the reply and fixes: it was a > really busy EOY. > This series contains fixed @Alistair suggestion on enabling J-ext. > > As for @Richard comments: > - Indeed I've missed appending review-by to the approved commits. Now I've > restored them except for the fourth commit. @Richard could you please tell if > you think it's still ok to commit it as is, or should I support masking mem > ops for RVV first? > - These patches don't have any support for load/store masking for RVV and RVH > extensions, so no support for special load/store for Hypervisor in particular. > > If this patch series would be accepted, I think my further attention would be > to: > - Support pm for memory operations for RVV > - Add proper csr and support pm for memory operations for Hypervisor mode > - Support address wrapping on unaligned accesses as @Richard mentioned > previously
Overall this looks fine. Unfortunately it doesn't look like there is a release of the pointer masking spec. Until there is a release (a draft release counts) we can't accept it. We need a version to point to so that we can say "we support v0.1 of the RISC-V pointer masking spec". Otherwise we are chasing a moving target and users don't know what version we do/don't support. Do you know the current state of the spec? Alistair > > Thanks! > > Alexey Baturo (5): > [RISCV_PM] Add J-extension into RISC-V > [RISCV_PM] Support CSRs required for RISC-V PM extension except for > the ones required for hypervisor mode > [RISCV_PM] Print new PM CSRs in QEMU logs > [RISCV_PM] Support pointer masking for RISC-V for i/c/f/d/a types of > instructions > [RISCV_PM] Allow experimental J-ext to be turned on > > Anatoly Parshintsev (1): > [RISCV_PM] Implement address masking functions required for RISC-V > Pointer Masking extension > > target/riscv/cpu.c | 30 +++ > target/riscv/cpu.h | 33 +++ > target/riscv/cpu_bits.h | 66 ++++++ > target/riscv/csr.c | 271 ++++++++++++++++++++++++ > target/riscv/insn_trans/trans_rva.c.inc | 3 + > target/riscv/insn_trans/trans_rvd.c.inc | 2 + > target/riscv/insn_trans/trans_rvf.c.inc | 2 + > target/riscv/insn_trans/trans_rvi.c.inc | 2 + > target/riscv/translate.c | 44 ++++ > 9 files changed, 453 insertions(+) > > -- > 2.20.1 > >