Re: [PATCH v13 1/2] arm/pci: add pci_passhtrough_enabled check to pci_device_reset

2025-07-18 Thread Jan Beulich
On 18.07.2025 13:52, Mykyta Poturai wrote: > On 16.07.25 11:36, Jan Beulich wrote: >> On 16.07.2025 09:43, Mykyta Poturai wrote: >>> Without pci-passthrough=on Xen does not know anything about present PCI >>> devices due to PHYSDEVOP_pci_device_add not executing. >> >> While the latter half of the

Re: [PATCH v13 1/2] arm/pci: add pci_passhtrough_enabled check to pci_device_reset

2025-07-18 Thread Mykyta Poturai
On 16.07.25 11:36, Jan Beulich wrote: > On 16.07.2025 09:43, Mykyta Poturai wrote: >> Without pci-passthrough=on Xen does not know anything about present PCI >> devices due to PHYSDEVOP_pci_device_add not executing. > > While the latter half of the sentence is true, Xen may know of PCI devices > b

Re: [PATCH v13 1/2] arm/pci: add pci_passhtrough_enabled check to pci_device_reset

2025-07-16 Thread Jan Beulich
On 16.07.2025 09:43, Mykyta Poturai wrote: > Without pci-passthrough=on Xen does not know anything about present PCI > devices due to PHYSDEVOP_pci_device_add not executing. While the latter half of the sentence is true, Xen may know of PCI devices be other means. It scans the bus itself after all

[PATCH v13 1/2] arm/pci: add pci_passhtrough_enabled check to pci_device_reset

2025-07-16 Thread Mykyta Poturai
Without pci-passthrough=on Xen does not know anything about present PCI devices due to PHYSDEVOP_pci_device_add not executing. This causes PHYSDEVOP_pci_device_reset to fail when trying to find the device that is being reset and return ENODEV. Add explicit is_pci_passthrough_enabled check to retur