From nobody Tue Dec 16 14:48:24 2025 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 435D22DC32C for ; Sun, 14 Dec 2025 18:53:22 +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=1765738403; cv=none; b=nHNSDBFFAK5hUmmv8Aa2mB6cwsZN6xU/BP0T5puR9kg46lF0zbK3bsfdFhNcB70hdEnCQEcJMQ+QlfVkhHQoivakdU5eLsTGP4yuzvV+BqYuWFiKVprViNVrzuhTlrIU9Q1ELtst1gzPd7OP9mubdRnymuHcGz6ZY0BZ1FL8irw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765738403; c=relaxed/simple; bh=sxOgLZzCP+gqc+Nq57rMWCCpK8SIa8+2yQN/VQIWRxU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nfhkWvUhjJhgRKlPOeU6K1RirfY8M+TC/JwaIoDhQZG2p+LNYjirnLgd/MOw+juNiih3GVBdVnmrYB0PGlwAjbzDSgtxZ94k/0w5m81tCwWo480LLELXL8wm44aNSqRGeLibSmSjLnlG6ocrdKKgCEYdXidRofsH7ot4RBnDcT8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=L7RGtB7D; 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="L7RGtB7D" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B4C5BC16AAE; Sun, 14 Dec 2025 18:53:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1765738402; bh=sxOgLZzCP+gqc+Nq57rMWCCpK8SIa8+2yQN/VQIWRxU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=L7RGtB7DumribbGF4NINM5Y9ypamqroNPx/YSOCunAPHzN2QOZFJ1AgIx8Wn7TwTI P3dSmXT6TS1IEOY4SQDxx6U+ePg46AvhyILpZMHhA40+5AT6T8+5Co1q5xbdeEoHa+ HOcm0ytY4ZgKFaBLzBFJGlpAWTGYTAQxHD8gon1C1RbAaxnOyQA50PUwFQJNVJxenD 6GbBiSE2H2TUhS2yq8mwJW1I78w14qFZ8Q7bcu0DIGbAVc7awBUaGZQsUmr76AAXGs fBFA7ffokarXSe36Xnuo/3RqLQSjtFSXXQpBlWxG7fUAG17z58fEdPSXIRoKn8wlMh +onhctApAWwHA== From: "Mario Limonciello (AMD)" To: Yazen Ghannam , x86@kernel.org (maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)), Jean Delvare Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H . Peter Anvin" , linux-kernel@vger.kernel.org, "Mario Limonciello (AMD)" Subject: [PATCH 1/5] firmware: dmi: Correct an indexing error in dmi.h Date: Sun, 14 Dec 2025 12:53:05 -0600 Message-ID: <20251214185309.152614-2-superm1@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251214185309.152614-1-superm1@kernel.org> References: <20251214185309.152614-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 Signed-off-by: Mario Limonciello (AMD) Reviewed-by: Yazen Ghannam --- include/linux/dmi.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/dmi.h b/include/linux/dmi.h index 927f8a8b7a1dd..a809b5095c259 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_MEMORY_INFO, DMI_ENTRY_MGMT_DEV, DMI_ENTRY_MGMT_DEV_COMPONENT, DMI_ENTRY_MGMT_DEV_THRES, --=20 2.43.0