From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 94038CA9EB7 for ; Mon, 21 Oct 2019 14:55:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 754AD2084C for ; Mon, 21 Oct 2019 14:55:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728132AbfJUOy7 (ORCPT ); Mon, 21 Oct 2019 10:54:59 -0400 Received: from mx2.suse.de ([195.135.220.15]:50522 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727101AbfJUOy6 (ORCPT ); Mon, 21 Oct 2019 10:54:58 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id DB3DAB129; Mon, 21 Oct 2019 14:54:56 +0000 (UTC) Date: Mon, 21 Oct 2019 16:55:13 +0200 From: Jean Delvare To: "Erwan Velu" Cc: "Robert P. J. Day" , "Erwan Velu" , "Changbin Du" , "Boris Brezillon" , "Sumit Garg" , "Andy Shevchenko" , "Greg Kroah-Hartman" , "Michal Marek" , "Mattias Jacobsson" <2pi@mok.nu>, "Masahiro Yamada" , , Subject: Re: [PATCH 3/3] firmware/dmi: Report DMI Embedded Firmware release Message-ID: <20191021165513.24e24d53@endymion> In-Reply-To: <20190918094323.17515-3-e.velu@criteo.com> References: <20190918094323.17515-1-e.velu@criteo.com> <20190918094323.17515-3-e.velu@criteo.com> Organization: SUSE Linux X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 18 Sep 2019 11:43:21 +0200, Erwan Velu wrote: > Servers that have a BMC encodes the release version of their firmware > in the "Embedded Controller Firmware {Major|Minor} Release" fields of Type 0. > > This information is useful to know which release of the BMC is actually running. > It could be used for some quirks, debugging sessions or inventory tasks. > > This patch extract these 2 fields in DMI_EMBEDDED_FW_MAJOR_RELEASE & DMI_EMBEDDED_FW_MINOR_RELEASE > > A typical output for a Dell system running the 3.75 bios is : > > [root@t1700 ~]# cat /sys/devices/virtual/dmi/id/fw_release_major > 3 > [root@t1700 ~]# cat /sys/devices/virtual/dmi/id/fw_release_minor > 75 > [root@t1700 ~]# Same comment here as for previous patch, obviously. Additionally, please run scripts/checkpatch.pl on your patch before you resubmit, and address all the problems reported. Thanks, -- Jean Delvare SUSE L3 Support