[PATCH 1/1] PCI/portdrv: Allow DPC if the OS controls AER natively.

Matthew W Carlis
2024-01-23T23:18:40Z

Hello again! I'm glad that I'm not the only person with a little confusion
about the FW ECN regarding DPC/EDR. I would argue that DPC wasn't tied to EDR
& shouldn't have been because DPC was added in PCI Base Spec Rev 3.1 in 2014,
but there wasn't an EDR ECN till ~2020. Anyway, that's the way it goes..

I don't want to burden the kernel with making some impossible boot time decision
here. Perhaps most of the machines in the world using DPC will soon use EDR/SFI
etc. My use cases are a bit out of the ordinary & the ACPI specifications don't
seem to have given us a mechanism for the kernel to conclude it can use DPC
without EDR support...

Shall I submit a patch removing CONFIG_PCIE_EDR? Perhaps the exercise would
inform me about whether its code should be in CONFIG_PCIE_DPC or CONFIG_ACPI.

Thanks,
-Matt