Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4363901ybg; Mon, 21 Oct 2019 07:55:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqyTJ0qr1I+bD4qH6QZ/rg0mwewmJ5i+bQei/FX6yGvVfdK7sI9SMNHShVdaMZF5IxoSJctk X-Received: by 2002:a17:906:4ec2:: with SMTP id i2mr6364734ejv.330.1571669743572; Mon, 21 Oct 2019 07:55:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571669743; cv=none; d=google.com; s=arc-20160816; b=M0WZG0cNAfQS2291BRfMB441LpD55Zi3SVwdrS+MOKwrTkcIduMyRW7b6lF89QOm/H b2TglUsSrKDyT8gorAs32t6sq4sMCmcb9UeNIqrKuKLKsGuY4exYFezQeSxFza+V+inr xMTp+Ww0w9HyxAEW2ltG2Z+hcTvwY3dvFP8/KK26e8+VTI0Wywj+Dj64CbwaKpr+zia1 cgYorzRcqB7H4MoknEwAf4HDL2kMa2iKGfboq34hUVguYi4b8Z0jYRa3S9NCV7AeMa+O HynH136ad0Tuvbt5N1sk1WafeuTAkWSwtBIQuVRWD1Dw4uKZFAJ9ePWbtuKW2nthzKOQ hmmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=/1ctbjwmF71O030AWMYaZBr05zpSdd9zIaIiQLcf8mA=; b=b8Lz2vt7E9H3iYM25sym0mY+eMtb5xNHgb8qwiOuxqwVDiebpQWVR8iHxTG++5kKM6 TqffGbPEkRaG1QbR+NHYQ0RDDA29YYBXIimX5b7NjpAPjc6ZT5KMMMS8ZpLcbsxFKver 63jMw0EJ9pS7zpXP8Ai2zWY2sLvXGvZ0DDYc0K621s0CIbSQOsuqFDvhUZxjbYrozA6T c2C7Gif9MmydUht1fzFVYHqNlUCx6DIxgebeWjQoc7QbLKwGK3haHTpuLHzagK7OHVia +7FjhOlxBYDAIY6pxSqiBh2xRt53PnrwZbRp47+w71Zx8l5JhIsJ+lBttsQPjCvgFoNT c9dQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g5si8541747ejp.430.2019.10.21.07.55.20; Mon, 21 Oct 2019 07:55:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728025AbfJUOy7 (ORCPT + 99 others); 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