From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796231660; b=Tidj8cKQFqg3nb0aJQZ61ks4e2jv+OnDf2XPZuOv9YxZ4Uq/rWt7RRiySQsTjPoiknjs +qv+AlwpyUO63WbpnPuyx4CmJ19Fu9eG50bU/oMb81JOB3UpvgK2zNPp4RsvE0SGlULfJ CPkwzKLOo80bY0XWKg5tKBwsjeECgyxdBA/oQAb9ktQUKX3KEGEzU9z2Gdd4DOcC7Pab9 uiFFzSwo7Nj+QH7+O3pzbst0AgEYaf8Las8zBtGqs/Mz6fuLyi3yUP7IQpY9W0OQbX8s4 dep0NPqzbz8lPrfARYD02an7HuVu0ueD5dOS5PFUE7f1BGPYeVwbzKd7tLHawtFoKVQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796231660; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=mYAXbGNKCrpLHfDuLehqvYq1GXQDeJdCyxgJ8igiaq4=; b=TsxEnlJr7wu0ieIeTCQsxtqp0NJ3r8sFoqWJhY6DEiw5MGcYXWfw8kr0uBtpix+C3hqB PPP4XZx3wVBnOvF5TV6qTMDRsXWHHce6y++V2SIlROA1kZyomXpFLwSWN2oLg5Y2zfLeH uNYvZ+cqFzLHW6yI88gr+7ugvMHF/9liph6jTWE94N0OIrosZ+oxbykjrukiTrf57cKlr 4y8Jxy26dD0fEOchQsJDYr34pzA3Im6TZarasmALwA9Lc5qK8+Mp2Zv4OCl/fHMo8a2I6 EIex4akIGTSLluDfpHBV0RK5J/7m8wjBbMiSF2x8HE4crJGzA2Z2TjU1ExgeRwcHbQg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=gAMdLte7; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 05500606A31A for ; Wed, 2 Dec 2026 17:14:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=gAMdLte7 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B63911F00893; Wed, 2 Dec 2026 17:14:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796231659; bh=mYAXbGNKCrpLHfDuLehqvYq1GXQDeJdCyxgJ8igiaq4=; h=From:Subject:Reply-To:To:In-Reply-To:References:Date; b=gAMdLte7xykCKpweDkRzi2HO0e4OpgaV4528ks+JcmF43OwLJ/sqK2PDPdvHEWv5k 91xLRZY1ONBKWd/yXaiijB7MFjgq+KfTW9p+qGuopCbzzx836TBZ4nmDt/6sSL9X94 j8bfY5aNU35gYIe2xpzzF7uxX9I49wLGtbPTUdcxjisZZmMDUR/deGNUekIeyi4tFD lLr7ldpyALuFxjkIALXtJhev+P+lnol3Rzz2a99EtayXVOCOF9PTRasy5/EyKdE2+6 ZbFmj/hGSyenggkqs7dNgUs0nk2ZUQIiqEExbs7LvOL3lvECPDfWoQDrg5c0tsogXt vT3URON0M5u3w== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v2] x86/PCI: Work around AMD erratum #1146 on Family 17h root ports Reply-To: sashiko-reviews@lists.linux.dev To: "Anthony Pighin" , linux-pci@vger.kernel.org In-Reply-To: <20261202170954.148541-1-anthony.pighin@nokia.com> References: <20261201041109.2656367-1-anthony.pighin@nokia.com> <20261202170954.148541-1-anthony.pighin@nokia.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Wed, 02 Dec 2026 17:14:19 +0000 X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > AMD Family 17h Models 00h-0Fh processors are affected by erratum #1146, > "PCIe DPC RP PIO Error Reporting May Not Function Correctly". The RP PIO > SysError register in the DPC Extended Capability has inverted enable > bits, so its zero reset value enables System Error reporting of RP PIO > errors on every root port, and the processor may mishandle such a System > Error. No fix is planned. The documented workaround is to program bits > [18:0] of the register to 0x7_0707. >=20 > With the register at zero, a config read to a root port whose link is > down (e.g. after Link Disable or during an endpoint reset) completes > with an RP PIO error that is escalated even when all RP PIO errors are > masked. When that coincides with MMIO to an endpoint behind another root > port of the same PCIe controller, the system takes a data fabric sync > flood and resets. With the workaround, the same reads return all-ones > and are logged by AER as Advisory Non-Fatal errors. >=20 > Apply the workaround on Family 17h Models 00h-0Fh to root ports that > implement the DPC RP Extensions, at enumeration and on resume, since the > DPC state saved across suspend does not include this register. >=20 > Link: https://docs.amd.com/v/u/en-US/55449-PUB-1.21 > Cc: stable@vger.kernel.org > Signed-off-by: Anthony Pighin Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261202170954.1485= 41-1-anthony.pighin@nokia.com?part=3D1