[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9f0e4f45-dc8b-8351-8a40-8a4b8a86940f@flygoat.com>
Date: Sat, 10 Oct 2020 16:01:48 +0800
From: Jiaxun Yang <jiaxun.yang@...goat.com>
To: Tiezhu Yang <yangtiezhu@...ngson.cn>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
Huacai Chen <chenhc@...ote.com>
Cc: linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org,
Xuefeng Li <lixuefeng@...ngson.cn>
Subject: Re: [PATCH 3/3] MIPS: Loongson64: Add /proc/boardinfo
在 2020/10/9 下午6:57, Tiezhu Yang 写道:
> Add /proc/boardinfo to get mainboard and BIOS info easily on the Loongson
> platform, this is useful to point out the current used mainboard type and
> BIOS version when there exists problems related with hardware or firmware.
Hi Tiezhu,
You're touching Kernel userspace API and I believe it should be
documented. Also linux-api list
should be informed.
Also I'd like to know if it's really useful for mainline kernel.
For user who wants to check board information, dmidecode is already
useful enough.
Thanks.
- Jiaxun
>
> E.g. with this patch:
>
> [loongson@...ux ~]$ cat /proc/boardinfo
> Board Info
> Manufacturer : LEMOTE
> Board Name : LEMOTE-LS3A4000-7A1000-1w-V01-pc
> Family : LOONGSON3
>
> BIOS Info
> Vendor : Kunlun
> Version : Kunlun-A1901-V4.1.3-20200414093938
> ROM Size : 4 KB
> Release Date : 2020-04-14
>
> Signed-off-by: Tiezhu Yang <yangtiezhu@...ngson.cn>
> ---
>
Powered by blists - more mailing lists