]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
watchdog: hpwdt: SMBIOS check
authorJerry Hoemann <jerry.hoemann@hpe.com>
Mon, 23 Oct 2017 22:46:16 +0000 (16:46 -0600)
committerSasha Levin <alexander.levin@microsoft.com>
Wed, 21 Mar 2018 03:49:51 +0000 (23:49 -0400)
commit7762606087faf75a578453682be5d18e76e173ca
tree922a0ccb7f91c76d0cd7474fd06af0b9b0b50c44
parent173cadebc5067dc67328505a072feed867cb79e2
watchdog: hpwdt: SMBIOS check

[ Upstream commit c42cbe41727a138905a28f8e0b00c147be77ee93 ]

This corrects:
commit cce78da76601 ("watchdog: hpwdt: Add check for UEFI bits")

The test on HPE SMBIOS extension type 219 record "Misc Features"
bits for UEFI support is incorrect.  The definition of the Misc Features
bits in the HPE SMBIOS OEM Extensions specification (and related
firmware) was changed to use a different pair of bits to
represent UEFI supported.  Howerver, a corresponding change
to Linux was missed.

Current code/platform work because the iCRU test is working.
But purpose of cce78da766 is to ensure correct functionality
on future systems where iCRU isn't supported.

Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
drivers/watchdog/hpwdt.c