Re: [dmidecode] [PATCH v2] dmioem: decode HPE UEFI type 219 Misc Features

2018-04-11 Thread Jean Delvare
On Tue, 10 Apr 2018 10:39:41 -0600, Jerry Hoemann wrote:
> The incorrect "Misc Feature" bit in type 219 table was being used to
> identify that the platform is capable of booting with UEFI.
> 
> For corresponding kernel change please see:
> 
>   commit(c42cbe41727a)
> 
> in linux.
> 
> Signed-off-by: Jerry Hoemann 
> ---
>  dmioem.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/dmioem.c b/dmioem.c
> index 8a72ac9..1742330 100644
> --- a/dmioem.c
> +++ b/dmioem.c
> @@ -268,7 +268,7 @@ static int dmi_decode_hp(const struct dmi_header *h)
>   feat = DWORD(data + 0x10);
>   printf("\tMisc. Features: 0x%08x\n", feat);
>   printf("\t\tiCRU: %s\n", feat & 0x0001 ? "Yes" : "No");
> - printf("\t\tUEFI: %s\n", feat & 0x0408 ? "Yes" : "No");
> + printf("\t\tUEFI: %s\n", feat & 0x1400 ? "Yes" : "No");
>   break;
>  
>   default:

Applied, thanks.

-- 
Jean Delvare
SUSE L3 Support

___
https://lists.nongnu.org/mailman/listinfo/dmidecode-devel


[dmidecode] [PATCH v2] dmioem: decode HPE UEFI type 219 Misc Features

2018-04-10 Thread Jerry Hoemann
The incorrect "Misc Feature" bit in type 219 table was being used to
identify that the platform is capable of booting with UEFI.

For corresponding kernel change please see:

commit(c42cbe41727a)

in linux.

Signed-off-by: Jerry Hoemann 
---
 dmioem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dmioem.c b/dmioem.c
index 8a72ac9..1742330 100644
--- a/dmioem.c
+++ b/dmioem.c
@@ -268,7 +268,7 @@ static int dmi_decode_hp(const struct dmi_header *h)
feat = DWORD(data + 0x10);
printf("\tMisc. Features: 0x%08x\n", feat);
printf("\t\tiCRU: %s\n", feat & 0x0001 ? "Yes" : "No");
-   printf("\t\tUEFI: %s\n", feat & 0x0408 ? "Yes" : "No");
+   printf("\t\tUEFI: %s\n", feat & 0x1400 ? "Yes" : "No");
break;
 
default:
-- 
2.13.6


___
https://lists.nongnu.org/mailman/listinfo/dmidecode-devel