[PATCH v9 4/5] PCI/portdrv: Remove redundant pci_aer_available() check in DPC enable logic

2020-09-27 Thread Kuppuswamy Sathyanarayanan
In DPC service enable logic, check for services & PCIE_PORT_SERVICE_AER implies pci_aer_available() is true. So there is no need to explicitly check it again. Also, passing pcie_ports=dpc-native in kernel command line implies DPC needs to be enabled in native mode irrespective of AER ownership sta

[PATCH v9 4/5] PCI/portdrv: Remove redundant pci_aer_available() check in DPC enable logic

2020-09-22 Thread sathyanarayanan . kuppuswamy
From: Kuppuswamy Sathyanarayanan In DPC service enable logic, check for services & PCIE_PORT_SERVICE_AER implies pci_aer_available() is true. So there is no need to explicitly check it again. Also, passing pcie_ports=dpc-native in kernel command line implies DPC needs to be enabled in native mod