Re: [PATCH] PCI/ATS: PASID and PRI are only enumerated in PF devices.

From: Raj, Ashok
Date: Thu Jul 23 2020 - 13:38:21 EST


Hi Bjorn

On Tue, Jul 21, 2020 at 09:54:01AM -0500, Bjorn Helgaas wrote:
> On Mon, Jul 20, 2020 at 09:43:00AM -0700, Ashok Raj wrote:
> > PASID and PRI capabilities are only enumerated in PF devices. VF devices
> > do not enumerate these capabilites. IOMMU drivers also need to enumerate
> > them before enabling features in the IOMMU. Extending the same support as
> > PASID feature discovery (pci_pasid_features) for PRI.
> >
> > Signed-off-by: Ashok Raj <ashok.raj@xxxxxxxxx>
>
> Hi Ashok,
>
> When you update this for the 0-day implicit declaration thing, can you
> update the subject to say what the patch *does*, as opposed to what it
> is solving? Also, no need for a period at the end.

Yes, will update and resend. Goofed up a couple things, i'll update those
as well.


>
> Does this fix a regression? Is it associated with a commit that we
> could add as a "Fixes:" tag so we know how far back to try to apply
> to stable kernels?

Yes, but the iommu files moved location and git fixes tags only generates
for a few handful of commits and doesn't show the old ones.

Cheers,
Ashok