Bug 209141

Summary: DPC/AER kernel message is misleading in FW first mode
Product: Drivers Reporter: David Chang (david.chang)
Component: PCIAssignee: drivers_pci (drivers_pci)
Status: NEW ---    
Severity: normal CC: david.chang, robert.dompier, rui.zhang
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.8.0-rc1 Subsystem:
Regression: No Bisected commit-id:

Description David Chang 2020-09-03 06:05:41 UTC
There are issues in how the OS advertises control of DPC and AER. 

In firmware controlled DPC mode, the kernel log shows:

[    0.199999] acpi PNP0A08:01: _OSC: platform does not support [SHPCHotplug AER LTR]
[    0.200118] acpi PNP0A08:01: _OSC: OS now controls [PCIeHotplug PME PCIeCapability DPC]

There are two problems with the above. 
1) In line one, the OS log states the platform does not support AER. However, the platform does support AER. This kernel log statement is incorrect.

2) In line two, the OS log states the OS now controls DPC. This is not correct as the firmware owns/controls both DPC and AER.