Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2033311ybk; Mon, 11 May 2020 10:13:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHaOYFKuiaodsBdFBF94rB2IhVLXlF7OPHr0KUavqzkt7rGDEw437t1Im/wle1/Uoozaf1 X-Received: by 2002:a05:6402:2292:: with SMTP id cw18mr1713727edb.217.1589217214247; Mon, 11 May 2020 10:13:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589217214; cv=none; d=google.com; s=arc-20160816; b=TOqo5jYVXtQ2hht7sMwODYMyXZ/69cet2WLo4S3ZlXzJ5lhezdAcI4BR9dCqszQk1w TzlhBQMpQrWLfSDS9Gfmalhpkm1exa/9xsoMuhv8OnD4eJ4Fvcp/S/jJjzE+xxhZGc8z OT6yh6FD1S6fLW1P0js9Yf1k62+vEXquJa8euJdHDXljxwt3Qs0NSAxUahcobDcLQ6To SjbolWGVWBLtfq+IrynR4nYgrjng7PjMaXdz9k1qq/iRpdp756A8kWFopb2ZitTXqVP0 9/hAkXxwrHvrdvaoK+r961BHrSzUvapiJRAXYmbKeWnnzT8tHTptdqQUkntKwfHvnHeF OSwg== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=69MN+IXy+0O8RaerPn0hhER85LhO2N7Xu7vsK1x67Tg=; b=n+3tqwzGUGjlbCHcBU4oFHvDtlf2Us0gAakdJC1wkGJIztwxGrdp2PqFTGf1TCE9Bd +7u6FoBrSJbZnIJ+gj9PSMMF2FichMJEjwFiqldGn8cgBfsGBvT3WbvQg1S1IafV0eec 37itf+jEoBtq1aj+VkQKAzDwrj+ThQT/QzUhEdfGnhkEI+YLkhY4FhkqjbOGqgMT735Q 1yNaEjVqN3R41BKFUVpWZPIK3RGr71ZFWbLdhGbWkRipTnlhdyKWCpUGemBPAgrf9tM1 WGaMc0tO6XKO/5CNgTfHMimxe3gW4TsuR1JpKbQx1dls/y+yKxjh0zmb8PxFxHmQWZmS csPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="cw/yHm9N"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j1si6114214edy.315.2020.05.11.10.13.10; Mon, 11 May 2020 10:13:34 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b="cw/yHm9N"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730838AbgEKRLF (ORCPT + 99 others); Mon, 11 May 2020 13:11:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730799AbgEKRLE (ORCPT ); Mon, 11 May 2020 13:11:04 -0400 Received: from mail-il1-x141.google.com (mail-il1-x141.google.com [IPv6:2607:f8b0:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EBADC061A0C; Mon, 11 May 2020 10:11:04 -0700 (PDT) Received: by mail-il1-x141.google.com with SMTP id b71so2478819ilg.8; Mon, 11 May 2020 10:11:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=69MN+IXy+0O8RaerPn0hhER85LhO2N7Xu7vsK1x67Tg=; b=cw/yHm9NdbeNOjHr7hrBg1iXLfX1uoHYg9J8A/qrnuskojPb5IaY4M0zXPyI8Poh1i 6xh/vXVX4dcu1jD9o6FaGX1KbxhDp4pcKiB8CK8+zpz+OkKXcIQGKmCnBsIbTFFmcTUV 3KVmRh2SPEPjcOBDX0ByP16TUzBEX4aAiwLZFcBC8+XsyYL2s6C9RvoVTgroLiCvOeKj OOuktJL2IT8+TVjl+FtgH6NjpsTKc+GVmkJ7Ai+tBPJ59poyNQG0g+ONgT1swr3FPIwn X1U1YoqFvLTsSwxQUEF/6+IGapv3c19u5hbGjFdkZY28y7bFFS+QchyvISlwP6FyH1sx xohQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=69MN+IXy+0O8RaerPn0hhER85LhO2N7Xu7vsK1x67Tg=; b=AgsLZqZyr2kTVTTO+UEde6IptkxhiKr/Hsp5e6+djyksiItTvKnGhWyeOHxcPWoaQl TsCUCb16WUGRCi71/O6hic3gYJieFiBfPC9B+aag1vZIn0Gniy9mnAGFL5ANMg5j6laD EyQAUpy9FeBMYol680j7YubuGyOQHKU8VLohFZo+cZqx8YCN27cMib10LPJjVnFq83gV 9zs5q2vtn0IQa7sVSZi+J1aOagGXNkQu4fw1DuQxp8CQ+DUGH++OfyyME6LIvEvs/Kcs ICXRH45myPPmo/1ixpJS8ReBlePzNvJ2mFo8U1f/BoMek43gzacrJRyEj7dXQ6pja7Yz Dh2w== X-Gm-Message-State: AGi0PuaMxcf43OtEUn86N5yUCLCwZyplhNYCUYw8T9KC0iDEor7Xuz+v Hshr3GyOmdcFOd0h1m7oAC9xY5u4dapdY2Cef40= X-Received: by 2002:a92:4152:: with SMTP id o79mr17908605ila.198.1589217063830; Mon, 11 May 2020 10:11:03 -0700 (PDT) MIME-Version: 1.0 References: <20200207083550.360461-1-e.velu@criteo.com> <20200211142112.649d7237@endymion> In-Reply-To: From: Erwan Velu Date: Mon, 11 May 2020 19:10:52 +0200 Message-ID: Subject: Re: [PATCH] firmware/dmi: Report DMI Bios & EC firmware release To: Erwan Velu Cc: Jean Delvare , Masahiro Yamada , Michal Marek , Mattias Jacobsson <2pi@mok.nu>, Andy Shevchenko , Andrew Lunn , "Darren Hart (VMware)" , Changbin Du , Russell King , open list , linux-kbuild@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Jean, I don't see my patches in the 5.7-rc series. Is there anything wrong with them ? Le mar. 11 f=C3=A9vr. 2020 =C3=A0 14:31, Erwan Velu a = =C3=A9crit : > > No issue with that. > > Thanks for applying. > > Erwan, > > On 11/02/2020 14:21, Jean Delvare wrote: > > On Fri, 7 Feb 2020 09:35:47 +0100, Erwan Velu wrote: > >> Some vendors like HPe or Dell, encode the release version of their BIO= S > >> in the "System BIOS {Major|Minor} Release" fields of Type 0. > >> > >> This information is used to know which bios release actually runs. > >> It could be used for some quirks, debugging sessions or inventory task= s. > >> > >> A typical output for a Dell system running the 65.27 bios is : > >> [root@t1700 ~]# cat /sys/devices/virtual/dmi/id/bios_release > >> 65.27 > >> [root@t1700 ~]# > >> > >> Servers that have a BMC encode the release version of their firmware i= n the > >> "Embedded Controller Firmware {Major|Minor} Release" fields of Type = 0. > >> > >> This information is used to know which BMC release actually runs. > >> It could be used for some quirks, debugging sessions or inventory task= s. > >> > >> A typical output for a Dell system running the 3.75 bmc release is : > >> [root@t1700 ~]# cat /sys/devices/virtual/dmi/id/ec_firmware_relea= se > >> 3.75 > >> [root@t1700 ~]# > >> > >> Signed-off-by: Erwan Velu > >> --- > >> drivers/firmware/dmi-id.c | 6 ++++++ > >> drivers/firmware/dmi_scan.c | 30 ++++++++++++++++++++++++++++++ > >> include/linux/mod_devicetable.h | 2 ++ > >> scripts/mod/file2alias.c | 2 ++ > >> 4 files changed, 40 insertions(+) > >> (...) > > Applied, thanks. Note that I went for "efr" as the shortcut string for > > DMI_EC_FIRMWARE_RELEASE, which was your first choice and has my > > preference. > >