All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: Alexander Dahl <ada@thorsis.com>
Cc: linux-rt-users@vger.kernel.org,
	Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
	Thomas Gleixner <tglx@linutronix.de>,
	LKML <linux-kernel@vger.kernel.org>,
	Steven Rostedt <rostedt@goodmis.org>
Subject: Re: [ANNOUNCE] v5.2.9-rt3
Date: Tue, 20 Aug 2019 17:44:18 +0200	[thread overview]
Message-ID: <20190820154418.GM3545@piout.net> (raw)
In-Reply-To: <2182739.9IRgZpf3R8@ada>

Hi,

On 19/08/2019 13:03:51+0200, Alexander Dahl wrote:
> Hei hei,
> 
> just tried to compile this v5.2.9-rt3 for SAMA5D27-SOM1-EK1 based on 
> arch/arm/configs/sama5_defconfig and with running oldconfig and selecting 
> defaults, but that fails if CONFIG_ATMEL_TCB_CLKSRC_USE_SLOW_CLOCK is not set. 
> 
> I think this is due to changes for Atmel TCLIB in v5.2 and the not yet adapted 
> RT patch "clocksource: TCLIB: Allow higher clock rates for clock events", 
> right?

Patch clocksource-tclib-allow-higher-clockrates.patch needs to be
changed so:

ret = setup_clkevents(tc, best_divisor_idx);

becomes

ret = setup_clkevents(&tc, best_divisor_idx);


Also, I would think clocksource-tclib-add-proper-depend.patch could be
dropped. Instead, setup_clkevents should use atmel_tcb_divisors. It
would then be necessary to move its declaration before the function.

Sebastian, can you take care of that or do you expect a patch? In the
latter case, do you want a patch for the patch?

> 
> What's the recommended setting of this option for RT?
> 

Using the slow clock, will make the platform wakeup less frequently,
having a higher clock rate will give a better clockevent resolution.

-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2019-08-20 15:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-16 15:36 [ANNOUNCE] v5.2.9-rt3 Sebastian Andrzej Siewior
2019-08-19 11:03 ` Alexander Dahl
2019-08-20 15:44   ` Alexandre Belloni [this message]
2019-08-21 13:25     ` Sebastian Andrzej Siewior
2019-08-21 14:21       ` Alexandre Belloni
2019-08-21 14:42         ` Sebastian Andrzej Siewior
2019-08-21 14:58           ` Alexandre Belloni
2019-08-21 15:15             ` Sebastian Andrzej Siewior
2019-08-21 16:19               ` Alexandre Belloni

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=20190820154418.GM3545@piout.net \
    --to=alexandre.belloni@bootlin.com \
    --cc=ada@thorsis.com \
    --cc=bigeasy@linutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    --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.