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


Groups > linux.kernel > #1616049

Re: [PATCH 1/4] regmap: irq: Fix lost interrupts by introducing handle_reread

From Tony Lindgren <tony@atomide.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/4] regmap: irq: Fix lost interrupts by introducing handle_reread
Date 2017-04-04 16:00 +0200
Message-ID <tsxa2-5BM-11@gated-at.bofh.it> (permalink)
References (5 earlier) <tq1xE-1ho-33@gated-at.bofh.it> <tq2Dn-22K-1@gated-at.bofh.it> <tq2WK-2sj-25@gated-at.bofh.it> <tsn0Z-7wd-1@gated-at.bofh.it> <tsvKW-4O6-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


* Mark Brown <broonie@kernel.org> [170404 05:22]:
> On Mon, Apr 03, 2017 at 08:03:00PM -0700, Tony Lindgren wrote:
> 
> > So I'll drop the genirq/regmap_irq related hacks and resend just
> > the minimal MFD fixes. Similar misconfiguration may be the root
> > cause for other drivers too..
> 
> It is sadly far too common for people to implement interrupt controllers
> that only do edge triggers, I've no idea why even on what are supposed
> to be relatively high end SoCs.  It seems to be a hardware designer
> thing, AFAICT they think for something to be useful it needs to be a bit
> more complicated.

For edge only GPIO controllers handling level interrupts might be
somewhat fixable in software. The GPIO controller could have a loop
reading of the GPIO line status in the interrupt handler and comparing
it to the configured triggering.

Regards,

Tony

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


Thread

Re: [PATCH 1/4] regmap: irq: Fix lost interrupts by introducing  handle_reread Mark Brown <broonie@kernel.org> - 2017-03-27 20:30 +0200
  Re: [PATCH 1/4] regmap: irq: Fix lost interrupts by introducing  handle_reread Tony Lindgren <tony@atomide.com> - 2017-03-28 02:40 +0200
    Re: [PATCH 1/4] regmap: irq: Fix lost interrupts by introducing  handle_reread Mark Brown <broonie@kernel.org> - 2017-03-28 17:30 +0200
      Re: [PATCH 1/4] regmap: irq: Fix lost interrupts by introducing  handle_reread Tony Lindgren <tony@atomide.com> - 2017-03-28 17:50 +0200
        Re: [PATCH 1/4] regmap: irq: Fix lost interrupts by introducing  handle_reread Mark Brown <broonie@kernel.org> - 2017-03-28 19:00 +0200
          Re: [PATCH 1/4] regmap: irq: Fix lost interrupts by introducing  handle_reread Tony Lindgren <tony@atomide.com> - 2017-03-28 19:20 +0200
            Re: [PATCH 1/4] regmap: irq: Fix lost interrupts by introducing  handle_reread Tony Lindgren <tony@atomide.com> - 2017-04-04 05:10 +0200
              Re: [PATCH 1/4] regmap: irq: Fix lost interrupts by introducing  handle_reread Mark Brown <broonie@kernel.org> - 2017-04-04 14:30 +0200
                Re: [PATCH 1/4] regmap: irq: Fix lost interrupts by introducing  handle_reread Tony Lindgren <tony@atomide.com> - 2017-04-04 16:00 +0200
                Re: [PATCH 1/4] regmap: irq: Fix lost interrupts by introducing  handle_reread Mark Brown <broonie@kernel.org> - 2017-04-04 17:30 +0200

csiph-web