From: Guenter Roeck <linux@roeck-us.net>
To: Jerry Hoemann <jerry.hoemann@hpe.com>, wim@iguana.be
Cc: linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/3] watchdog: hpwdt: SMBIOS check
Date: Mon, 23 Oct 2017 20:18:29 -0700 [thread overview]
Message-ID: <84aa34bd-01b6-37fc-2803-e64986f79741@roeck-us.net> (raw)
In-Reply-To: <bd8ad99a9575e3c1df7a73f3b4369785aac56b64.1508797127.git.jerry.hoemann@hpe.com>
On 10/23/2017 03:46 PM, Jerry Hoemann wrote:
> 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>
> ---
> drivers/watchdog/hpwdt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c
> index 67fbe35..9fd869f 100644
> --- a/drivers/watchdog/hpwdt.c
> +++ b/drivers/watchdog/hpwdt.c
> @@ -700,7 +700,7 @@ static void dmi_find_icru(const struct dmi_header *dm, void *dummy)
> smbios_proliant_ptr = (struct smbios_proliant_info *) dm;
> if (smbios_proliant_ptr->misc_features & 0x01)
> is_icru = 1;
> - if (smbios_proliant_ptr->misc_features & 0x408)
> + if (smbios_proliant_ptr->misc_features & 0x1400)
> is_uefi = 1;
> }
> }
>
next prev parent reply other threads:[~2017-10-24 3:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-23 22:46 [PATCH v2 0/3] watchdog: hpwdt: driver update Jerry Hoemann
2017-10-23 22:46 ` [PATCH v2 1/3] watchdog: hpwdt: SMBIOS check Jerry Hoemann
2017-10-24 3:18 ` Guenter Roeck [this message]
2017-10-23 22:46 ` [PATCH v2 2/3] watchdog: hpwdt: Check source of NMI Jerry Hoemann
2017-10-24 3:18 ` Guenter Roeck
2017-10-23 22:46 ` [PATCH v2 3/3] watchdog: hpwdt: add ioctl WDIOC_GETPRETIMEOUT Jerry Hoemann
2017-10-24 3:20 ` Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=84aa34bd-01b6-37fc-2803-e64986f79741@roeck-us.net \
--to=linux@roeck-us.net \
--cc=jerry.hoemann@hpe.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=wim@iguana.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®