From nobody Sat Feb 7 11:54:40 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 BC2CE22A817 for ; Sat, 10 Jan 2026 13:48:45 +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=1768052925; cv=none; b=NRuUIcAzYxsGc44B5ozANHga5LASHsejpxmAtcS6uThU0/3d6kPK3IMihu6G8grm1S2YQmgEAuE3dB+3VLzgZxxOlULCyoGADswsHEHw+FI8h0VphOx/AjsZyBqxW5O113JgoZJmXRok0ONsLVygkJTl7SZm48Lejo43G3N4pmw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768052925; c=relaxed/simple; bh=pgdDW7ireEglwKas2aLd68lH+FyAl9F3znhco8U5X7k=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=jorp8FXcvJgrgh/xt+y58BIG4rpQKYoUq3VJ07b7a5D1tzZFTf9Q3XzwhwDPQtASkacNtfzKvdGop6NMYoO2CSiafMTcJAFWAW38AuVSBkA8uJz8OaBDT20O2oyCwi0Ddkw1gCDU3HFqUCmftKb5dHeQfpUNvOpZXgy+FfYeXCM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=S5Hp4u1Q; 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="S5Hp4u1Q" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16B35C4CEF7; Sat, 10 Jan 2026 13:48:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1768052925; bh=pgdDW7ireEglwKas2aLd68lH+FyAl9F3znhco8U5X7k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=S5Hp4u1QOqJCwTIoplH/e20p07GnDMC4hGSHYmPmDOx55fGZUPe2+fWx0ao4NkGze CiOu6cjLrnMmEBkSmQHTsvZcs+W2ShDuwgUDTsVap9zDL1HPERiB0ZjMOZgkWEMMrH vZa0WrY+7c+HfX+E7t6HftM+Wpqq3A3r1mEfSuCJUv2XuZM6T0drFvkW1JE21dgGA3 pRmIaVF5q1r+5YzGe24SUfbcssZzBIOnrVy3ZbwAS7A8BcEiv2mQKslGYpSQdJ5F2f M7jstfsc36g9Op8PHjclRPNKu9h3k4CiXamaCLWdYme6mHQoFm3bAkQTmfwaP7SgCI lfe8CN+d6TRGg== From: "Mario Limonciello (AMD)" To: Yazen Ghannam , Jean Delvare Cc: linux-kernel@vger.kernel.org, Borislav Petkov , "Mario Limonciello (AMD)" Subject: [PATCH v3 1/5] firmware: dmi: Correct an indexing error in dmi.h Date: Sat, 10 Jan 2026 07:48:30 -0600 Message-ID: <20260110134835.1296600-2-superm1@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260110134835.1296600-1-superm1@kernel.org> References: <20260110134835.1296600-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