From nobody Sun Feb 8 01:29:48 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 61BD23563C5 for ; Wed, 21 Jan 2026 06:04:59 +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=1768975499; cv=none; b=exgS8AMEeFddlcu7io4tL42GtbVexLUjDKBadEYseWmY90m/S6gRpNyRPXFo/fm1+wRAi+3+j89ZclQggIrTVrO1lZaYkg+K1VplGHFrInkIoSgLbcZ637O9to3csdrJbeDAZ0Z/c+bpUf0VqIgeiWH1gf/ejzJQiCVKAclO5vI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768975499; c=relaxed/simple; bh=pgdDW7ireEglwKas2aLd68lH+FyAl9F3znhco8U5X7k=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=jJYSRCWkQZMQx6x4WZH0Xv4hjPFadCLD5AhFyg7F6Nln8COB/AGFKJrg/h+VSIQXD+FuWgfSXU36CxUrSis5FL4Q/1wkalF6stDxKQEpSJULG8ThS6kahkviVwKPsJrS8KFG5zkoKWMqYDp5BI3UODMqZ80/mL1E0EoOe9dWxKM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lAgKcyL4; 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="lAgKcyL4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6283BC16AAE; Wed, 21 Jan 2026 06:04:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1768975498; bh=pgdDW7ireEglwKas2aLd68lH+FyAl9F3znhco8U5X7k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lAgKcyL4g4DOaBVyaFDlqPh6K+GAbveGmqR6f8yDvhSqR9muPJlfKCdEZLuUX6NuM m7bwqDcFZ2zjc6zkM+PKCzUtBxy0qLa3OJMa8N1i5CphDDJCThGaqYO/bTGa+C8Efx XZVLfABLjm5TOe3d03iFgKif6qJOTR4b6zeNXSW2BupI1Qp71+dN56K3kSlmT+jhJO j/vbpAEWCULx2Xs7XYcHOSMtTHfp14KLMiwrcs4US9UpIQ/aFfh5oZVz/hzsacHAkA ucamO3AOyIr/xrGhOBmfGFUhALBQh1LWwREhhQUexM4LdefDw/VhWes4I5mbYm/W3R p86fSMu5nuYlQ== From: "Mario Limonciello (AMD)" To: Yazen Ghannam , Jean Delvare Cc: linux-kernel@vger.kernel.org, Borislav Petkov , "Mario Limonciello (AMD)" Subject: [PATCH v4 1/6] firmware: dmi: Correct an indexing error in dmi.h Date: Wed, 21 Jan 2026 00:04:26 -0600 Message-ID: <20260121060431.432350-2-superm1@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260121060431.432350-1-superm1@kernel.org> References: <20260121060431.432350-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