From: Brian Cain <brian.cain@oss.qualcomm.com>
To: qemu-devel@nongnu.org
Cc: "Laurent Vivier" <lvivier@redhat.com>,
"Helge Deller" <deller@gmx.de>,
"Pierrick Bouvier" <pierrick.bouvier@oss.qualcomm.com>,
"Fabiano Rosas" <farosas@suse.de>,
"Anton Johansson" <anjo@rev.ng>,
"Philippe Mathieu-Daudé" <philmd@oss.qualcomm.com>,
"Alessandro Di Federico" <ale@rev.ng>,
"Brian Cain" <brian.cain@oss.qualcomm.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Laurent Vivier" <laurent@vivier.eu>
Subject: [PATCH 01/14] Hexagon: add v85 CPU model
Date: Sun, 18 Oct 2026 22:52:32 -0700 [thread overview]
Message-ID: <20261019055245.1457795-2-brian.cain@oss.qualcomm.com> (raw)
In-Reply-To: <20261019055245.1457795-1-brian.cain@oss.qualcomm.com>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
---
docs/system/hexagon/emulation.rst | 2 +-
target/hexagon/cpu-qom.h | 4 ++++
linux-user/hexagon/elfload.c | 4 ++++
target/hexagon/cpu.c | 2 ++
4 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/docs/system/hexagon/emulation.rst b/docs/system/hexagon/emulation.rst
index 12385311aa4..fb57c77ae90 100644
--- a/docs/system/hexagon/emulation.rst
+++ b/docs/system/hexagon/emulation.rst
@@ -6,7 +6,7 @@ Hexagon CPU architecture support
================================
QEMU's TCG emulation includes support for v65, v66, v67, v68, v69, v71, v73,
-v75, v77, v79, v81.
+v75, v77, v79, v81, v83, v85.
It also has support for the following architecture extensions:
- HVX (Hexagon Vector eXtensions)
diff --git a/target/hexagon/cpu-qom.h b/target/hexagon/cpu-qom.h
index 2bfa4d5d0fc..d4c8413ded3 100644
--- a/target/hexagon/cpu-qom.h
+++ b/target/hexagon/cpu-qom.h
@@ -28,6 +28,8 @@ typedef enum {
HEX_VER_V75 = 0x75,
HEX_VER_V79 = 0x79,
HEX_VER_V81 = 0x81,
+ HEX_VER_V83 = 0x83,
+ HEX_VER_V85 = 0x85,
HEX_VER_ANY = 0xff,
} HexagonVersion;
@@ -55,6 +57,8 @@ typedef struct {
#define TYPE_HEXAGON_CPU_V75 HEXAGON_CPU_TYPE_NAME("v75")
#define TYPE_HEXAGON_CPU_V79 HEXAGON_CPU_TYPE_NAME("v79")
#define TYPE_HEXAGON_CPU_V81 HEXAGON_CPU_TYPE_NAME("v81")
+#define TYPE_HEXAGON_CPU_V83 HEXAGON_CPU_TYPE_NAME("v83")
+#define TYPE_HEXAGON_CPU_V85 HEXAGON_CPU_TYPE_NAME("v85")
OBJECT_DECLARE_CPU_TYPE(HexagonCPU, HexagonCPUClass, HEXAGON_CPU)
diff --git a/linux-user/hexagon/elfload.c b/linux-user/hexagon/elfload.c
index 3a6ba4e1304..9f98ad8fb86 100644
--- a/linux-user/hexagon/elfload.c
+++ b/linux-user/hexagon/elfload.c
@@ -113,6 +113,10 @@ const char *get_elf_cpu_model(uint32_t eflags)
return "v79";
case 0x81:
return "v81";
+ case 0x83:
+ return "v83";
+ case 0x85:
+ return "v85";
}
err = snprintf(buf, sizeof(buf), "unknown (0x%x)", eflags);
diff --git a/target/hexagon/cpu.c b/target/hexagon/cpu.c
index f20d6de6f63..1e3df5d0d03 100644
--- a/target/hexagon/cpu.c
+++ b/target/hexagon/cpu.c
@@ -934,6 +934,8 @@ static const TypeInfo hexagon_cpu_type_infos[] = {
DEFINE_CPU(TYPE_HEXAGON_CPU_V75, HEX_VER_V75),
DEFINE_CPU(TYPE_HEXAGON_CPU_V79, HEX_VER_V79),
DEFINE_CPU(TYPE_HEXAGON_CPU_V81, HEX_VER_V81),
+ DEFINE_CPU(TYPE_HEXAGON_CPU_V83, HEX_VER_V83),
+ DEFINE_CPU(TYPE_HEXAGON_CPU_V85, HEX_VER_V85),
};
DEFINE_TYPES(hexagon_cpu_type_infos)
--
2.34.1
next prev parent reply other threads:[~2026-10-19 5:54 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-19 5:52 [PATCH 00/14] Hexagon: Add real SoC-style machines Brian Cain
2026-10-19 5:52 ` Brian Cain [this message]
2026-10-19 22:32 ` [PATCH 01/14] Hexagon: add v85 CPU model Anton Johansson via qemu development
2026-10-19 23:58 ` Brian Cain
2026-10-19 5:52 ` [PATCH 02/14] hw/hexagon: let a machine place its DDR Brian Cain
2026-10-19 21:40 ` Pierrick Bouvier
2026-10-19 5:52 ` [PATCH 03/14] hw/hexagon: introduce hex-board abstraction Brian Cain
2026-10-19 21:42 ` Pierrick Bouvier
2026-10-19 5:52 ` [PATCH 04/14] hw/hexagon: convert virt board to hex-board Brian Cain
2026-10-19 21:40 ` Pierrick Bouvier
2026-10-19 5:52 ` [PATCH 05/14] hw/misc: add the QDSP6SS PLL, RCG Brian Cain
2026-10-19 21:51 ` Pierrick Bouvier
2026-10-19 5:52 ` [PATCH 06/14] hw/hexagon: add the QCS6490 CDSP machine Brian Cain
2026-10-19 22:15 ` Pierrick Bouvier
2026-10-20 11:28 ` Anton Johansson via qemu development
2026-10-19 5:52 ` [PATCH 07/14] hw/hexagon: add the SA8775P " Brian Cain
2026-10-19 22:15 ` Pierrick Bouvier
2026-10-19 5:52 ` [PATCH 08/14] hw/hexagon: add the SC8480XP NSP0 machine Brian Cain
2026-10-19 22:15 ` Pierrick Bouvier
2026-10-19 5:52 ` [PATCH 09/14] hw/hexagon: add the SA8797P " Brian Cain
2026-10-19 22:15 ` Pierrick Bouvier
2026-10-19 5:52 ` [PATCH 10/14] hw/hexagon: add the SM8975 NSP machine Brian Cain
2026-10-19 22:15 ` Pierrick Bouvier
2026-10-19 5:52 ` [PATCH 11/14] hw/hexagon: add v79NA1 machine Brian Cain
2026-10-19 22:16 ` Pierrick Bouvier
2026-10-19 5:52 ` [PATCH 12/14] hw/hexagon: add subsystem-base property Brian Cain
2026-10-19 22:16 ` Pierrick Bouvier
2026-10-20 14:53 ` Anton Johansson via qemu development
2026-10-19 5:52 ` [PATCH 13/14] target/hexagon: fix the allocframe framekey Brian Cain
2026-10-19 5:52 ` [PATCH 14/14] tests/functional/hexagon: boot DSP firmware Brian Cain
2026-10-19 13:47 ` Philippe Mathieu-Daudé
2026-10-19 13:51 ` Brian Cain
2026-10-19 15:22 ` Brian Cain
2026-10-19 21:50 ` Pierrick Bouvier
2026-10-19 22:03 ` Brian Cain
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261019055245.1457795-2-brian.cain@oss.qualcomm.com \
--to=brian.cain@oss.qualcomm.com \
--cc=ale@rev.ng \
--cc=anjo@rev.ng \
--cc=deller@gmx.de \
--cc=farosas@suse.de \
--cc=laurent@vivier.eu \
--cc=lvivier@redhat.com \
--cc=pbonzini@redhat.com \
--cc=philmd@oss.qualcomm.com \
--cc=pierrick.bouvier@oss.qualcomm.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.