Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1228789

Re: [PATCH] genirq: Fix bad IRQ_ONSHOT in forced IRQ setting

From Kohji Okuno <okuno.kohji@jp.panasonic.com>
Newsgroups linux.kernel
Subject Re: [PATCH] genirq: Fix bad IRQ_ONSHOT in forced IRQ setting
Date 2015-09-20 02:30 +0200
Message-ID <qaAFY-xF-17@gated-at.bofh.it> (permalink)
References <qa599-5y9-45@gated-at.bofh.it> <qasp4-5um-23@gated-at.bofh.it> <qawVH-3D5-1@gated-at.bofh.it>
Organization Panasonic Corporation

Show all headers | View raw


From: Thomas Gleixner <tglx@linutronix.de>
Date: Sat, 19 Sep 2015 22:24:15 +0200
> No, we can't. We can only do that if the interrupt is not shared.
> Assume the following scenario:
>        request_irq(irq, handler, IRQF_SHARED, "devA", devidA);
> In case of force threading that sets the oneshot flag for the irq
> descriptor.
> Now the sdhci driver is initialized
>        request_thread_irq(irq, handler, thandler, IRQF_SHARED,
>        			  "sdhci", devidSDHCI);
> The oneshot flag sticks and you run into exactly the same issue as
> now.
> Shared interrupts are a major pain, but we have to deal with them.
> I'm working on a solution for that issue.
> 
> Thanks,
> 	tglx

I understood. If you could prepare the patch, I can try it.

Thanks,
 Kohji Okuno
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] genirq: Fix bad IRQ_ONSHOT in forced IRQ setting Kohji Okuno <okuno.kohji@jp.panasonic.com> - 2015-09-17 09:40 +0200
  Re: [PATCH] genirq: Fix bad IRQ_ONSHOT in forced IRQ setting Thomas Gleixner <tglx@linutronix.de> - 2015-09-17 10:10 +0200
    Re: [PATCH] genirq: Fix bad IRQ_ONSHOT in forced IRQ setting Kohji Okuno <okuno.kohji@jp.panasonic.com> - 2015-09-17 10:30 +0200
      Re: [PATCH] genirq: Fix bad IRQ_ONSHOT in forced IRQ setting Kohji Okuno <okuno.kohji@jp.panasonic.com> - 2015-09-17 11:50 +0200
        Re: [PATCH] genirq: Fix bad IRQ_ONSHOT in forced IRQ setting Thomas Gleixner <tglx@linutronix.de> - 2015-09-17 23:20 +0200
          Re: [PATCH] genirq: Fix bad IRQ_ONSHOT in forced IRQ setting Kohji Okuno <okuno.kohji@jp.panasonic.com> - 2015-09-18 02:40 +0200
            Re: [PATCH] genirq: Fix bad IRQ_ONSHOT in forced IRQ setting Thomas Gleixner <tglx@linutronix.de> - 2015-09-18 11:10 +0200
              Re: [PATCH] genirq: Fix bad IRQ_ONSHOT in forced IRQ setting Kohji Okuno <okuno.kohji@jp.panasonic.com> - 2015-09-18 11:30 +0200
                Re: [PATCH] genirq: Fix bad IRQ_ONSHOT in forced IRQ setting Marc Zyngier <marc.zyngier@arm.com> - 2015-09-18 12:10 +0200
                Re: [PATCH] genirq: Fix bad IRQ_ONSHOT in forced IRQ setting Kohji Okuno <okuno.kohji@jp.panasonic.com> - 2015-09-18 13:00 +0200
                Re: [PATCH] genirq: Fix bad IRQ_ONSHOT in forced IRQ setting Thomas Gleixner <tglx@linutronix.de> - 2015-09-18 16:50 +0200
                Re: [PATCH] genirq: Fix bad IRQ_ONSHOT in forced IRQ setting Kohji Okuno <okuno.kohji@jp.panasonic.com> - 2015-09-19 17:40 +0200
                Re: [PATCH] genirq: Fix bad IRQ_ONSHOT in forced IRQ setting Thomas Gleixner <tglx@linutronix.de> - 2015-09-19 22:30 +0200
                Re: [PATCH] genirq: Fix bad IRQ_ONSHOT in forced IRQ setting Kohji Okuno <okuno.kohji@jp.panasonic.com> - 2015-09-20 02:30 +0200

csiph-web