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

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




18.11.2019, 19:13, "Jiaxun Yang" <jiaxun.yang@xxxxxxxxxxx>:
> 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,

Sorry Jean, apologize for my typo.

>
> Is it fine for you?
> If so please give a Ack.
>
> Thanks.
> --
> Jiaxun Yang