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

Heinrich Schuchardt posted 4 patches 10 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240123184229.10415-1-heinrich.schuchardt@canonical.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Palmer Dabbelt <palmer@dabbelt.com>, Alistair Francis <alistair.francis@wdc.com>, Bin Meng <bin.meng@windriver.com>, Weiwei Li <liwei1518@gmail.com>, Daniel Henrique Barboza <dbarboza@ventanamicro.com>, Liu Zhiwei <zhiwei_liu@linux.alibaba.com>, "Michael S. Tsirkin" <mst@redhat.com>, Igor Mammedov <imammedo@redhat.com>, Ani Sinha <anisinha@redhat.com>
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(-)
[PATCH v4 0/4] target/riscv: SMBIOS support for RISC-V virt machine
Posted by Heinrich Schuchardt 10 months, 1 week ago
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(-)

-- 
2.43.0
Re: [PATCH v4 0/4] target/riscv: SMBIOS support for RISC-V virt machine
Posted by Alistair Francis 9 months, 3 weeks ago
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
>
>