From nobody Sun Feb 8 12:37:06 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 DEC842BE7AB for ; Fri, 23 Jan 2026 21:31:04 +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=1769203864; cv=none; b=hFIHfBVgYyYTQHswxEQvWSEEL0QpqSYJaH4BpQNzoOJVPbWjjStCCzXgP0n34v5r6DDnSaUR3573UGHeXKyeP7h7BvAHinBihFbzK2c2QqV1O/Ci5gHsT3AET3vbnJstHZfwqzKKGJ0+0gZDMFDKlxypcZ8anT0AsN7S7FMTrIE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769203864; c=relaxed/simple; bh=pgdDW7ireEglwKas2aLd68lH+FyAl9F3znhco8U5X7k=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nd/TYk+stTZqT9bqLVJlSiExe/0/RchMbRIF47PSVxpAAUnAhalrIeJkHzYjgdet78b5apWyIAxHZQ3Jb1Tz3wSSiSCt0JOrt7Lm4recmrwDh6fW9uzLgxNd/8bP1GGS58s3oTukU7Yjw4aXByta70kYaop5fIh2QlPqq2VDUnc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fWxWmrdo; 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="fWxWmrdo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE673C116D0; Fri, 23 Jan 2026 21:31:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769203864; bh=pgdDW7ireEglwKas2aLd68lH+FyAl9F3znhco8U5X7k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fWxWmrdogaMl4PfQqhAchac5+6dfcbmLIpuI0HwNdyoTvVp16xqw2T5RMg0WTzrs3 hyo7vCKDDjltbsrseFAT4Net1+pTmyX1IYf9nEhuKWNHvggb2ELrccj+rhTa5spGp/ 2KSqhBWAM3Xjrc16Q2++Gc2IWn0ZOfECm2qFL3nQP04dCYy3nKOpgsR5LzZK+MjtRW HHR7Xv9ZTNPxTA94txCej7+1eX7oI58nV3GEB36EAsHjVo97+PyEInbenT5HOEh/ph XQLrzre2Z+fV+l8HQBiaKe4PHOar8+abvKJbG79PZ6w65cJe4nGrlghVR4epH9pLjB HodS/bBr7nZ1g== From: "Mario Limonciello (AMD)" To: Yazen Ghannam , Jean Delvare Cc: linux-kernel@vger.kernel.org, Borislav Petkov , "Mario Limonciello (AMD)" Subject: [PATCH v5 1/5] firmware: dmi: Correct an indexing error in dmi.h Date: Fri, 23 Jan 2026 15:30:52 -0600 Message-ID: <20260123213056.861317-2-superm1@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260123213056.861317-1-superm1@kernel.org> References: <20260123213056.861317-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