Re: [PATCH v2 1/2] hwtracing: hisi_ptt: Only add the supported devices to the filters list

From: Bjorn Helgaas
Date: Tue Jan 10 2023 - 10:07:08 EST


On Tue, Jan 10, 2023 at 09:08:32PM +0800, Yicong Yang wrote:
> From: Yicong Yang <yangyicong@xxxxxxxxxxxxx>
>
> The PTT device can only support the devices on the same PCIe core,
> within BDF range [lower_bdf, upper_bdf]. It's not correct to assume
> the devices on the root bus are from the same PCIe core, there are
> cases that root ports from different PCIe core are sharing the same
> bus. So add the checking when initialize the filters list.

"So check when initializing the filters list."