All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
To: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Thomas Gleixner <tglx@linutronix.de>,
	Boris Brezillon <boris.brezillon@free-electrons.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org,
	Nicolas Ferre <nicolas.ferre@atmel.com>
Subject: Re: arm: at91: do not disable/enable clocks in a row
Date: Thu, 17 Mar 2016 19:09:49 +0100	[thread overview]
Message-ID: <20160317180949.GE2831@piout.net> (raw)
In-Reply-To: <20160309095824.GC10517@linutronix.de>

On 09/03/2016 at 10:58:24 +0100, Sebastian Andrzej Siewior wrote :
> * Alexandre Belloni | 2016-03-08 19:39:10 [+0100]:
> 
> >Hi,
> Hi,
> 
> >Both are things to work on. In the mean time, I'm using the following
> >patch:
> >https://github.com/alexandrebelloni/linux/commit/3a2eae463fce18ae815b887a5c9ca1a657b180ac
> >
> >I understood from
> >http://lkml.iu.edu/hypermail/linux/kernel/1601.2/00941.html that this
> >was not your preferred course of action.
> 
> That was one thing.  What about this:
> 
> ---
> 
> Currently the driver will disable the clock and enable it one line later
> if it is switching from periodic mode into one shot.
> This can be avoided and causes a needless warning on -RT.
> 
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

I'm fine with that if you don't want to rely on the clock event state
machine.

Can you submit it to the mainline with:
Tested-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>


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

WARNING: multiple messages have this Message-ID (diff)
From: alexandre.belloni@free-electrons.com (Alexandre Belloni)
To: linux-arm-kernel@lists.infradead.org
Subject: arm: at91: do not disable/enable clocks in a row
Date: Thu, 17 Mar 2016 19:09:49 +0100	[thread overview]
Message-ID: <20160317180949.GE2831@piout.net> (raw)
In-Reply-To: <20160309095824.GC10517@linutronix.de>

On 09/03/2016 at 10:58:24 +0100, Sebastian Andrzej Siewior wrote :
> * Alexandre Belloni | 2016-03-08 19:39:10 [+0100]:
> 
> >Hi,
> Hi,
> 
> >Both are things to work on. In the mean time, I'm using the following
> >patch:
> >https://github.com/alexandrebelloni/linux/commit/3a2eae463fce18ae815b887a5c9ca1a657b180ac
> >
> >I understood from
> >http://lkml.iu.edu/hypermail/linux/kernel/1601.2/00941.html that this
> >was not your preferred course of action.
> 
> That was one thing.  What about this:
> 
> ---
> 
> Currently the driver will disable the clock and enable it one line later
> if it is switching from periodic mode into one shot.
> This can be avoided and causes a needless warning on -RT.
> 
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

I'm fine with that if you don't want to rely on the clock event state
machine.

Can you submit it to the mainline with:
Tested-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>


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

  reply	other threads:[~2016-03-17 18:09 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-17  2:23 Fix preempt-rt on AT91 Alexandre Belloni
2016-01-17  2:23 ` Alexandre Belloni
2016-01-17  2:23 ` [PATCH 4.4-rt2] fix arm-at91-pit-remove-irq-handler-when-clock-is-unused.patch Alexandre Belloni
2016-01-17  2:23   ` Alexandre Belloni
2016-01-18 17:25   ` Sebastian Andrzej Siewior
2016-01-18 17:25     ` Sebastian Andrzej Siewior
2016-01-18 17:25     ` Sebastian Andrzej Siewior
2016-01-18 18:42     ` Alexandre Belloni
2016-01-18 18:42       ` Alexandre Belloni
2016-01-18 20:24       ` Sebastian Andrzej Siewior
2016-01-18 20:24         ` Sebastian Andrzej Siewior
2016-01-19  1:22         ` Alexandre Belloni
2016-01-19  1:22           ` Alexandre Belloni
2016-01-20 11:07       ` Thomas Gleixner
2016-01-20 11:07         ` Thomas Gleixner
2016-03-17 19:55         ` Alexandre Belloni
2016-03-17 19:55           ` Alexandre Belloni
2016-01-18 17:42 ` Fix preempt-rt on AT91 Sebastian Andrzej Siewior
2016-01-18 17:42   ` Sebastian Andrzej Siewior
2016-01-18 19:23   ` Alexandre Belloni
2016-01-18 19:23     ` Alexandre Belloni
2016-01-18 20:30     ` Sebastian Andrzej Siewior
2016-01-18 20:30       ` Sebastian Andrzej Siewior
2016-01-19  1:02       ` Alexandre Belloni
2016-01-19  1:02         ` Alexandre Belloni
2016-03-05 11:35   ` Alexandre Belloni
2016-03-05 11:35     ` Alexandre Belloni
2016-03-08 11:06     ` Sebastian Andrzej Siewior
2016-03-08 11:06       ` Sebastian Andrzej Siewior
2016-03-08 11:26       ` Thomas Gleixner
2016-03-08 11:26         ` Thomas Gleixner
2016-03-08 18:39       ` Alexandre Belloni
2016-03-08 18:39         ` Alexandre Belloni
2016-03-09  9:58         ` arm: at91: do not disable/enable clocks in a row Sebastian Andrzej Siewior
2016-03-17 18:09           ` Alexandre Belloni [this message]
2016-03-17 18:09             ` Alexandre Belloni
2016-02-18 20:16 ` Fix preempt-rt on AT91 Jean-Denis Girard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160317180949.GE2831@piout.net \
    --to=alexandre.belloni@free-electrons.com \
    --cc=bigeasy@linutronix.de \
    --cc=boris.brezillon@free-electrons.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=nicolas.ferre@atmel.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.