]> www.infradead.org Git - users/dwmw2/linux.git/commit
PCI/DPC: Quirk PIO log size for Intel Ice Lake Root Ports
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 11 May 2023 12:19:05 +0000 (15:19 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Apr 2024 14:19:34 +0000 (16:19 +0200)
commit0f608ce96520000a027ff12a2171950398e40506
tree6ccae41637e65b502a24414263c00180f4b5036c
parentff5305ec8c0e706e87817535504ef30d9b1f4916
PCI/DPC: Quirk PIO log size for Intel Ice Lake Root Ports

commit 3b8803494a0612acdeee714cb72aa142b1e05ce5 upstream.

Commit 5459c0b70467 ("PCI/DPC: Quirk PIO log size for certain Intel Root
Ports") added quirks for Tiger and Alder Lake Root Ports but missed that
the same issue exists also in the previous generation, Ice Lake.

Apply the quirk for Ice Lake Root Ports as well.  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.

[bhelgaas: add dmesg warning and RP PIO Log dump info]
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=209943
Link: https://lore.kernel.org/r/20230511121905.73949-1-mika.westerberg@linux.intel.com
Reported-by: Mark Blakeney <mark.blakeney@bullet-systems.net>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/quirks.c