Skip to contentSkip to conversation

docs/interop/firmware: Add riscv64 to FirmwareArchitecture

PATCH Applied Andrea Bolognani 4 participants 5 messages Sep 10, 2025 – Oct 6, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs/interop/firmware: Add riscv64 to FirmwareArchitecture

Descriptors using this value have been shipped for years by distros, so we just need to update the spec to match reality.

---
 docs/interop/firmware.json | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
docs/interop/firmware.json +3 -1
index 6bbe2cce0a..ccbfaf828d 100644
@@ -85,12 +85,14 @@
 #
 # @loongarch64: 64-bit LoongArch. (since: 7.1)
 #
+# @riscv64: 64-bit RISC-V.
+#
 # @x86_64: 64-bit x86.
 #
 # Since: 3.0
 ##
 { 'enum' : 'FirmwareArchitecture',
-  'data' : [ 'aarch64', 'arm', 'i386', 'loongarch64', 'x86_64' ] }
+  'data' : [ 'aarch64', 'arm', 'i386', 'loongarch64', 'riscv64', 'x86_64' ] }
 
 ##
 # @FirmwareTarget:
Signature · 1 line
2.51.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 17 lines · Andrea Bolognani

Descriptors using this value have been shipped for years by distros, so we just need to update the spec to match reality.

---
 docs/interop/firmware.json | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
docs/interop/firmware.json +0 -0
index 6bbe2cce0a..ccbfaf828d 100644
@@ -85,12 +85,14 @@
 #
 # @loongarch64: 64-bit LoongArch. (since: 7.1)

docs/interop/firmware.json line 95

Quoted 10 lines
docs/interop/firmware.json +3 -1
 #
+# @riscv64: 64-bit RISC-V.
+#
 # @x86_64: 64-bit x86.
 #
 # Since: 3.0
 ##
 { 'enum' : 'FirmwareArchitecture',
-  'data' : [ 'aarch64', 'arm', 'i386', 'loongarch64', 'x86_64' ] }
+  'data' : [ 'aarch64', 'arm', 'i386', 'loongarch64', 'riscv64', 'x86_64' ] }

Thanks :-)

Quoted 5 lines
docs/interop/firmware.json +0 -1
 ##
 # @FirmwareTarget:
--

2.51.0

#2 lore raw
In reply to Andrea Bolognani
Quoted 6 lines · Andrea Bolognani

Descriptors using this value have been shipped for years by distros, so we just need to update the spec to match reality.

Thanks!

Applied to riscv-to-apply.next

Alistair

Quoted 28 lines
---
 docs/interop/firmware.json | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
docs/interop/firmware.json +3 -2
index 6bbe2cce0a..ccbfaf828d 100644
@@ -85,12 +85,14 @@
 #
 # @loongarch64: 64-bit LoongArch. (since: 7.1)
 #
+# @riscv64: 64-bit RISC-V.
+#
 # @x86_64: 64-bit x86.
 #
 # Since: 3.0
 ##
 { 'enum' : 'FirmwareArchitecture',
-  'data' : [ 'aarch64', 'arm', 'i386', 'loongarch64', 'x86_64' ] }
+  'data' : [ 'aarch64', 'arm', 'i386', 'loongarch64', 'riscv64', 'x86_64' ] }
 
 ##
 # @FirmwareTarget:
--

2.51.0

#3 lore raw
In reply to Andrea Bolognani
Quoted 3 lines · Andrea Bolognani

Descriptors using this value have been shipped for years by distros, so we just need to update the spec to match reality.

Hm. Probably to my shame, I never shipped this file in debian/ubuntu - neither the updated one nor the original, and have no idea what it is used for :)

What's the context where it's used?

BTW, should I perhaps pick this change up to qemu-stable too?

Thanks,

/mjt

#4 lore raw
Quoted 10 lines · Michael Tokarev
Quoted 3 lines · Andrea Bolognani

Descriptors using this value have been shipped for years by distros, so we just need to update the spec to match reality.

Hm. Probably to my shame, I never shipped this file in debian/ubuntu - neither the updated one nor the original, and have no idea what it is used for :)

What's the context where it's used?

I don't think the file is used directly. It just defines what firmware descriptors (shipped by edk2 and other firmware packages) should look like.

Quoted 2 lines

BTW, should I perhaps pick this change up to qemu-stable too?

No harm in doing that, but I would say it's unnecessary.

Signature · 1 line
Andrea Bolognani / Red Hat / Virtualization