Re: [PATCH] firmware/dmi: Report DMI Bios & EC firmware release

From: Erwan Velu
Date: Mon May 11 2020 - 13:11:06 EST


Jean, I don't see my patches in the 5.7-rc series.
Is there anything wrong with them ?

Le mar. 11 fÃvr. 2020 Ã 14:31, Erwan Velu <e.velu@xxxxxxxxxx> a Ãcrit :
>
> 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 BIOS
> >> 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 tasks.
> >>
> >> 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 in 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 tasks.
> >>
> >> A typical output for a Dell system running the 3.75 bmc release is :
> >> [root@t1700 ~]# cat /sys/devices/virtual/dmi/id/ec_firmware_release
> >> 3.75
> >> [root@t1700 ~]#
> >>
> >> Signed-off-by: Erwan Velu <e.velu@xxxxxxxxxx>
> >> ---
> >> 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.
> >