diff options
author | Huacai Chen <chenhuacai@loongson.cn> | 2025-06-24 14:29:27 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-06-24 10:45:32 -0500 |
commit | a02fd05661d73a8507dd70dd820e9b984490c545 (patch) | |
tree | 886ecdb3041a7a03561a0eed0e33e27bed32272c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 19272b37aa4f83ca52bdf9c16d5d81bdd1354494 (diff) |
PCI: Extend isolated function probing to LoongArch
Like s390 and the jailhouse hypervisor, LoongArch's PCI architecture allows
passing isolated PCI functions to a guest OS instance. So it is possible
that there is a multi-function device without function 0 for the host or
guest.
Allow probing such functions by adding a IS_ENABLED(CONFIG_LOONGARCH) case
in the hypervisor_isolated_pci_functions() helper.
This is similar to commit 189c6c33ff42 ("PCI: Extend isolated function
probing to s390").
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20250624062927.4037734-1-chenhuacai@loongson.cn
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions