qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] mips: Sanitize Multi-Threading ASE
@ 2020-12-04 22:26 Philippe Mathieu-Daudé
  2020-12-04 22:26 ` [PATCH 1/5] target/mips: Remove mips_def_t unused argument from mvp_init() Philippe Mathieu-Daudé
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-12-04 22:26 UTC (permalink / raw)
  To: Jiaxun Yang, Huacai Chen, qemu-devel
  Cc: Aleksandar Rikalo, Richard Henderson, Philippe Mathieu-Daudé,
	Aurelien Jarno

Reviewing the MIPS code, ASE after ASE.
Time for MT ASE.

- Introduce/use ase_mt_available() helper to check
  if MT ASE is present
- Avoid setting MT specific registers if MT ASE is absent

Philippe Mathieu-Daudé (5):
  target/mips: Remove mips_def_t unused argument from mvp_init()
  target/mips: Introduce ase_mt_available() helper
  target/mips: Do not initialize MT registers if MT ASE absent
  hw/mips/malta: Do not initialize MT registers if MT ASE absent
  hw/mips/malta: Rewrite CP0_MVPConf0 access using deposit()

 target/mips/cpu.h                |  7 +++++++
 hw/mips/cps.c                    |  3 +--
 hw/mips/malta.c                  | 10 ++++++++--
 target/mips/cp0_helper.c         |  2 +-
 target/mips/cpu.c                |  2 +-
 target/mips/helper.c             |  2 +-
 target/mips/translate.c          |  4 ++--
 target/mips/translate_init.c.inc |  6 +++++-
 8 files changed, 26 insertions(+), 10 deletions(-)

-- 
2.26.2



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

end of thread, other threads:[~2020-12-07 22:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-04 22:26 [PATCH 0/5] mips: Sanitize Multi-Threading ASE Philippe Mathieu-Daudé
2020-12-04 22:26 ` [PATCH 1/5] target/mips: Remove mips_def_t unused argument from mvp_init() Philippe Mathieu-Daudé
2020-12-05 12:46   ` Richard Henderson
2020-12-04 22:26 ` [PATCH 2/5] target/mips: Introduce ase_mt_available() helper Philippe Mathieu-Daudé
2020-12-05 12:47   ` Richard Henderson
2020-12-04 22:26 ` [PATCH 3/5] target/mips: Do not initialize MT registers if MT ASE absent Philippe Mathieu-Daudé
2020-12-05 12:48   ` Richard Henderson
2020-12-04 22:26 ` [PATCH 4/5] hw/mips/malta: " Philippe Mathieu-Daudé
2020-12-05 12:48   ` Richard Henderson
2020-12-04 22:26 ` [PATCH 5/5] hw/mips/malta: Rewrite CP0_MVPConf0 access using deposit() Philippe Mathieu-Daudé
2020-12-05 12:49   ` Richard Henderson
2020-12-07 22:49 ` [PATCH 0/5] mips: Sanitize Multi-Threading ASE Philippe Mathieu-Daudé

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