qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] target/riscv: Cleanup exposed CPU properties
@ 2022-05-17  4:10 Alistair Francis
  2022-05-17  4:10 ` [PATCH 1/2] target/riscv: Don't expose the CPU properties on names CPUs Alistair Francis
  2022-05-17  4:11 ` [PATCH 2/2] target/riscv: Run extension checks for all CPUs Alistair Francis
  0 siblings, 2 replies; 5+ messages in thread
From: Alistair Francis @ 2022-05-17  4:10 UTC (permalink / raw)
  To: qemu-riscv, qemu-devel; +Cc: bmeng.cn, palmer, alistair23

From: Alistair Francis <alistair.francis@wdc.com>

The RISC-V CPUs have been incorrectly enabling features in the named vendor
CPUs that aren't enabled in hardware. This patchset changes this so that
named vendor CPUs are not runtime configurable.

I was torn for the best approach here. The other idea I had was to disable
features by default and instead enable them in CPUs. I ended up going
this approach as I felt it made more sense to not expose configuration
options for vendor CPUs, it just seems difficult to support now that we have
a large list of CPUs

Alistair Francis (2):
  target/riscv: Don't expose the CPU properties on names CPUs
  target/riscv: Run extension checks for all CPUs

 target/riscv/cpu.c | 217 ++++++++++++++++++++++++++-------------------
 1 file changed, 125 insertions(+), 92 deletions(-)

-- 
2.35.1



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

end of thread, other threads:[~2022-05-17  5:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-17  4:10 [PATCH 0/2] target/riscv: Cleanup exposed CPU properties Alistair Francis
2022-05-17  4:10 ` [PATCH 1/2] target/riscv: Don't expose the CPU properties on names CPUs Alistair Francis
2022-05-17  4:11 ` [PATCH 2/2] target/riscv: Run extension checks for all CPUs Alistair Francis
2022-05-17  5:02   ` Weiwei Li
2022-05-17  5:07     ` Alistair Francis

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