qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] RISC-V Pointer Masking implementation
@ 2020-10-16 22:11 Alexey Baturo
  2020-10-16 22:11 ` [PATCH v3 1/5] [RISCV_PM] Add J-extension into RISC-V Alexey Baturo
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Alexey Baturo @ 2020-10-16 22:11 UTC (permalink / raw)
  Cc: baturo.alexey, qemu-riscv, sagark, kbastian, richard.henderson,
	qemu-devel, space.monkey.delivers, Alistair.Francis,
	kupokupokupopo, palmer

Hi folks,

This is third iteration of patches to support Pointer Masking for RISC-V.
Most of suggestions have been addressed, however some of them not:
- applying mask for return value while reading PM CSR has been kept to mask higher priv level bits
- check_pm_current_disabled is not placed into CSR predicate, since the spec expects to read zero from PM CSR if no PM extenstion is present

Thanks

Alexey Baturo (4):
  [RISCV_PM] Add J-extension into RISC-V
  [RISCV_PM] Support CSRs required for RISC-V PM extension except for
    ones in 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

Anatoly Parshintsev (1):
  [RISCV_PM] Implement address masking functions required for RISC-V
    Pointer Masking extension

 target/riscv/cpu.c                      |  24 +++
 target/riscv/cpu.h                      |  32 +++
 target/riscv/cpu_bits.h                 |  66 ++++++
 target/riscv/csr.c                      | 264 ++++++++++++++++++++++++
 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, 439 insertions(+)

-- 
2.20.1



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-10-16 23:59 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-16 22:11 [PATCH v3 0/5] RISC-V Pointer Masking implementation Alexey Baturo
2020-10-16 22:11 ` [PATCH v3 1/5] [RISCV_PM] Add J-extension into RISC-V Alexey Baturo
2020-10-16 23:57   ` Richard Henderson
2020-10-16 22:11 ` [PATCH v3 2/5] [RISCV_PM] Support CSRs required for RISC-V PM extension except for ones in hypervisor mode Alexey Baturo
2020-10-16 23:57   ` Richard Henderson
2020-10-16 22:11 ` [PATCH v3 3/5] [RISCV_PM] Print new PM CSRs in QEMU logs Alexey Baturo
2020-10-16 23:49   ` Richard Henderson
2020-10-16 22:11 ` [PATCH v3 4/5] [RISCV_PM] Support pointer masking for RISC-V for i/c/f/d/a types of instructions Alexey Baturo
2020-10-16 23:49   ` Richard Henderson
2020-10-16 22:11 ` [PATCH v3 5/5] [RISCV_PM] Implement address masking functions required for RISC-V Pointer Masking extension Alexey Baturo
2020-10-16 23:47   ` Richard Henderson
2020-10-16 22:24 ` [PATCH v3 0/5] RISC-V Pointer Masking implementation no-reply

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).