Re: Re: [PATCH v2 3/4] target/riscv: SMBIOS support for RISC-V virt machine

2024-01-24 Thread Alistair Francis
On Tue, Jan 23, 2024 at 12:19 AM Andrew Jones wrote: > > On Mon, Jan 22, 2024 at 01:28:18PM +0100, Heinrich Schuchardt wrote: > > On 22.01.24 10:57, Andrew Jones wrote: > > > On Fri, Dec 29, 2023 at 01:07:23PM +0100, Heinrich Schuchardt wrote: > ... > > > > +#if defined(TARGET_RISCV32) > > > > +

Re: [PATCH v2 3/4] target/riscv: SMBIOS support for RISC-V virt machine

2024-01-22 Thread Heinrich Schuchardt
On 22.01.24 13:59, Andrew Jones wrote: On Mon, Jan 22, 2024 at 01:28:18PM +0100, Heinrich Schuchardt wrote: On 22.01.24 10:57, Andrew Jones wrote: On Fri, Dec 29, 2023 at 01:07:23PM +0100, Heinrich Schuchardt wrote: ... +#if defined(TARGET_RISCV32) +smbios_set_default_processor_family(0x2

Re: Re: [PATCH v2 3/4] target/riscv: SMBIOS support for RISC-V virt machine

2024-01-22 Thread Andrew Jones
On Mon, Jan 22, 2024 at 01:28:18PM +0100, Heinrich Schuchardt wrote: > On 22.01.24 10:57, Andrew Jones wrote: > > On Fri, Dec 29, 2023 at 01:07:23PM +0100, Heinrich Schuchardt wrote: ... > > > +#if defined(TARGET_RISCV32) > > > +smbios_set_default_processor_family(0x200); > > > +#elif defined(T

Re: [PATCH v2 3/4] target/riscv: SMBIOS support for RISC-V virt machine

2024-01-22 Thread Heinrich Schuchardt
On 22.01.24 10:57, Andrew Jones wrote: On Fri, Dec 29, 2023 at 01:07:23PM +0100, Heinrich Schuchardt wrote: Generate SMBIOS tables for the RISC-V mach-virt. Add CONFIG_SMBIOS=y to the RISC-V default config. Set the default processor family in the type 4 table. The implementation is based on the

Re: [PATCH v2 3/4] target/riscv: SMBIOS support for RISC-V virt machine

2024-01-22 Thread Andrew Jones
On Fri, Dec 29, 2023 at 01:07:23PM +0100, Heinrich Schuchardt wrote: > Generate SMBIOS tables for the RISC-V mach-virt. > Add CONFIG_SMBIOS=y to the RISC-V default config. > Set the default processor family in the type 4 table. > > The implementation is based on the corresponding ARM and Loongson

Re: [PATCH v2 3/4] target/riscv: SMBIOS support for RISC-V virt machine

2024-01-03 Thread Daniel Henrique Barboza
On 12/29/23 09:07, Heinrich Schuchardt wrote: Generate SMBIOS tables for the RISC-V mach-virt. Add CONFIG_SMBIOS=y to the RISC-V default config. Set the default processor family in the type 4 table. The implementation is based on the corresponding ARM and Loongson code. With the patch the fo

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

2023-12-29 Thread Heinrich Schuchardt
Generate SMBIOS tables for the RISC-V mach-virt. Add CONFIG_SMBIOS=y to the RISC-V default config. Set the default processor family in the type 4 table. The implementation is based on the corresponding ARM and Loongson code. With the patch the following firmware tables are provided: etc/smbi