Re: [PATCH v3 5/8] ath11k: use KVM MSI domain for VM passthrough

From: Jason Gunthorpe

Date: Thu Oct 29 2026 - 13:07:28 EST


On Thu, Oct 29, 2026 at 05:37:10PM +0100, Jose Ignacio Tornos Martinez wrote:
> @@ -855,6 +858,13 @@ static int ath11k_pci_power_up(struct ath11k_base *ab)
>
> ath11k_pci_msi_enable(ab_pci);
>
> +#if IS_ENABLED(CONFIG_PCI_KVM_MSI_DOMAIN)
> + if (kvm_pci_msi_wait_ready(ab_pci->pdev, 500) > 0)
> + kvm_pci_msi_get_address(ab_pci->pdev, &ab->pci.msi.addr_lo,
> + &ab->pci.msi.addr_hi,
> + &ab->pci.msi.ep_base_data);
> +#endif

This connection should be done through ACPI somehow, and I think
Thomas would expect this to be modeled on the platform msi domain,
just ported to PCI instead of this.

Jason