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=1796310563; b=Hlz0EbmIwW0Zj7kKAGvZg7ydB8bOzTQswZ2UYXvWLk1UdI5bSRnI78CJIXXyG5vRtmOd E9mDLIk0dhCa08vgQoWxXYwej1KLny5WT70vMMFyS7rw7ilTRgNoGEYfNF4U/PSWIzsJY STiO5CeqONpIpff+Egb2LCVzppSGIM/Wt1GGe31l2M5HdsSVBMgNEpQxOUtwmb7Zl4I6J aailPkZM1nR1eutcHudTHW/RKT2zt96dMaNS+DCUhA6bunEkc4mPV4iEtxB+YWL3rCEdL yLR6uTR5XpwXVa9bv8j+5hK3FDYTHHiyFBpkBiA8un9jSSto/RBIU6XbzhWBj4ikd5Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796310563; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=ioWZJhlr5xG1GmHdEDwxu04jPI9Ul66ORScaAfujI2U=; b=fcYTI+Gn2SNvIXvnu9qko5oOJ02f6mNo1gIBS3jYwfh5AHW5jexitbn1Q21Vl7OpY9YK gQBxR+2cQtEh/0VdYsWwkEB07jr5Yce685xsFIhBi9UxAnWmoM/u9HO0FRKRkyGpxdPDi se4VRIZQfgvVxMXniF4eAzCFU0EdDAZugqYYsqTtl7uIKDZaZC3osp2fZmFfngYQP5OW+ GosO0sHZbGCOuF9ctnSstlNp4w7/Qdti/S9DKZH5OAVkdGm/Gg7L4eEuKOti60cUPN6UZ qh+v2cw6zwiDFitCPnoF6umhjoT7lXO1MnIRyyLQdslRAJMzPMZfI7hokU5VVDyJ/wg== 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=f68FZEjP; 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 C7220606A322 for ; Thu, 3 Dec 2026 15:09:23 +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=f68FZEjP Received: by smtp.kernel.org (Postfix) with ESMTPSA id 91D571F00893; Thu, 3 Dec 2026 15:09:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796310563; bh=ioWZJhlr5xG1GmHdEDwxu04jPI9Ul66ORScaAfujI2U=; h=From:Subject:Reply-To:To:In-Reply-To:References:Date; b=f68FZEjPkQnzlqv0kXbTaHUKrS119vAJ84UfCqjLDCJw9ljCj9BymElYFF3yBMPv5 iC3vdYvIunOpTsy5T5jr0nsqx0ephA5lWeCLDNNpKd4AFesPMWbrwTHb4ce+Euqqdl 6zNjnw+9u8zIQZmZeOoNepfka+CFhfwzkSgSS6PmQ+D48eXfWgrWzVpnjNRM51Za1u V6EAY3IXqUKN1Y2SrDKY1VToEPBIiZs8WUks3+oFKrgw3trLcGNzETVbdrNAR2+4CK k47wDA6pHuvtRfWFOR79eIaZAqDoX/zw+YhGX+wsqQhN8KqnrRZ6TVUrdx5+E4EhW9 o17kQuG4szuVQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v3 2/2] x86/PCI: Extend AMD erratum #1146 workaround to more root ports Reply-To: sashiko-reviews@lists.linux.dev To: "Anthony Pighin" , linux-pci@vger.kernel.org In-Reply-To: <20261203145647.707695-3-anthony.pighin@nokia.com> References: <20261203145647.707695-1-anthony.pighin@nokia.com> <20261203145647.707695-3-anthony.pighin@nokia.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 15:09:23 +0000 X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Medium] x86/PCI: quirk_amd_dpc_rp_pio_syserror() lacks CPU gating for 0x1483 -- commit fef7a67559982357ef07371bab8932c87aa84604 Author: Anthony Pighin x86/PCI: Extend AMD erratum #1146 workaround to more root ports This commit registers quirk_amd_dpc_rp_pio_syserror() as a header and early-resume PCI fixup for AMD PCI device ID 0x1483, extending the erratum #1146 workaround beyond device ID 0x1453. Link: https://docs.amd.com/v/u/en-US/56323_PUB_1.03_RG_Rome > diff --git a/arch/x86/pci/fixup.c b/arch/x86/pci/fixup.c > index d8ea0e5292aee..be179e81550c7 100644 > --- a/arch/x86/pci/fixup.c > +++ b/arch/x86/pci/fixup.c [ ... ] > @@ -1204,3 +1207,5 @@ static void quirk_amd_dpc_rp_pio_syserror(struct pc= i_dev *dev) > } > DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, 0x1453, quirk_amd_dpc_rp_pio= _syserror); > DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_AMD, 0x1453, quirk_amd_dpc_= rp_pio_syserror); > +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, 0x1483, quirk_amd_dpc_rp_pio= _syserror); > +DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_AMD, 0x1483, quirk_amd_dpc_= rp_pio_syserror); [Severity: Medium] Should the 0x1483 fixup in quirk_amd_dpc_rp_pio_syserror() be gated by CPU family and model? Device ID 0x1483 is also used by Family 17h Model 71h and Family 19h Models 00h-0Fh and 21h, where Revision Guide 56683 omits erratum #1146. If PCI_EXP_DPC_RP_PIO_SYSERROR has standard active-high polarity on those parts, writing 0x00070707 enables escalation instead of disabling it. Routine RP PIO errors such as link-down config reads or hot-unplug would then trigger System Errors or platform resets, while the quirk logs that escalation was disabled. Reverting this commit later would also drop the documented Family 17h Models 30h-3Fh workaround. Gating 0x1483 with boot_cpu_data or x86_match_cpu() inside quirk_amd_dpc_rp_pio_syserror() to restrict it to confirmed affected models (Family 17h Models 30h-3Fh) would avoid regressing unaffected hardware until its register polarity is confirmed. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203145647.7076= 95-1-anthony.pighin@nokia.com?part=3D2