From nobody Fri Dec 19 04:23:17 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 7B52134D929 for ; Tue, 16 Dec 2025 12:34:18 +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=1765888458; cv=none; b=tHjpNysLX5oZqd2hkHX27Rc/rmfYVamF4SCxbZMC0RFJVo/frSa1MrcJEbgggs5l/bm7Y9aToG3cJZbazTFR/qa46gRnXKfL7IByYUhOuFcyi2F/2ZcvHvi0ZaWxC3kxB7SDoe9Pl4CkjiNPBq/1JfeFdbwdtWpNsT/LjI5t9Ww= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765888458; c=relaxed/simple; bh=6sEmYO86SFrWdqAvuz7qfzRBJJO/JEItxF9LrpPOvsQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZHnjnHtNqVI+4xiRGzwBlVvuykTE47KhyVJqDAd3BSwto8TMsr5vo9hB5Pbcf+o7hzMktjP3bPV7WvDTPcwdiA7ZuaNlh/xbkkosz+ibzVWyAVUEfGtfT7qkIjBrKl/VV+F+tZFlksZAcyJh1Lbc5K9qURmcTt0T+9qQsvGcOZY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WKyJ5nOc; 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="WKyJ5nOc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 55C14C16AAE; Tue, 16 Dec 2025 12:34:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1765888458; bh=6sEmYO86SFrWdqAvuz7qfzRBJJO/JEItxF9LrpPOvsQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WKyJ5nOcgYiI97yF1ugenoa2g7JheSMesedDVd8mGVcgHRFtPBVdhlq04s8p2KoDv WvhlGNwJbXPYgpC7Wzd4D0kWxIcdE/nunTdthuC+u0rgDICq41tGaoDaTKO1V8luGE 8TLuVnnrOYgMK7YCIpS2iu/QRJQGsHQNEzAHNgeH1lZ0dgNWPDgEMb3r6hnBB3YWHh e9Fw8VwKG8wsSgMfgAPPQU7QHQKyYw98+5zk4nt0xnbCnksus9hkHDYjwnTcuTrVI6 YseKwABsbQDTqaDiGmicWWEGlFITSlNEa2TUZkBONkhLdrGwRZFXyfu+Y0ImNB57xj +ePGaCT42SprQ== 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 v2 1/7] firmware: dmi: Correct an indexing error in dmi.h Date: Tue, 16 Dec 2025 06:33:48 -0600 Message-ID: <20251216123354.9219-2-superm1@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251216123354.9219-1-superm1@kernel.org> References: <20251216123354.9219-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) --- 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