Re: [PATCH] PCI: Extend isolated function probing to LoongArch

2025-06-25 Thread Bjorn Helgaas
On Tue, Jun 24, 2025 at 02:29:27PM +0800, Huacai Chen wrote: > 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. >

[PATCH] PCI: Extend isolated function probing to LoongArch

2025-06-23 Thread Huacai Chen
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)