]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/pvh: Make sure we don't use ACPI_IRQ_MODEL_PIC for SCI
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Mon, 6 Feb 2017 00:50:58 +0000 (19:50 -0500)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 13 Sep 2017 04:37:47 +0000 (21:37 -0700)
commitd42fdc8dac9483c6c398c7ed6acd45b06592a4a6
tree46e10173ce9b045b94386d54f340bc73a3d5a46a
parent7365a1d5b590888c33aff8065bc5a3d69cf2c75e
xen/pvh: Make sure we don't use ACPI_IRQ_MODEL_PIC for SCI

Since we are not using PIC and (at least currently) don't have IOAPIC
we want to make sure that acpi_irq_model doesn't stay set to
ACPI_IRQ_MODEL_PIC (which is the default value). If we allowed it to
stay then acpi_os_install_interrupt_handler() would try (and fail) to
request_irq() for PIC.

Instead we set the model to ACPI_IRQ_MODEL_PLATFORM which will prevent
this from happening.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
OraBug: 26662731

(cherry picked from commit 5adad168e586cb381633f45d181bb729b04393a5)
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
arch/x86/xen/enlighten.c