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=1796098492; b=qL43tILerQt/lm7FOITZ4618JLmPJCPKMkwGHmd/Hg9ACxP1Oh+vyuwBvjWMF7IjwKEp PQvGut16ubPHsqfx+pc1fAhi9fETNmKr94CPacSdfLyNZSaaYMN8mIVwHSiLS7Oc1Lo7M 5aJL4CXL447t+bRk806EocFDXgtjZAPx2ENA7Ze+Hzfg0xX3No87PVJjPLJOQxgUb5Ktq d98uJ6v5XOlWsftZSmUFydVbam/B5IOIppN53cMuMNC2YUObCca5r7JxLnM9kd37hr4Gw QC879ad+YqR9cEhcxXtwcDedxii32uaoWw3TkWHiC4JbaIsrPR24dkz5LhHYAcJYwAQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796098492; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=IxFXkjTUFa0QaXK80cZmcwYszlDZpIbY38YXKF90HA4=; b=wSzv6SBVNifW1DN82CYrVbSOQJkdinI6jiAWGafv3N9+X2eOqrM2jbtezYARPd4HOnf1 ny880oJgISKQbJHB/y6mov1s4leKbHbHs/VPhkzi4S0kbb6Spfq+asbvhyGFmv2R1Mdo8 ZthiUhErbbuRy+tKHnt91RzZIjuL9Nid5UccOcaDZuNJWzA5PI9h8nVzV1xKolMGc6kPi 5lXrXTBay6lS+dFeghWuR5XrRyjOQlP9fPj4oUWO3NKs//Js4cAOJrt2LYtCTjGIBcEH6 FlHyjJ7v/+Bae1vZ0fp+CO5OGgeuIwxfOAxkQ7oiIrzSTjUqMXG+SyP+T6a/BZ76yFg== 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=E5eSipwX; 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 8B0FD606A31A for ; Tue, 1 Dec 2026 04:14:52 +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=E5eSipwX Received: by smtp.kernel.org (Postfix) with ESMTPSA id 075561F000C1; Tue, 1 Dec 2026 04:14:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796098492; bh=IxFXkjTUFa0QaXK80cZmcwYszlDZpIbY38YXKF90HA4=; h=From:Subject:Reply-To:To:In-Reply-To:References:Date; b=E5eSipwXOLK3aE7r81zfvhKs2fBVY6sbZQB8xpwUCcanDiwVH+muahOyr60I/hP9c FXG5eYI9u4VW5IU87eZKJ/h/tnB7a6OvGhd/LKr/s8vwJzRTXUuqlT3nAIQGFoG5f5 ecvtbSNvWMaOH8Ni9MqqTbmXeEvQiTPE2HbMOclTpcjE8ZDtG/Ygk0CJRZp0WiVPw5 h9DUFKFQSCuFx0vGjmR2rN40u6sh4LxqaV/oCthdJXeq5mZDXNNRArwSB7nHLftgmV cTqEv/3bmImcS184svjDiek90CGtU52/cQJE834WJwpmvMj3qR2CJhyw2/pLfwIDJv wH6bb5Im31cDA== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] 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: <20261201041109.2656367-1-anthony.pighin@nokia.com> References: <20261201041109.2656367-1-anthony.pighin@nokia.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 01 Dec 2026 04:14:51 +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 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/20261201041109.2656= 367-1-anthony.pighin@nokia.com?part=3D1