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


Groups > linux.kernel > #1366304

Re: [PATCH] clockevents/drivers/timer-atmel-pit: fix double free_irq

From Alexandre Belloni <alexandre.belloni@free-electrons.com>
Newsgroups linux.kernel
Subject Re: [PATCH] clockevents/drivers/timer-atmel-pit: fix double free_irq
Date 2016-03-29 16:00 +0200
Message-ID <ri2lA-72M-5@gated-at.bofh.it> (permalink)
References <rdMyL-3Bu-21@gated-at.bofh.it> <ri22g-6TC-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 29/03/2016 at 15:32:06 +0200, Sebastian Andrzej Siewior wrote :
> * Alexandre Belloni | 2016-03-17 21:09:43 [+0100]:
> 
> >Hi Sebastian,
> Hi Alexandre,
> 
> >This patch fixes the last warning for preempt-rt on at91. It applies on
> >v4.4.4-rt11. Note that the whome PIT/TCB mess will be fixed in another way in
> >the mainline as we are reworking the tcb driver to avoid using the pit when
> >booting.
> 
> oh, okay. I just sent the "arm: at91: do not disable/enable clocks in a
> row" patch as you asked me a while ago. It applied cleanly against the
> next tree of today.

Yeah, actually, it was not needed anymore. I forgot about it at the time
but f02b4b72d12c (clockevents/tcb_clksrc: Prevent disabling an already
disabled clock) was sufficient to remove the warning. Your patch is
still Ok but maybe it can get rid of the
"if (!clockevent_state_detached(d))" in tc_shutdown_clk_off()

I'll test and take care of that.

> So I will apply this to get rid of the warning. And if you manage not to
> use the PIT during boot then we won't have the free_irq() mess which is
> good.
> 

Yeah, this will definitively happen (hopefully sooner than later ;) )

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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


Thread

[PATCH] clockevents/drivers/timer-atmel-pit: fix double free_irq Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-03-17 21:20 +0100
  Re: [PATCH] clockevents/drivers/timer-atmel-pit: fix double free_irq Nicolas Ferre <nicolas.ferre@atmel.com> - 2016-03-18 09:30 +0100
  Re: [PATCH] clockevents/drivers/timer-atmel-pit: fix double free_irq Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-03-29 15:40 +0200
    Re: [PATCH] clockevents/drivers/timer-atmel-pit: fix double free_irq Nicolas Ferre <nicolas.ferre@atmel.com> - 2016-03-29 15:40 +0200
    Re: [PATCH] clockevents/drivers/timer-atmel-pit: fix double free_irq Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-03-29 16:00 +0200

csiph-web