OSDN Git Service

firmware/dmi: Report DMI Bios & EC firmware release
authorErwan Velu <e.velu@criteo.com>
Sat, 6 Jun 2020 09:35:50 +0000 (11:35 +0200)
committerJean Delvare <jdelvare@suse.de>
Sat, 6 Jun 2020 09:35:50 +0000 (11:35 +0200)
commitf5152f4ded3ce6d332d5e4f9d7e325c3b81cae1b
tree15a1db9c77b0e01013af654fd0e1c775c6bda201
parent3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162
firmware/dmi: Report DMI Bios & EC firmware release

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@criteo.com>
Signed-off-by: Jean Delvare <jdelvare@suse.de>
drivers/firmware/dmi-id.c
drivers/firmware/dmi_scan.c
include/linux/mod_devicetable.h
scripts/mod/file2alias.c