]> git.karo-electronics.de Git - karo-tx-linux.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)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Tue, 7 Feb 2017 13:07:01 +0000 (08:07 -0500)
commit5adad168e586cb381633f45d181bb729b04393a5
tree9c8169c08b3f192155745ffe60bb505d8ec02b66
parent7243b93345f7f8de260e8f5b4670803e64fcbb00
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>
arch/x86/xen/enlighten.c