Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3874539pxu; Mon, 12 Oct 2020 03:42:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtfnzEAisCmMEzHwMYEexvCivEKU/sguAwMHR6hFU9QYcLwtTagm8J0wEJGfjOGdKbPImC X-Received: by 2002:a17:906:1cca:: with SMTP id i10mr28041569ejh.487.1602499341533; Mon, 12 Oct 2020 03:42:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602499341; cv=none; d=google.com; s=arc-20160816; b=wnVYxw0eYO0eL6KSJuPCXIfQR+Z6cjGxqJjDPL1oGNNmSZflX+dPVqdiYH9jx7YVIr ERvKlL0e5TyftgzkxsYZ/L4U9KKE3dB7mSkStlQLMYvHT01wyBpmUvtsagyQn55uSHh0 356AIZQ44J2AN8NjSVwHL9fjwQpCk5F1b7N0i8B1o2+SmMWi+p8BuuA4NvZia3zPB1FX DrGTRH09GnQfsF9tlA5J2NDe5trGKByMGhUld0GGU9t2JL61nh1wf36/7gsC4OLvycUD tSPTBc0exN62dpUk6G6LugePBhOHbSMn2NlfUYOXzvSjtS8DVyUqc8MIqIxxxWOY3o1M jbJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=DgIwgdoJkSs8akpqUTrPx4M12tym3d9jRo7jkN8OXig=; b=fLyx9pV5OLw1pdldk5CX/Y4EkE5pLbqTbjBmH2Ynhd4EEiYEEco8VTcPqVfxZ1HIj4 9rFZ0dnzYQObF8Y8vk6b/8qHw6Op4p6wlPgGNtn9wQqXH2Uq5PlNRkV9DhaWKGCIPB7o /AyiGDAoqdYfKsSEaL3LjlUTGdtYSwx8BfWjuRLIiSImyLYcSFAqF+sE5eJKXu4+8np9 vqsMq1h6OKexkWzj5Z+/iaGJrsoxcTq1u/M7bM6ItDunZARnNG5h7utRbUbMdeflAlhr YZOzXPxWmyEJAYRj/AtbqoghUTsLmV77iI3OIMw4uDjfTVhHJk69T8hYYxJQ5SgSmvAh Yeyg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m1si13967874ejj.458.2020.10.12.03.41.58; Mon, 12 Oct 2020 03:42:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387616AbgJLKig (ORCPT + 99 others); Mon, 12 Oct 2020 06:38:36 -0400 Received: from elvis.franken.de ([193.175.24.41]:58433 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387605AbgJLKiS (ORCPT ); Mon, 12 Oct 2020 06:38:18 -0400 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1kRvDc-0008KW-09; Mon, 12 Oct 2020 12:38:16 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 9D990C1140; Mon, 12 Oct 2020 12:38:05 +0200 (CEST) Date: Mon, 12 Oct 2020 12:38:05 +0200 From: Thomas Bogendoerfer To: Tiezhu Yang Cc: Jonathan Corbet , Huacai Chen , Jiaxun Yang , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Xuefeng Li Subject: Re: [PATCH v2 3/4 RESEND] MIPS: Loongson64: Add /proc/boardinfo Message-ID: <20201012103805.GC7953@alpha.franken.de> References: <1602373674-4579-1-git-send-email-yangtiezhu@loongson.cn> <1602373674-4579-4-git-send-email-yangtiezhu@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1602373674-4579-4-git-send-email-yangtiezhu@loongson.cn> User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Oct 11, 2020 at 07:47:53AM +0800, Tiezhu Yang wrote: > 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. > > E.g. with this patch: > > [loongson@linux ~]$ 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 Why does Loongson64 need this extra file no other architecture or MIPS platform need ? Do others provide this information via a different method ? If yes, why can't Loongson64 do the same ? Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]