|
From: | Richard Henderson |
Subject: | Re: [PATCH for-7.1 3/4] target/loongarch: rename the TCG CPU "la464" to "qemu64-v1.00" |
Date: | Sun, 14 Aug 2022 15:53:11 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
On 8/14/22 09:55, WANG Xuerui wrote:
From: WANG Xuerui <git@xen0n.name> The only LoongArch CPU implemented is modeled after the Loongson 3A5000, but it is not the real thing, ...
The 3A5000 is the SoC, as far as I could find, and the documentation of that says the core is named the la464.
In general, high-fidelity models can and should be named after the real hardware model, while generic emulation-oriented models should be named after ISA levels.
This wasn't intended to be a generic emulation model, as far as I know. There are missing features, but presumably those would eventually be filled in.
For now, the best reference for LoongArch ISA levels is the revision number of the LoongArch ISA Manual, of which v1.00 is still the latest. (v1.01 and v1.02 are minor revisions without substantive change.) As defined by various specs, the vendor and model names are also reflected in respective CSRs, and are 8 bytes long. So, rename "la464" to "qemu64-v1.00", with "QEMU64" as vendor name and "v1.00" as model name.
Eh, I suppose. I'm not really keen on this though, as I would presume there will be eventual forward progress on completing the real cpu model. We simply won't give any compatibility guarantees for loongarch until we are ready to do so.
r~
[Prev in Thread] | Current Thread | [Next in Thread] |