On 05.12.2023 21:31, Sébastien Chaumat wrote: >> [ 2.464598] amd_gpio AMDI0030:00: failed to enable wake-up interrupt > > Is it expected that IRQ7 goes from fasteoi (kernel 6.6.4 ) to > ioapic-edge and IRQ9 to ioapic-level ? > > IR-IO-APIC 7-fasteoi pinctrl_amd > IR-IO-APIC 9-fasteoi acpi > > to (xen 4.18.0) > > xen-pirq -ioapic-edge pinctrl_amd > xen-pirq -ioapic-level acpi > > ?
So we need to come back to here: If the IRQ is indeed treated as level triggered in the native kernel, it needs sorting where that information is coming from there, and why different information is used under Xen. Clearly xen_register_gsi() is passed ACPI_EDGE_SENSITIVE (and ACPI_ACTIVE_LOW), supposedly coming from ACPI. Jan