Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1196833pxu; Fri, 16 Oct 2020 06:23:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsAm7jZ+UvQlvk8F4oDKLG5uOUSVa+S1ndJe2d56GiIoDGUvkDh/1hueTOSflCT6C9L5QT X-Received: by 2002:a05:6402:142a:: with SMTP id c10mr3968721edx.261.1602854635732; Fri, 16 Oct 2020 06:23:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602854635; cv=none; d=google.com; s=arc-20160816; b=k5oREd5C2hTZrx9kh+U3sryErykR5BXgs10j8Xr0UjqwR20LBlUapmJnCE2b301P1+ uU1JWS+Js/I+vVltqwxvsiA3UfpzBmScr2WzJGkf9qVeLSNRQmb59Z7MUtUH+qGXUVRJ 0ONLAtGXkK2zQidzYH0uguq7xDkZPpM5kRHInRfUZWWqLIDDDd9aln5fLW5wrtB32P9q UYSza+ktJ/cwrS5ZsPfaGUHpiAIa5Vq1IA5KUTaQTJQT8YiRyBJ+dgiBxXHhe5EF++kM I+HOAT6bj4f8Ka3WeVaZVEe7p4lQ8RzTjkOyVelNY11c8r9bY1VTz3Xw8ZITBwAWkF9G LSNw== 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=yDZIkz+Uw8PG7fVC7qk2+gKMAKtTS3n/mCO/UMzt1Zo=; b=VHaVHwPgQqB+Y1PmxLuw4UNWSMTcQKxex0Y3XvNKIMOGef4S6JjBD+wJzPiHcDzPSV 2nRs1knzv8TNlDQ6xIcS3nTV9D3UEwnIp0SF2sRIAZjDWk8H4PA4ZeJJSWE27E88PWCd dp1FbMhUhHam9ZhlOWlNHQCOZAJEObPsL23kIQwhg87N5bu61ni9X48Ny+HYQYO/XTPm AuHfaKHoUYDf3u76qd95qkJppQGjTDpSHf/g58+gFGoPWau0/1OYMDG/qGsT6S9SkGKB Syjpzw9yV74CKKdbIe/KmcexCqASgkRvBI9e0cX9/mm9aIeYqLQ+2ZqeA8guhEc4caAa osFw== 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 z20si1637677edq.433.2020.10.16.06.23.33; Fri, 16 Oct 2020 06:23:55 -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 S2405537AbgJPNME (ORCPT + 99 others); Fri, 16 Oct 2020 09:12:04 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:42674 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404255AbgJPNMD (ORCPT ); Fri, 16 Oct 2020 09:12:03 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 3DE591C0B7D; Fri, 16 Oct 2020 15:12:00 +0200 (CEST) Date: Fri, 16 Oct 2020 15:11:59 +0200 From: Pavel Machek To: Tiezhu Yang Cc: Thomas Bogendoerfer , Huacai Chen , Jiaxun Yang , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Xuefeng Li Subject: Re: [PATCH 3/3] MIPS: Loongson64: Add /proc/boardinfo Message-ID: <20201016131159.GB4335@amd> References: <1602241050-24051-1-git-send-email-yangtiezhu@loongson.cn> <1602241050-24051-4-git-send-email-yangtiezhu@loongson.cn> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cmJC7u66zC7hs+87" Content-Disposition: inline In-Reply-To: <1602241050-24051-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 --cmJC7u66zC7hs+87 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > 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. >=20 > E.g. with this patch: >=20 > [loongson@linux ~]$ cat /proc/boardinfo > Board Info > Manufacturer : LEMOTE > Board Name : LEMOTE-LS3A4000-7A1000-1w-V01-pc > Family : LOONGSON3 >=20 > BIOS Info > Vendor : Kunlun > Version : Kunlun-A1901-V4.1.3-20200414093938 > ROM Size : 4 KB > Release Date : 2020-04-14 Please put this into /sys somewhere, with usual rules. This is hard to extend/parse. Pavel --=20 http://www.livejournal.com/~pavelmachek --cmJC7u66zC7hs+87 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl+JnB8ACgkQMOfwapXb+vLn0wCgmNnQeZx5FmOu7cl3XVBFMGnY 36AAoJNjhzh6wbTcj5iiQuDXfwCfLKTr =YsR6 -----END PGP SIGNATURE----- --cmJC7u66zC7hs+87--