[tip:x86/urgent] x86/ioapic: Use apic_ack_irq()

2018-06-06 Thread tip-bot for Thomas Gleixner
Commit-ID:  2b04e46d8d0b9b7ac08ded672e3eab823f01d77a
Gitweb: https://git.kernel.org/tip/2b04e46d8d0b9b7ac08ded672e3eab823f01d77a
Author: Thomas Gleixner 
AuthorDate: Mon, 4 Jun 2018 17:33:57 +0200
Committer:  Thomas Gleixner 
CommitDate: Wed, 6 Jun 2018 15:18:21 +0200

x86/ioapic: Use apic_ack_irq()

To address the EBUSY fail of interrupt affinity settings in case that the
previous setting has not been cleaned up yet, use the new apic_ack_irq()
function instead of directly invoking ack_APIC_irq().

Preparatory change for the real fix

Fixes: dccfe3147b42 ("x86/vector: Simplify vector move cleanup")
Signed-off-by: Thomas Gleixner 
Tested-by: Song Liu 
Cc: Joerg Roedel 
Cc: Peter Zijlstra 
Cc: Song Liu 
Cc: Dmitry Safonov <0x7f454...@gmail.com>
Cc: sta...@vger.kernel.org
Cc: Mike Travis 
Cc: Borislav Petkov 
Cc: Tariq Toukan 
Link: https://lkml.kernel.org/r/20180604162224.639011...@linutronix.de

---
 arch/x86/kernel/apic/io_apic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c
index 7553819c74c3..3982f79d2377 100644
--- a/arch/x86/kernel/apic/io_apic.c
+++ b/arch/x86/kernel/apic/io_apic.c
@@ -1851,7 +1851,7 @@ static void ioapic_ir_ack_level(struct irq_data *irq_data)
 * intr-remapping table entry. Hence for the io-apic
 * EOI we use the pin number.
 */
-   ack_APIC_irq();
+   apic_ack_irq(irq_data);
eoi_ioapic_pin(data->entry.vector, data);
 }
 


[tip:x86/urgent] x86/ioapic: Use apic_ack_irq()

2018-06-06 Thread tip-bot for Thomas Gleixner
Commit-ID:  2b04e46d8d0b9b7ac08ded672e3eab823f01d77a
Gitweb: https://git.kernel.org/tip/2b04e46d8d0b9b7ac08ded672e3eab823f01d77a
Author: Thomas Gleixner 
AuthorDate: Mon, 4 Jun 2018 17:33:57 +0200
Committer:  Thomas Gleixner 
CommitDate: Wed, 6 Jun 2018 15:18:21 +0200

x86/ioapic: Use apic_ack_irq()

To address the EBUSY fail of interrupt affinity settings in case that the
previous setting has not been cleaned up yet, use the new apic_ack_irq()
function instead of directly invoking ack_APIC_irq().

Preparatory change for the real fix

Fixes: dccfe3147b42 ("x86/vector: Simplify vector move cleanup")
Signed-off-by: Thomas Gleixner 
Tested-by: Song Liu 
Cc: Joerg Roedel 
Cc: Peter Zijlstra 
Cc: Song Liu 
Cc: Dmitry Safonov <0x7f454...@gmail.com>
Cc: sta...@vger.kernel.org
Cc: Mike Travis 
Cc: Borislav Petkov 
Cc: Tariq Toukan 
Link: https://lkml.kernel.org/r/20180604162224.639011...@linutronix.de

---
 arch/x86/kernel/apic/io_apic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c
index 7553819c74c3..3982f79d2377 100644
--- a/arch/x86/kernel/apic/io_apic.c
+++ b/arch/x86/kernel/apic/io_apic.c
@@ -1851,7 +1851,7 @@ static void ioapic_ir_ack_level(struct irq_data *irq_data)
 * intr-remapping table entry. Hence for the io-apic
 * EOI we use the pin number.
 */
-   ack_APIC_irq();
+   apic_ack_irq(irq_data);
eoi_ioapic_pin(data->entry.vector, data);
 }