From nobody Tue Aug 25 00:37:26 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4hTTQ039Q7z6pMx2 for ; Tue, 25 Aug 2026 00:37:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hTTPz0Cg7z4P95 for ; Tue, 25 Aug 2026 00:37:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1787618247; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=katKK48RI0Cs3ccqxa0h2uqmVA2Z6L3m37Sywd8ySgA=; b=lWWaGFniaX4wIWpF85TIS2fCzukBQBc7FAR5+ow29Xf5mae8McIo4akXtQ4ZhtKQA/6oyC dsKdgYpB8L0HNguAJeGz9gl0yMGpPkD6ixFnKUtUPzkFwbXQM6ziXQPJg+eWpNkV0S5hws 5slKLRJr+dVWj/Y5b10KmoQDC8iH/wabYgyUDMSUV1UK2GfnWsHsvLpfpx8jA2GM8bv01z zXoEQnJZQxzJiXCdlqoLqjmCWyVsUwVnfReF9extvh5lIqGCaKq2nX1X02mOjUGLiPiIiu Uf7aBO7+xDEBItAosZSUxIQL63wW2b/xYF+4bEiRru3xGt4N7K1fqoGiuRQTHA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1787618247; a=rsa-sha256; cv=none; b=QUbNd8w0rvDvTbx3LunomJcHcqJBcEZW9WWwu/qWt+kkcSobWKwJxqfC7hl4IP5ktcBUZ3 rFvDo1bVCbF67UlO6d/ZTcgPz2FaA9pOy/yjncM+LnZiKjYZeR2yv/lR9nXZ3tK/sbe4hV KkdOeV9vwnVtRJz6c2JO0mS8JPqt/kBTXpiETuop/1oBcgkQ4dZ+9eVg8T3ZjBtqBzC9Yq ypaS2jKxanjzsnXk0Rsp3ebQsCPWU5BwEcXHWvd7QxPQ6uQwssYY2Qd+1MJnrdq0HbaGa7 xld4UbrgQh6tp20363AvR76mrRSHPd9wumkt5kw3g2A0rAzlENQWdVXhtdTFUw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1787618247; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=katKK48RI0Cs3ccqxa0h2uqmVA2Z6L3m37Sywd8ySgA=; b=djxzFtyIbXqzzILutb5v+dGX+xMJROyOovhwgZiRu01+Dwn3ej4M8dZlIYSfp00+7jABHi cwkUpahqF3+3vQpHIPnQatmXgoqH5mmOl7ChPgY9y82cRweDP6yJj1RXbTaakGDCVYzaLA KgPcaAn9TihAIpLeKL4XsJsbmGQL6amB8bfR7n46DophMvrkRYG+eYSyqp/EzGBv2ztEmS dSZlfqZReC9iXmSSqDK+plLgYcmMdO+d+mOVnOdAihC5G7zyxwR0GQaU30Q72VqQwnxALb i+h3dpp2e5Oii/DTqWpn77QdFWPC9Swwm4hgGAnWQ+N09QKSVF8M1XBxjlM1NA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hTTPy5xW3zCKF for ; Tue, 25 Aug 2026 00:37:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3e54c by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 25 Aug 2026 00:37:26 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kevin Bowling Subject: git: 97f6c301d8b2 - stable/14 - e1000: Accept uninitialized Tiger Lake NVM checksums List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kbowling X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 97f6c301d8b2d1e3b43a33913c05a6ab7440baaa Auto-Submitted: auto-generated Date: Tue, 25 Aug 2026 00:37:26 +0000 Message-Id: <6a8ce3c6.3e54c.351b12a9@gitrepo.freebsd.org> The branch stable/14 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=97f6c301d8b2d1e3b43a33913c05a6ab7440baaa commit 97f6c301d8b2d1e3b43a33913c05a6ab7440baaa Author: Kevin Bowling AuthorDate: 2026-08-11 18:57:52 +0000 Commit: Kevin Bowling CommitDate: 2026-08-25 00:34:57 +0000 e1000: Accept uninitialized Tiger Lake NVM checksums Some transitional Tiger Lake systems shipped with an uninitialized checksum word. Accept that state while continuing to validate newer read-only NVM images. (cherry picked from commit ccb8ad1f645eb77d393eb81ff1b86b213b74bc87) --- sys/dev/e1000/e1000_defines.h | 1 + sys/dev/e1000/e1000_nvm.c | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/sys/dev/e1000/e1000_defines.h b/sys/dev/e1000/e1000_defines.h index 9b8aca173856..fb21ad3d24b0 100644 --- a/sys/dev/e1000/e1000_defines.h +++ b/sys/dev/e1000/e1000_defines.h @@ -1177,6 +1177,7 @@ /* For checksumming, the sum of all words in the NVM should equal 0xBABA. */ #define NVM_SUM 0xBABA +#define NVM_CHECKSUM_UNINITIALIZED 0xFFFF /* PBA (printed board assembly) number words */ #define NVM_PBA_OFFSET_0 8 diff --git a/sys/dev/e1000/e1000_nvm.c b/sys/dev/e1000/e1000_nvm.c index 8a26e1dd0427..bc5ca47eae34 100644 --- a/sys/dev/e1000/e1000_nvm.c +++ b/sys/dev/e1000/e1000_nvm.c @@ -1215,6 +1215,13 @@ s32 e1000_validate_nvm_checksum_generic(struct e1000_hw *hw) checksum += nvm_data; } + /* Some transitional TGP systems shipped with an empty checksum word. */ + if (hw->mac.type == e1000_pch_tgp && + nvm_data == NVM_CHECKSUM_UNINITIALIZED) { + DEBUGOUT("Uninitialized NVM checksum on TGP; ignoring\n"); + return E1000_SUCCESS; + } + if (checksum != (u16) NVM_SUM) { DEBUGOUT("NVM Checksum Invalid\n"); return -E1000_ERR_NVM;