Re: [PATCH v2] MIPS: Scan the DMI system information

From: Jiaxun Yang
Date: Mon Nov 18 2019 - 06:13:45 EST




11.11.2019, 21:30, "Tiezhu Yang" <yangtiezhu@xxxxxxxxxxx>:
> Enable DMI scanning on the MIPS architecture, this setups DMI identifiers
> (dmi_system_id) for printing it out on task dumps and prepares DIMM entry
> information (dmi_memdev_info) from the SMBIOS table. With this patch, the
> driver can easily match various of mainboards.
>
> In the SMBIOS reference specification, the table anchor string "_SM_" is
> present in the address range 0xF0000 to 0xFFFFF on a 16-byte boundary,
> but there exists a special case for Loongson platform, when call function
> dmi_early_remap, it should specify the start address to 0xFFFE000 due to
> it is reserved for SMBIOS and can be normally access in the BIOS.
>
> This patch works fine on the Loongson 3A3000 platform which belongs to
> MIPS architecture and has no influence on the other architectures such
> as x86 and ARM.
>
> Co-developed-by: Yinglu Yang <yangyinglu@xxxxxxxxxxx>
> Signed-off-by: Yinglu Yang <yangyinglu@xxxxxxxxxxx>
> [jiaxun.yang@xxxxxxxxxxx: Refine definitions and Kconfig]
> Signed-off-by: Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx>
> Signed-off-by: Tiezhu Yang <yangtiezhu@xxxxxxxxxxx>
> ---
>

Hi Jane,

Is it fine for you?
If so please give a Ack.

Thanks.
--
Jiaxun Yang