Commit 680ae635 authored by Lei Zhou's avatar Lei Zhou Committed by Zheng Zengkai
Browse files

hwtracing: hisi_ptt: Only add the supported devices to the filters list

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I60FNG



--------------------------------------------------------------

The PTT device can only filter the devices on the same PCIe core,
within BDF range [lower_bdf, upper_bdf]. Add the miss checking when
initialize the filters list.

Fixes: ff0de066 ("hwtracing: hisi_ptt: Add trace function support
for HiSilicon PCIe Tune and Trace device")

Signed-off-by: default avatarWangming Shao <shaowangming@h-partners.com>
Signed-off-by: default avatarLei Zhou <zhoulei154@h-partners.com>
Reviewed-by: default avatarYicong Yang <yangyicong@huawei.com>
Reviewed-by: default avatarYang Jihong <yangjihong1@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent dffc764b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment