Re: [PATCH v13 2/2] xen/arm: enable dom0 to use PCI devices with pci-passthrough=no

2025-07-16 Thread Jan Beulich
On 16.07.2025 09:43, Mykyta Poturai wrote: > --- a/xen/arch/x86/include/asm/pci.h > +++ b/xen/arch/x86/include/asm/pci.h > @@ -64,4 +64,10 @@ bool pci_check_bar(const struct pci_dev *pdev, mfn_t > start, mfn_t end); > struct rangeset; > int pci_sanitize_bar_memory(struct rangeset *r); > > +/*

[PATCH v13 2/2] xen/arm: enable dom0 to use PCI devices with pci-passthrough=no

2025-07-16 Thread Mykyta Poturai
From: Stewart Hildebrand Enable the use of IOMMU + PCI in dom0 without having to specify "pci-passthrough=yes". Due to possible platform specific dependencies of the PCI host, we rely on dom0 to initialize it and perform a PCI PHYSDEVOP calls to add each device to SMMU. Because pci_passthrough i