[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 0/7] Add ARM Cortex-R52 CPU
From: |
tobias.roehmel |
Subject: |
[PATCH v4 0/7] Add ARM Cortex-R52 CPU |
Date: |
Sun, 23 Oct 2022 17:36:52 +0200 |
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
- [PATCH v4 0/7] Add ARM Cortex-R52 CPU,
tobias.roehmel <=
- [PATCH v4 4/7] target/arm: Enable TTBCR_EAE for ARMv8-R AArch32, tobias.roehmel, 2022/10/23
- [PATCH v4 7/7] target/arm: Add ARM Cortex-R52 CPU, tobias.roehmel, 2022/10/23
- [PATCH v4 5/7] target/arm: Add PMSAv8r registers, tobias.roehmel, 2022/10/23
- [PATCH v4 1/7] target/arm: Don't add all MIDR aliases for cores that immplement PMSA, tobias.roehmel, 2022/10/23
- [PATCH v4 2/7] target/arm: Make RVBAR available for all ARMv8 CPUs, tobias.roehmel, 2022/10/23
- [PATCH v4 6/7] target/arm: Add PMSAv8r functionality, tobias.roehmel, 2022/10/23
- [PATCH v4 3/7] target/arm: Make stage_2_format for cache attributes optional, tobias.roehmel, 2022/10/23