aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apic/io_apic.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2017-02-26 15:34:42 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-02-26 15:34:42 -0500
commit8e22e1b3499a446df48c2b26667ca36c55bf864c (patch)
tree5329f98b3eb3c95a9dcbab0fa4f9b6e62f0e788d /arch/x86/kernel/apic/io_apic.c
parent00d3c14f14d51babd8aeafd5fa734ccf04f5ca3d (diff)
parent64a577196d66b44e37384bc5c4d78c61f59d5b2a (diff)
Merge airlied/drm-next into drm-misc-next
Backmerge the main pull request to sync up with all the newly landed drivers. Otherwise we'll have chaos even before 4.12 started in earnest. Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'arch/x86/kernel/apic/io_apic.c')
-rw-r--r--arch/x86/kernel/apic/io_apic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c
index 1e35dd06b090..bd6b8c270c24 100644
--- a/arch/x86/kernel/apic/io_apic.c
+++ b/arch/x86/kernel/apic/io_apic.c
@@ -1875,7 +1875,6 @@ static struct irq_chip ioapic_chip __read_mostly = {
1875 .irq_ack = irq_chip_ack_parent, 1875 .irq_ack = irq_chip_ack_parent,
1876 .irq_eoi = ioapic_ack_level, 1876 .irq_eoi = ioapic_ack_level,
1877 .irq_set_affinity = ioapic_set_affinity, 1877 .irq_set_affinity = ioapic_set_affinity,
1878 .irq_retrigger = irq_chip_retrigger_hierarchy,
1879 .flags = IRQCHIP_SKIP_SET_WAKE, 1878 .flags = IRQCHIP_SKIP_SET_WAKE,
1880}; 1879};
1881 1880
@@ -1887,7 +1886,6 @@ static struct irq_chip ioapic_ir_chip __read_mostly = {
1887 .irq_ack = irq_chip_ack_parent, 1886 .irq_ack = irq_chip_ack_parent,
1888 .irq_eoi = ioapic_ir_ack_level, 1887 .irq_eoi = ioapic_ir_ack_level,
1889 .irq_set_affinity = ioapic_set_affinity, 1888 .irq_set_affinity = ioapic_set_affinity,
1890 .irq_retrigger = irq_chip_retrigger_hierarchy,
1891 .flags = IRQCHIP_SKIP_SET_WAKE, 1889 .flags = IRQCHIP_SKIP_SET_WAKE,
1892}; 1890};
1893 1891
@@ -2117,6 +2115,7 @@ static inline void __init check_timer(void)
2117 if (idx != -1 && irq_trigger(idx)) 2115 if (idx != -1 && irq_trigger(idx))
2118 unmask_ioapic_irq(irq_get_chip_data(0)); 2116 unmask_ioapic_irq(irq_get_chip_data(0));
2119 } 2117 }
2118 irq_domain_deactivate_irq(irq_data);
2120 irq_domain_activate_irq(irq_data); 2119 irq_domain_activate_irq(irq_data);
2121 if (timer_irq_works()) { 2120 if (timer_irq_works()) {
2122 if (disable_timer_pin_1 > 0) 2121 if (disable_timer_pin_1 > 0)
@@ -2138,6 +2137,7 @@ static inline void __init check_timer(void)
2138 * legacy devices should be connected to IO APIC #0 2137 * legacy devices should be connected to IO APIC #0
2139 */ 2138 */
2140 replace_pin_at_irq_node(data, node, apic1, pin1, apic2, pin2); 2139 replace_pin_at_irq_node(data, node, apic1, pin1, apic2, pin2);
2140 irq_domain_deactivate_irq(irq_data);
2141 irq_domain_activate_irq(irq_data); 2141 irq_domain_activate_irq(irq_data);
2142 legacy_pic->unmask(0); 2142 legacy_pic->unmask(0);
2143 if (timer_irq_works()) { 2143 if (timer_irq_works()) {