[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [dmidecode] [PATCH] Add new processor characteristics bits from SMBI
From: |
Jean Delvare |
Subject: |
Re: [dmidecode] [PATCH] Add new processor characteristics bits from SMBIOS spec 3.4.0 |
Date: |
Fri, 23 Oct 2020 17:48:22 +0200 |
On Fri, 23 Oct 2020 20:29:00 +0530, Prabhakar pujeri wrote:
> * The bit to indicate 128-bit capable processor
> * The bit to indicate processor supports returning ARM64 SoC ID
> ---
> dmidecode.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/dmidecode.c b/dmidecode.c
> index 31a49e4..67f6048 100644
> --- a/dmidecode.c
> +++ b/dmidecode.c
> @@ -1388,7 +1388,9 @@ static void dmi_processor_characteristics(const char
> *attr, u16 code)
> "Hardware Thread",
> "Execute Protection",
> "Enhanced Virtualization",
> - "Power/Performance Control" /* 7 */
> + "Power/Performance Control",
> + "128-bit Capable"
> + "Arm64 SoC ID" /* 9 */
> };
>
> if ((code & 0x00FC) == 0)
> @@ -1398,7 +1400,7 @@ static void dmi_processor_characteristics(const char
> *attr, u16 code)
> int i;
>
> pr_list_start(attr, NULL);
> - for (i = 2; i <= 7; i++)
> + for (i = 2; i <= 9; i++)
> if (code & (1 << i))
> pr_list_item("%s", characteristics[i - 2]);
> pr_list_end();
Applied, thanks.
Next time you send a new version of a patch, please change [PATCH] to
[PATCH v2] in the subject line, and include a list of changes between
the "---" separator and the diffstat. It makes it easier for
maintainers to track the history.
Thanks,
--
Jean Delvare
SUSE L3 Support