qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/7] Add ARM Cortex-R52 CPU
@ 2022-10-23 15:36 tobias.roehmel
  2022-10-23 15:36 ` [PATCH v4 1/7] target/arm: Don't add all MIDR aliases for cores that immplement PMSA tobias.roehmel
                   ` (7 more replies)
  0 siblings, 8 replies; 18+ messages in thread
From: tobias.roehmel @ 2022-10-23 15:36 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell, Tobias Röhmel

From: Tobias Röhmel <quic_trohmel@quicinc.com>

Thanks again for all the help!

Here is v4:
2. Made patch cleaner
3. Changed commit message
4. Replaced V8_R flag with ARM_FEATURE_PMSA|ARM_FEATURE_V8
5.
Reworked the code to use existing pmsav7 variables
Added migration support
Added VSCTLR:
I didn't add any functionality for it because I think
Qemu doesn't model the behaviour it influences.
6.
Lots of cleanup. I think I overcomplicated this a bit because
of a misunderstanding. I thought HCR_VM is independent of enabling
the different MPUs, but I see now that it doesn't make sense to enable
HCR_VM when the MPUs are not enabled. I also think that there is an Error
in the armv8-r manual supplement in Figure C1-3. With all that figured out
the code for pmsav8r doesn't look that different from pmsav7 :)

Tobias Röhmel (7):
  target/arm: Don't add all MIDR aliases for cores that immplement PMSA
  target/arm: Make RVBAR available for all ARMv8 CPUs
  target/arm: Make stage_2_format for cache attributes optional
  target/arm: Enable TTBCR_EAE for ARMv8-R AArch32
  target/arm: Add PMSAv8r registers
  target/arm: Add PMSAv8r functionality
  target/arm: Add ARM Cortex-R52 CPU

 target/arm/cpu.c          |  32 +++-
 target/arm/cpu.h          |  12 ++
 target/arm/cpu_tcg.c      |  42 +++++
 target/arm/debug_helper.c |   3 +
 target/arm/helper.c       | 327 ++++++++++++++++++++++++++++++++++++--
 target/arm/internals.h    |   4 +
 target/arm/machine.c      |  28 ++++
 target/arm/ptw.c          | 148 ++++++++++++++---
 target/arm/tlb_helper.c   |   3 +
 9 files changed, 562 insertions(+), 37 deletions(-)

-- 
2.34.1



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

end of thread, other threads:[~2022-11-18 15:04 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-23 15:36 [PATCH v4 0/7] Add ARM Cortex-R52 CPU tobias.roehmel
2022-10-23 15:36 ` [PATCH v4 1/7] target/arm: Don't add all MIDR aliases for cores that immplement PMSA tobias.roehmel
2022-10-23 23:06   ` Richard Henderson
2022-10-23 15:36 ` [PATCH v4 2/7] target/arm: Make RVBAR available for all ARMv8 CPUs tobias.roehmel
2022-11-14 17:04   ` Peter Maydell
2022-10-23 15:36 ` [PATCH v4 3/7] target/arm: Make stage_2_format for cache attributes optional tobias.roehmel
2022-11-14 17:13   ` Peter Maydell
2022-10-23 15:36 ` [PATCH v4 4/7] target/arm: Enable TTBCR_EAE for ARMv8-R AArch32 tobias.roehmel
2022-11-14 17:19   ` Peter Maydell
2022-11-15 11:37     ` Philippe Mathieu-Daudé
2022-11-15 12:01       ` Daniel P. Berrangé
2022-10-23 15:36 ` [PATCH v4 5/7] target/arm: Add PMSAv8r registers tobias.roehmel
2022-11-18 13:52   ` Peter Maydell
2022-10-23 15:36 ` [PATCH v4 6/7] target/arm: Add PMSAv8r functionality tobias.roehmel
2022-11-18 15:03   ` Peter Maydell
2022-10-23 15:36 ` [PATCH v4 7/7] target/arm: Add ARM Cortex-R52 CPU tobias.roehmel
2022-11-18 14:04   ` Peter Maydell
2022-11-18 15:03 ` [PATCH v4 0/7] " Peter Maydell

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