qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] riscv: named features riscv,isa, 'svade' rework
@ 2024-01-25 19:53 Daniel Henrique Barboza
  2024-01-25 19:53 ` [PATCH 1/6] target/riscv/tcg: set 'mmu' with 'satp' in cpu_set_profile() Daniel Henrique Barboza
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Daniel Henrique Barboza @ 2024-01-25 19:53 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-riscv, alistair.francis, bmeng, liwei1518, zhiwei_liu,
	palmer, ajones, Daniel Henrique Barboza

Hi,

This is a bundle of fixes based on discoveries that were made in the
last week or so:

- what we call "named features" are actually real extensions, which are
  considered to be ratified by the profile spec that defines them. This
  means that we need to add riscv,isa strings for them. More info can be
  found on the commit msg of patch 2;

- the design behind 'svade' and 'svadu' is wrong. 'svade' does not mean
  'we do not have svadu'. In fact they can coexist. Patch 5 gives more
  details about it.


After this series, 'svade' is promoted to a regular extension and all
the named features QEMU implements are now being displayed in riscv,isa.


Andrew Jones (3):
  target/riscv: Reset henvcfg to zero
  target/riscv: Gate hardware A/D PTE bit updating
  target/riscv: Promote svade to a normal extension

Daniel Henrique Barboza (3):
  target/riscv/tcg: set 'mmu' with 'satp' in cpu_set_profile()
  target/riscv: add riscv,isa to named features
  target/riscv: add remaining named features

 target/riscv/cpu.c         | 63 ++++++++++++++++++++++++++++----------
 target/riscv/cpu_cfg.h     | 15 +++++++--
 target/riscv/cpu_helper.c  | 18 ++++++++---
 target/riscv/csr.c         |  2 +-
 target/riscv/tcg/tcg-cpu.c | 42 +++++++++++++++----------
 5 files changed, 99 insertions(+), 41 deletions(-)

-- 
2.43.0



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

end of thread, other threads:[~2024-02-05  6:18 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-25 19:53 [PATCH 0/6] riscv: named features riscv,isa, 'svade' rework Daniel Henrique Barboza
2024-01-25 19:53 ` [PATCH 1/6] target/riscv/tcg: set 'mmu' with 'satp' in cpu_set_profile() Daniel Henrique Barboza
2024-01-30  0:57   ` Alistair Francis
2024-01-25 19:53 ` [PATCH 2/6] target/riscv: add riscv,isa to named features Daniel Henrique Barboza
2024-01-30  1:07   ` Alistair Francis
2024-01-25 19:53 ` [PATCH 3/6] target/riscv: add remaining " Daniel Henrique Barboza
2024-01-30  1:10   ` Alistair Francis
2024-01-31 19:15     ` Daniel Henrique Barboza
2024-02-02  2:14       ` Alistair Francis
2024-02-02  9:44         ` Daniel Henrique Barboza
2024-02-05  6:16           ` Alistair Francis
2024-01-25 19:53 ` [PATCH 4/6] target/riscv: Reset henvcfg to zero Daniel Henrique Barboza
2024-01-25 19:53 ` [PATCH 5/6] target/riscv: Gate hardware A/D PTE bit updating Daniel Henrique Barboza
2024-01-25 19:53 ` [PATCH 6/6] target/riscv: Promote svade to a normal extension Daniel Henrique Barboza
2024-01-26 13:03   ` Andrew Jones

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