[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220330193832.GF2120790@nvidia.com>
Date: Wed, 30 Mar 2022 16:38:32 -0300
From: Jason Gunthorpe <jgg@...dia.com>
To: Logan Gunthorpe <logang@...tatee.com>
Cc: Bjorn Helgaas <helgaas@...nel.org>,
Shlomo Pongratz <shlomopongratz@...il.com>,
linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org,
andrew.maier@...eticom.com, bhelgaas@...gle.com,
Shlomo Pongratz <shlomop@...ops.com>
Subject: Re: [PATCH V4 1/1] Intel Sky Lake-E host root ports check.
On Wed, Mar 30, 2022 at 01:36:25PM -0600, Logan Gunthorpe wrote:
> Checking simply for PCI_EXP_TYPE_ROOT_PORT instead of a zero devfn is
> probably a good idea, assuming it works for all existing systems. I'd
> expect it would be set for all the devices currently allowed.
I think if we find a PCI ID in the white list as we go up the PCI
hierarchy we should just declare success?
Does it matter if it is the top of the tree or if it is a root port or
host bridge? The IDs in this list only exist as part of SOCs, so
seeing them at all should confirm the whole SOC..
Jason
Powered by blists - more mailing lists