On 4/1/26 03:29, Bibo Mao wrote:
CPUCFG0 is LoongArch CPU Product ID, it is a combination of Vendor ID,
Series ID and Product ID, here is the layout:
  +-------------+----------------+------------+----------------+
  | Reserved    | Vendor  ID     | Series ID  |  Product ID    |
  +-------------+----------------+------------+----------------+
   31         24 23            16 15        12 11              0

Here adds detailed information with CPUCFG0, it is convenient to add
such information with host or LA664 CPU type in future.

Signed-off-by: Bibo Mao <[email protected]>
---
  target/loongarch/cpu.c | 12 ++++++++++--
  target/loongarch/cpu.h | 10 +++++++++-
  2 files changed, 19 insertions(+), 3 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>


Reply via email to