mbox series

[v3,0/4] target/riscv: SMBIOS support for RISC-V virt machine

Message ID 20240122130758.74051-1-heinrich.schuchardt@canonical.com (mailing list archive)
Headers show
Series target/riscv: SMBIOS support for RISC-V virt machine | expand

Message

Heinrich Schuchardt Jan. 22, 2024, 1:07 p.m. UTC
Generate SMBIOS tables for the RISC-V mach-virt.
Add CONFIG_SMBIOS=y to the RISC-V default config.

With the series the following firmware tables are provided:

    etc/smbios/smbios-anchor
    etc/smbios/smbios-tables

Add processor-family to the '-smbios type=4' command line options.

v3:
	use misa_mxl_max to determine bitness
v2:
	set processor family

Heinrich Schuchardt (4):
  smbios: add processor-family option
  smbios: function to set default processor family
  target/riscv: SMBIOS support for RISC-V virt machine
  qemu-options: enable -smbios option on RISC-V

 hw/riscv/Kconfig             |  1 +
 hw/riscv/virt.c              | 44 ++++++++++++++++++++++++++++++++++++
 hw/smbios/smbios.c           | 20 ++++++++++++++--
 include/hw/firmware/smbios.h |  1 +
 qemu-options.hx              |  6 ++---
 5 files changed, 67 insertions(+), 5 deletions(-)