]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
PCI/DPC: Quirk PIO log size for Intel Raptor Lake-P
authorTakashi Iwai <tiwai@suse.de>
Thu, 2 Jan 2025 16:43:13 +0000 (17:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2025 13:01:24 +0000 (14:01 +0100)
commit2290d3bd965089e1c7965a77c95248aab300cb05
tree822a14e675c69ffad4cdee3a380357bd84a9ef6c
parent95432a37778c9c5dd105b7b9f19e9695c9e166cf
PCI/DPC: Quirk PIO log size for Intel Raptor Lake-P

[ Upstream commit b198499c7d2508a76243b98e7cca992f6fd2b7f7 ]

Apparently the Raptor Lake-P reference firmware configures the PIO log size
correctly, but some vendor BIOSes, including at least ASUSTeK COMPUTER INC.
Zenbook UX3402VA_UX3402VA, do not.

Apply the quirk for Raptor Lake-P.  This prevents kernel complaints like:

  DPC: RP PIO log size 0 is invalid

and also enables the DPC driver to dump the RP PIO Log registers when DPC
is triggered.

Note that the bug report also mentions 8086:a76e, which has been already
added by 627c6db20703 ("PCI/DPC: Quirk PIO log size for Intel Raptor Lake
Root Ports").

Link: https://lore.kernel.org/r/20250102164315.7562-1-tiwai@suse.de
Link: https://bugzilla.suse.com/show_bug.cgi?id=1234623
Signed-off-by: Takashi Iwai <tiwai@suse.de>
[bhelgaas: commit log]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Krzysztof WilczyƄski <kwilczynski@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pci/quirks.c