public inbox for linux-pci@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] PCI/portdrv: Allow DPC if the OS controls AER natively.
@ 2023-12-23 21:22 Matthew W Carlis
  2023-12-23 21:22 ` Matthew W Carlis
  0 siblings, 1 reply; 21+ messages in thread
From: Matthew W Carlis @ 2023-12-23 21:22 UTC (permalink / raw)
  To: helgaas, bhelgaas, sathyanarayanan.kuppuswamy, linux-pci,
	mika.westerberg
  Cc: Matthew W Carlis

During our kernel version migration we encountered an issue preventing DPC
from being used by the kernel on the downstream ports of PCIe switches.
After some review of the patch history & code we found that the kernel
now required pcie_ports=dpc-native command line argument for such devices.
This came after we picked up:
    "PCI/portdrv: Allow AER service only for Root Ports & RCECs"

Belief is that the above patch is 'more correct' on the AER side, but perhaps
'less correct' on DPC. I initially reached out in the patch's email
thread to see whether others had thoughts & whether this change might be
desireable after which I was asked if I would submit a patch. Took a little
time to read some of the ACPI/PCIe specifications which are the basis of my
beliefs about the correctness of this patch. That being, if a user builds the
kernel with DPC/AER & the kernel receives OS control over AER, then it should
automatically use AER & DPC where applicable in the PCIe hierarchy.

Matthew W Carlis (1):
  PCI/portdrv: Allow DPC if the OS controls AER natively.

 drivers/pci/pcie/portdrv.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)


base-commit: ceb6a6f023fd3e8b07761ed900352ef574010bcb
-- 
2.17.1


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2024-02-21 23:33 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-23 21:22 [PATCH 1/1] PCI/portdrv: Allow DPC if the OS controls AER natively Matthew W Carlis
2023-12-23 21:22 ` Matthew W Carlis
2023-12-25 17:53   ` kernel test robot
2023-12-25 20:36   ` kernel test robot
2023-12-26  0:02     ` Matthew W Carlis
2023-12-28 21:23   ` Bjorn Helgaas
2024-01-02 15:41     ` Kuppuswamy Sathyanarayanan
2024-01-08 19:46       ` Matthew W Carlis
2024-01-08 19:53         ` Kuppuswamy Sathyanarayanan
2024-01-09  0:15           ` Matthew W Carlis
2024-01-10 16:41             ` Kuppuswamy Sathyanarayanan
2024-01-10 17:13               ` Kuppuswamy Sathyanarayanan
2024-01-10 20:01                 ` Matthew W Carlis
2024-01-10 19:59               ` Matthew W Carlis
2024-01-22 19:32             ` Bjorn Helgaas
2024-01-23  2:37               ` Kuppuswamy Sathyanarayanan
2024-01-23 15:59                 ` Bjorn Helgaas
2024-01-23 23:18                   ` Matthew W Carlis
2024-01-24 20:29                     ` Bjorn Helgaas
2024-02-21 23:11                   ` Bjorn Helgaas
2024-02-21 23:33                     ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox