Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1561890
| From | Thomas Gleixner <tglx@linutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] x86/ioapic: add IO-APIC irq_chip retrigger hook |
| Date | 2017-01-18 16:20 +0100 |
| Message-ID | <t10bN-5IB-37@gated-at.bofh.it> (permalink) |
| References | <t0CVP-8bo-11@gated-at.bofh.it> <t0VYt-2Rb-3@gated-at.bofh.it> <t0Zpo-5cx-29@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, 18 Jan 2017, Ruslan Ruslichenko -X (rruslich - GLOBALLOGIC INC at Cisco) wrote:
> On 01/18/2017 12:46 PM, Thomas Gleixner wrote:
> > On Tue, 17 Jan 2017, Ruslan Ruslichenko wrote:
> >
> > > After commit d32932d02e18 ("x86/irq: Convert IOAPIC to use hierarchical
> > > irqdomain interfaces") IO-APIC is switched to hierarchical irqdomain
> > > implementation. Also this patch removed irq_retrigger hook for IO-APIC
> > > chip which seem to be wrong. Without this hook some edge-triggered irq's
> > > might be lost, since kernel uses it to retrigger edge irq's triggered
> > > while they are being handled or disabled by driver
> > Restoring the callbacks is the right thing to do, but there is no problem
> > because if the retrigger callback is empty then pending edge interrupts are
> > resent by software. It's just less efficient, but not a issue.
>
> Software resend will only work if CONFIG_HARDIRQS_SW_RESEND is enabled,
> which is not selected for x86 architectures.
Dammit, right you are. Good question why nobody noticed so far.
Lemme amend that commit, so it gets back into stable then.
Thanks,
tglx
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] x86/ioapic: add IO-APIC irq_chip retrigger hook Ruslan Ruslichenko <rruslich@cisco.com> - 2017-01-17 15:30 +0100
Re: [PATCH] x86/ioapic: add IO-APIC irq_chip retrigger hook Thomas Gleixner <tglx@linutronix.de> - 2017-01-18 11:50 +0100
Re: [PATCH] x86/ioapic: add IO-APIC irq_chip retrigger hook "Ruslan Ruslichenko -X (rruslich - GLOBALLOGIC INC at Cisco)" <rruslich@cisco.com> - 2017-01-18 15:30 +0100
Re: [PATCH] x86/ioapic: add IO-APIC irq_chip retrigger hook Thomas Gleixner <tglx@linutronix.de> - 2017-01-18 16:20 +0100
[tip:x86/apic] x86/ioapic: Restore IO-APIC irq_chip retrigger callback tip-bot for Ruslan Ruslichenko <tipbot@zytor.com> - 2017-01-18 12:00 +0100
[tip:x86/urgent] x86/ioapic: Restore IO-APIC irq_chip retrigger callback tip-bot for Ruslan Ruslichenko <tipbot@zytor.com> - 2017-01-18 15:50 +0100
csiph-web