[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190412134939.cf32e03ba23cf8c8eef36bf4@suse.de>
Date: Fri, 12 Apr 2019 13:49:39 +0200
From: Thomas Bogendoerfer <tbogendoerfer@...e.de>
To: Alexandre Belloni <alexandre.belloni@...tlin.com>
Cc: Joshua Kinard <kumba@...too.org>,
Alessandro Zummo <a.zummo@...ertech.it>,
linux-rtc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] rtc: ds1685: disable interrupts when moving work to
work queue
On Fri, 12 Apr 2019 12:14:18 +0200
Alexandre Belloni <alexandre.belloni@...tlin.com> wrote:
> On 11/04/2019 16:33:23+0200, Thomas Bogendoerfer wrote:
> > Handling of extended interrupts (kickstart, wake-up, ram-clear) is
> > moved off to a work queue, but the interrupts aren't acknowledged
> > in the interrupt handler. This leads to a deadlock, if driver
> > is used with interrupts. To fix this we now disable in irq handler
> > and re-enable it after work queue is done.
> >
>
> The correct fix to that seems to switch to a threaded interrupt handler.
> Can you do that?
sure, shouldn't be a big problem.
Thomas.
--
SUSE Linux GmbH
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)
Powered by blists - more mailing lists