Re: [PATCH v4] vfio/pci: Propagate ACPI notifications to user-space via eventfd

2023-06-09 Thread Grzegorz Jaszczyk
czw., 8 cze 2023 o 00:27 Alex Williamson napisał(a): > > On Wed, 7 Jun 2023 22:22:12 +0200 > Grzegorz Jaszczyk wrote: > > > > > > > > Can we drop the NTFY and just use VFIO_PCI_ACPI_IRQ_INDEX? > > > > > > ACPI_IRQ at first glance could be confused with SCI, which is e.g. > > > registered as "acpi

Re: [PATCH v4] vfio/pci: Propagate ACPI notifications to user-space via eventfd

2023-06-07 Thread Alex Williamson
On Wed, 7 Jun 2023 22:22:12 +0200 Grzegorz Jaszczyk wrote: > > > > > > Can we drop the NTFY and just use VFIO_PCI_ACPI_IRQ_INDEX? > > > > ACPI_IRQ at first glance could be confused with SCI, which is e.g. > > registered as "acpi" irq seen in /proc/interrupts, maybe it is worth > > keeping NTFY h

Re: [PATCH v4] vfio/pci: Propagate ACPI notifications to user-space via eventfd

2023-06-07 Thread Grzegorz Jaszczyk
Hi Alex, Could you please clarify two things before I will send v5? Please see inline śr., 31 maj 2023 o 17:34 Grzegorz Jaszczyk napisał(a): > > czw., 25 maj 2023 o 22:41 Alex Williamson > napisał(a): > > > > On Mon, 22 May 2023 16:58:11 + > > Grzegorz Jaszczyk wrote: > > > > > To allow pa

Re: [PATCH v4] vfio/pci: Propagate ACPI notifications to user-space via eventfd

2023-05-31 Thread Grzegorz Jaszczyk
czw., 25 maj 2023 o 22:41 Alex Williamson napisał(a): > > On Mon, 22 May 2023 16:58:11 + > Grzegorz Jaszczyk wrote: > > > To allow pass-through devices receiving ACPI notifications, permit to > > register ACPI notify handler (via VFIO_DEVICE_SET_IRQS) for a given > > device. The handler role

Re: [PATCH v4] vfio/pci: Propagate ACPI notifications to user-space via eventfd

2023-05-25 Thread Alex Williamson
On Mon, 22 May 2023 16:58:11 + Grzegorz Jaszczyk wrote: > To allow pass-through devices receiving ACPI notifications, permit to > register ACPI notify handler (via VFIO_DEVICE_SET_IRQS) for a given > device. The handler role is to receive and propagate such ACPI > notifications to the user-sp

[PATCH v4] vfio/pci: Propagate ACPI notifications to user-space via eventfd

2023-05-22 Thread Grzegorz Jaszczyk
To allow pass-through devices receiving ACPI notifications, permit to register ACPI notify handler (via VFIO_DEVICE_SET_IRQS) for a given device. The handler role is to receive and propagate such ACPI notifications to the user-space through the user provided eventfd. This allows VMM to receive and