(+CC s/tle/tles)
Jonathan Cameron Jonathan.Cameron@Huawei.com writes:
On Mon, 7 Dec 2020 10:07:44 +0000 Marcin Juszkiewicz via Linaro-open-discussions linaro-open-discussions@op-lists.linaro.org wrote:
W dniu 03.12.2020 o 22:21, Alex Bennée pisze:
There has been some discussion on the card QEMU-414:
https://projects.linaro.org/browse/QEMU-414
about adding another CPU model to QEMU that is somewhat more advanced than the current v8.0 offerings but isn't quite the rolling "all the ARM you can eat" -cpu max. So far the primary interest I'm aware of has come from people working on the SBSA and BSA reference platforms who want to have something with a few more features than the base v8.0 spec which we have covered.
So far we have been mostly focused on adding architectural features that are of direct interest to kernel and user space developers. This has allowed testing of code that uses SVE, MTE and BTI instructions. However there are no real CPUs that have quite the "random" assortment of ARM features QEMU currently implements.
Something like Cortex-A76/78 would be nice. v8.2 with RAS, VHE, VMID16, SMMUv3, PMUv3p1 etc.
<snip>
As any Arm licensee can choose which features they add to base v8.2 core I think that QEMU can have cortex-a76 with some selected features added on top (versioned or not - depends on QEMU devs decision).
<snip>
SBSA Level 4 requires v8.3, SMMU v3 and GIC v3. Next levels bump CPU to v8.4/8.5 and SMMU to v3.2 while keeping GIC at v3.
BSA also mentions only GIC v2/v2m/v3.
I forgot to feedback on this one having pestered a few people. Generally it's features Huawei teams are interested in rather than emulating a specific processor core or even SBSA level.
It's certainly the approach we've taken so far which I think has worked pretty well at getting the really interesting ISA additions out there for the compiler and systems folks.
If the gap happens to become trivial enough it might be worth filling in the holes.
Given the new hardware that's starting to appear in the wild there is a good argument for having at least a base v8.2 processor which can be built upon - much like architecture licensees can. I think with LDCG's help on the GICv4 getting a Cortex-A76 model is doable in the next cycle. We might even be able to squeeze in a Neoverse with SVE, if not the next cycle then soon after.
Is it worth me setting up an open call for everyone with an interest in this card to participate in a discussion? Who's interested in attending?
I'd like to firm up the specifics of the card so it's ready for voting in the next week or so.