From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 In-Reply-To: <20180314114125.71132-2-mika.westerberg@linux.intel.com> References: <20180314114125.71132-1-mika.westerberg@linux.intel.com> <20180314114125.71132-2-mika.westerberg@linux.intel.com> From: "Rafael J. Wysocki" Date: Wed, 14 Mar 2018 12:50:28 +0100 Message-ID: Subject: Re: [PATCH 2/2] PCI/DPC: Do not enable DPC if AER control is not allowed by the BIOS To: Mika Westerberg Cc: Bjorn Helgaas , "Rafael J . Wysocki" , Len Brown , Keith Busch , Linux PCI , ACPI Devel Maling List Content-Type: text/plain; charset="UTF-8" Sender: linux-acpi-owner@vger.kernel.org List-ID: On Wed, Mar 14, 2018 at 12:41 PM, Mika Westerberg wrote: > Commit eed85ff4c0da ("PCI/DPC: Enable DPC only if AER is available") > made DPC control dependent whether AER is enabled in the OS. However, it > does not take into account situations where BIOS has not given OS > control of AER: > > acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI] > acpi PNP0A08:00: _OSC: platform does not support [AER] > acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug PME PCIeCapability] > > I think here it is better not to enable DPC even if the capability is > available because then it would be against what "Determination of DPC > Control" note in PCIe 4.0 sec 6.1.10 recommends. > > Signed-off-by: Mika Westerberg This may clash with the recent PCIe ports initialization rework from Bjorn, please double check.