mbox series

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

Message ID 20240123184229.10415-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. 23, 2024, 6:42 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.

v4:
	remove a superfluous #ifdef
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              | 42 ++++++++++++++++++++++++++++++++++++
 hw/smbios/smbios.c           | 20 +++++++++++++++--
 include/hw/firmware/smbios.h |  1 +
 qemu-options.hx              |  6 +++---
 5 files changed, 65 insertions(+), 5 deletions(-)

Comments

Alistair Francis Feb. 5, 2024, 6:13 a.m. UTC | #1
On Wed, Jan 24, 2024 at 4:44 AM Heinrich Schuchardt
<heinrich.schuchardt@canonical.com> wrote:
>
> 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.
>
> v4:
>         remove a superfluous #ifdef
> 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

Thanks!

Applied to riscv-to-apply.next

Alistair

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