[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75VfLjQRfX9pXpFuA4uHqNcuwQNN7getjr3ro0JyHnVUJ9A@mail.gmail.com>
Date: Sat, 25 Jul 2020 13:38:00 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Kuppuswamy Sathyanarayanan
<sathyanarayanan.kuppuswamy@...ux.intel.com>
Cc: Bjorn Helgaas <bhelgaas@...gle.com>,
linux-pci <linux-pci@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Raj Ashok <ashok.raj@...el.com>
Subject: Re: [PATCH v8 5/5] PCI/DPC: Move AER/DPC dependency checks out of DPC driver
On Sat, Jul 25, 2020 at 7:01 AM
<sathyanarayanan.kuppuswamy@...ux.intel.com> wrote:
>
> From: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@...ux.intel.com>
>
> Currently, AER and DPC Capabilities dependency checks is
are
> distributed between DPC and portdrv service drivers. So move
> them out of DPC driver.
>
> Also, since services & PCIE_PORT_SERVICE_AER check already
> ensures AER native ownership, no need to add additional
> pcie_aer_is_native() check.
...
> if (pci_find_ext_capability(dev, PCI_EXT_CAP_ID_DPC) &&
> + host->native_dpc &&
> (host->native_dpc || (services & PCIE_PORT_SERVICE_AER)))
> services |= PCIE_PORT_SERVICE_DPC;
Can you elaborate this change, please?
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists