* [patch 5/8] x86/ioapic: Use apic_ack_irq()
@ 2018-06-04 15:33 Thomas Gleixner
2018-06-05 7:13 ` Song Liu
2018-06-06 13:33 ` [tip:x86/urgent] " tip-bot for Thomas Gleixner
0 siblings, 2 replies; 3+ messages in thread
From: Thomas Gleixner @ 2018-06-04 15:33 UTC (permalink / raw)
To: LKML
Cc: Ingo Molnar, Peter Zijlstra, Borislav Petkov, Dmitry Safonov,
Tariq Toukan, Song Liu, Joerg Roedel, Mike Travis, stable
[-- Attachment #1: x86-ioapic--Use-apic_ack_irq.patch --]
[-- Type: text/plain, Size: 800 bytes --]
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 <tglx@linutronix.de>
Cc: stable@vger.kernel.org
---
arch/x86/kernel/apic/io_apic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- 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 i
* 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);
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [patch 5/8] x86/ioapic: Use apic_ack_irq()
2018-06-04 15:33 [patch 5/8] x86/ioapic: Use apic_ack_irq() Thomas Gleixner
@ 2018-06-05 7:13 ` Song Liu
2018-06-06 13:33 ` [tip:x86/urgent] " tip-bot for Thomas Gleixner
1 sibling, 0 replies; 3+ messages in thread
From: Song Liu @ 2018-06-05 7:13 UTC (permalink / raw)
To: Thomas Gleixner
Cc: LKML, Ingo Molnar, Peter Zijlstra, Borislav Petkov,
Dmitry Safonov, Tariq Toukan, Joerg Roedel, Mike Travis, stable
Tested-by: Song Liu <songliubraving@fb.com>
On Mon, Jun 4, 2018 at 8:33 AM, Thomas Gleixner <tglx@linutronix.de> wrote:
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [tip:x86/urgent] x86/ioapic: Use apic_ack_irq()
2018-06-04 15:33 [patch 5/8] x86/ioapic: Use apic_ack_irq() Thomas Gleixner
2018-06-05 7:13 ` Song Liu
@ 2018-06-06 13:33 ` tip-bot for Thomas Gleixner
1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Thomas Gleixner @ 2018-06-06 13:33 UTC (permalink / raw)
To: linux-tip-commits
Cc: jroedel, 0x7f454c46, peterz, tariqt, songliubraving,
linux-kernel, bp, mingo, tglx, mike.travis, liu.song.a23, hpa
Commit-ID: 2b04e46d8d0b9b7ac08ded672e3eab823f01d77a
Gitweb: https://git.kernel.org/tip/2b04e46d8d0b9b7ac08ded672e3eab823f01d77a
Author: Thomas Gleixner <tglx@linutronix.de>
AuthorDate: Mon, 4 Jun 2018 17:33:57 +0200
Committer: Thomas Gleixner <tglx@linutronix.de>
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 <tglx@linutronix.de>
Tested-by: Song Liu <songliubraving@fb.com>
Cc: Joerg Roedel <jroedel@suse.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Song Liu <liu.song.a23@gmail.com>
Cc: Dmitry Safonov <0x7f454c46@gmail.com>
Cc: stable@vger.kernel.org
Cc: Mike Travis <mike.travis@hpe.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Tariq Toukan <tariqt@mellanox.com>
Link: https://lkml.kernel.org/r/20180604162224.639011135@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);
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-06-06 13:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-04 15:33 [patch 5/8] x86/ioapic: Use apic_ack_irq() Thomas Gleixner
2018-06-05 7:13 ` Song Liu
2018-06-06 13:33 ` [tip:x86/urgent] " tip-bot for Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).