qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/2] target/riscv: reduce MSTATUS_SUM overhead
@ 2023-03-24  5:41 Fei Wu
  2023-03-24  5:41 ` [PATCH v5 1/2] target/riscv: separate priv from mmu_idx Fei Wu
  2023-03-24  5:41 ` [PATCH v5 2/2] target/riscv: reduce overhead of MSTATUS_SUM change Fei Wu
  0 siblings, 2 replies; 4+ messages in thread
From: Fei Wu @ 2023-03-24  5:41 UTC (permalink / raw)
  To: qemu-riscv, qemu-devel, zhiwei_liu, richard.henderson, liweiwei; +Cc: Fei Wu

v4 -> v5:
* add priv to tb_flags

v3 -> v4:
* seperate priv from mmu_idx
* use index 2 for S+SUM mmu_idx
* no tlb_flush for MPRV / MPP changes


Fei Wu (2):
  target/riscv: separate priv from mmu_idx
  target/riscv: reduce overhead of MSTATUS_SUM change

 target/riscv/cpu.h                            |  3 +--
 target/riscv/cpu_helper.c                     | 21 ++++++++++++++++---
 target/riscv/csr.c                            |  3 +--
 .../riscv/insn_trans/trans_privileged.c.inc   |  2 +-
 target/riscv/insn_trans/trans_rvh.c.inc       |  4 ++--
 target/riscv/insn_trans/trans_xthead.c.inc    |  7 +------
 target/riscv/internals.h                      | 14 +++++++++++++
 target/riscv/op_helper.c                      |  5 +++--
 target/riscv/translate.c                      |  3 +++
 9 files changed, 44 insertions(+), 18 deletions(-)

-- 
2.25.1



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

end of thread, other threads:[~2023-03-24 17:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-24  5:41 [PATCH v5 0/2] target/riscv: reduce MSTATUS_SUM overhead Fei Wu
2023-03-24  5:41 ` [PATCH v5 1/2] target/riscv: separate priv from mmu_idx Fei Wu
2023-03-24 17:56   ` Richard Henderson
2023-03-24  5:41 ` [PATCH v5 2/2] target/riscv: reduce overhead of MSTATUS_SUM change Fei Wu

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).