[PATCH] dmicheck: Fix mistake in previous update to 3.7
ivanhu
ivan.hu at canonical.com
Tue Mar 5 10:17:22 UTC 2024
Hi Mario,
Could you help me to confirm?
https://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.7.0.pdf
on page 102, section 7.18, I saw,
5Ch 3.7+ PMIC0 Manufacturer ID WORD Varies The two-byte PMIC0 manufacturer ID found in the SPD of this memory device; LSB first. See 7.18.15 for definitions.
5Eh 3.7+ PMIC0 Revision Number WORD Varies The PMIC 0 Revision Number found in the SPD of this memory device.
See 7.18.16 for definitions.
60h 3.7+ RCD Manufacturer ID WORD Varies The two-byte RCD manufacturer ID found in the SPD of this memory device; LSB first. See 7.18.17 for definitions.
62h 3.7+ RCD Revision Number WORD Varies The RCD 0 Revision Number found in the SPD of this memory device. See 7.18.18 for definitions.
Do I miss something?
Cheers,
Ivan
On 2/29/24 09:05, Mario Limonciello wrote:
> For type 17 version 3.7 the length is still 0x5c. It shouldn't
> have been updated to 0x64.
>
> Fixes: dfc5729b ("dmicheck: update supported DMI version to 3.7")
> Signed-off-by: Mario Limonciello <mario.limonciello at amd.com>
> ---
> src/dmi/dmicheck/dmicheck.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/src/dmi/dmicheck/dmicheck.c b/src/dmi/dmicheck/dmicheck.c
> index b7cca5e4..904c0356 100644
> --- a/src/dmi/dmicheck/dmicheck.c
> +++ b/src/dmi/dmicheck/dmicheck.c
> @@ -299,8 +299,7 @@ static const fwts_dmi_type_length type_info[] = {
> { 17, 0x208, 0x207, 0x22 },
> { 17, 0x302, 0x208, 0x28 },
> { 17, 0x303, 0x302, 0x54 },
> - { 17, 0x307, 0x303, 0x5c },
> - { 17, MAX_VERSION, 0x307, 0x64 },
> + { 17, MAX_VERSION, 0x303, 0x5c },
> { 19, 0x207, 0x201, 0xf },
> { 19, MAX_VERSION, 0x207, 0x1f },
> { 20, 0x207, 0x201, 0x13 },
More information about the fwts-devel
mailing list