Skip to content

Commit 4bd99f4

Browse files
superm1gregkh
authored andcommitted
firmware: dmi: Correct an indexing error in dmi.h
[ Upstream commit c064abc ] The entries later in enum dmi_entry_type don't match the SMBIOS specification¹. The entry for type 33: `64-Bit Memory Error Information` is not present and thus the index for all later entries is incorrect. Add it. Also, add missing entry types 43-46, while at it. ¹ Search for "System Management BIOS (SMBIOS) Reference Specification" [ bp: Drop the flaky SMBIOS spec URL. ] Fixes: 93c890d ("firmware: Add DMI entry types to the headers") Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Yazen Ghannam <yazen.ghannam@amd.com> Link: https://patch.msgid.link/20260307141024.819807-2-superm1@kernel.org Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent e5bdb84 commit 4bd99f4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

include/linux/dmi.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ enum dmi_entry_type {
6060
DMI_ENTRY_OOB_REMOTE_ACCESS,
6161
DMI_ENTRY_BIS_ENTRY,
6262
DMI_ENTRY_SYSTEM_BOOT,
63+
DMI_ENTRY_64_MEM_ERROR,
6364
DMI_ENTRY_MGMT_DEV,
6465
DMI_ENTRY_MGMT_DEV_COMPONENT,
6566
DMI_ENTRY_MGMT_DEV_THRES,
@@ -69,6 +70,10 @@ enum dmi_entry_type {
6970
DMI_ENTRY_ADDITIONAL,
7071
DMI_ENTRY_ONBOARD_DEV_EXT,
7172
DMI_ENTRY_MGMT_CONTROLLER_HOST,
73+
DMI_ENTRY_TPM_DEVICE,
74+
DMI_ENTRY_PROCESSOR_ADDITIONAL,
75+
DMI_ENTRY_FIRMWARE_INVENTORY,
76+
DMI_ENTRY_STRING_PROPERTY,
7277
DMI_ENTRY_INACTIVE = 126,
7378
DMI_ENTRY_END_OF_TABLE = 127,
7479
};

0 commit comments

Comments
 (0)