diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-10-12 04:00:49 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-10-12 04:00:49 +0000 |
| commit | c22f60e6e55f1bf300dd76d2222a93911f3b2bb2 (patch) | |
| tree | ef665e7018377f53612ac2751dcaea35a1c587b6 /x86-ioapic-ack-default.patch | |
| parent | 39a4763249cd6289e5019acfe0c98dbb169f5f2e (diff) | |
automatic import of xenopeneuler22.03_LTS
Diffstat (limited to 'x86-ioapic-ack-default.patch')
| -rw-r--r-- | x86-ioapic-ack-default.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/x86-ioapic-ack-default.patch b/x86-ioapic-ack-default.patch new file mode 100644 index 0000000..8ae0ac5 --- /dev/null +++ b/x86-ioapic-ack-default.patch @@ -0,0 +1,18 @@ +Change default IO-APIC ack mode for single IO-APIC systems to old-style. + +Index: xen-4.13.0-testing/xen/arch/x86/io_apic.c +=================================================================== +--- xen-4.13.0-testing.orig/xen/arch/x86/io_apic.c ++++ xen-4.13.0-testing/xen/arch/x86/io_apic.c +@@ -2029,7 +2029,10 @@ void __init setup_IO_APIC(void) + io_apic_irqs = ~PIC_IRQS; + + printk("ENABLING IO-APIC IRQs\n"); +- printk(" -> Using %s ACK method\n", ioapic_ack_new ? "new" : "old"); ++ if (!directed_eoi_enabled && !ioapic_ack_forced) { ++ ioapic_ack_new = (nr_ioapics > 1); ++ printk(" -> Using %s ACK method\n", ioapic_ack_new ? "new" : "old"); ++ } + + if (ioapic_ack_new) { + ioapic_level_type.ack = irq_complete_move; |
