From nobody Fri Apr 3 12:32:36 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DAE0D2E11C7 for ; Sat, 7 Mar 2026 14:10:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772892631; cv=none; b=bPZMfNXhX7pVomiubaraN2Gtj2lFUiYEHceXU6YMK6L2qQUBu34R44ZO2e22xH8HhOlnnxOSg0agOkz2boSYRy3sSoX2CUnZHUqBXgoeKBYgcIXvIfwEZRaCZAyN0Q/PuS3mIucsv61nAZKTHJqaHTO04m3LVFBYZseIhuYfcPc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772892631; c=relaxed/simple; bh=pgdDW7ireEglwKas2aLd68lH+FyAl9F3znhco8U5X7k=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=lQjDcUb4GPe4JbFD59D62hUE7Swoh6KNBYrxK3P+EQxW35/69NAmD6hu56FgvJgrHNVrXQyZ5hcM5FaBdpDesiex7YZ7a8unPDF2D+Zy4g/RDXewD1jRVF8vlG61ovHzx3jM2EI39sgrowCjCiq9bQ/nCwFlCCyF+dmQ2EpA+58= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bA7TE79K; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bA7TE79K" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34D3DC2BC86; Sat, 7 Mar 2026 14:10:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772892631; bh=pgdDW7ireEglwKas2aLd68lH+FyAl9F3znhco8U5X7k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bA7TE79KV10qHDuEr/dGFFDMz/FC0RJ1B01blUTrgisKGiHPrmPJMXHNtsR4H+lTq YQSaUNuGzvXOfb/WVOm377bhHBhwiUeB7YnyyjHJhQE127a7lhoByH8UcAfyQahIHq ky+pl/Izbed4MSFLitiwLNXrloJ9T+88wCCV+FVoq78rizw8DcSS49QiNMayGd4eEZ nozCv3uRl/6mhx8pnGkyMsNzHcp0n00HO1UU6ATPTU2Q1n0EC3m8Aj/MIFvkXeKFUw 2Husm5SEO8dz+lmpd1/SEn6cckzXwSowz8tiv1QI/adlINc4OLCEg7WEraFdDiYjkJ WH0GvJcjRsRYQ== From: "Mario Limonciello (AMD)" To: Yazen Ghannam , Jean Delvare Cc: linux-kernel@vger.kernel.org, Borislav Petkov , "Mario Limonciello (AMD)" Subject: [PATCH v6 1/5] firmware: dmi: Correct an indexing error in dmi.h Date: Sat, 7 Mar 2026 08:10:20 -0600 Message-ID: <20260307141024.819807-2-superm1@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260307141024.819807-1-superm1@kernel.org> References: <20260307141024.819807-1-superm1@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 the missing type 33 entry. Fixes: 93c890dbe5287 ("firmware: Add DMI entry types to the headers") Link: https://www.dmtf.org/sites/default/files/standards/documents/DSP0134_= 3.4.0a.pdf Reviewed-by: Yazen Ghannam Signed-off-by: Mario Limonciello (AMD) --- v3: * Rename to DMI_ENTRY_64_MEM_ERROR (Jean) --- include/linux/dmi.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/dmi.h b/include/linux/dmi.h index 927f8a8b7a1dd..32b2529a73301 100644 --- a/include/linux/dmi.h +++ b/include/linux/dmi.h @@ -60,6 +60,7 @@ enum dmi_entry_type { DMI_ENTRY_OOB_REMOTE_ACCESS, DMI_ENTRY_BIS_ENTRY, DMI_ENTRY_SYSTEM_BOOT, + DMI_ENTRY_64_MEM_ERROR, DMI_ENTRY_MGMT_DEV, DMI_ENTRY_MGMT_DEV_COMPONENT, DMI_ENTRY_MGMT_DEV_THRES, --=20 2.43.0