From: gregory.clement@free-electrons.com (Gregory CLEMENT)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] clocksource; armada-370: implement ARM delay timer
Date: Mon, 19 Oct 2015 17:19:24 +0200 [thread overview]
Message-ID: <874mhmga2r.fsf@free-electrons.com> (raw)
In-Reply-To: <E1ZoByF-0002E9-9O@rmk-PC.arm.linux.org.uk> (Russell King's message of "Mon, 19 Oct 2015 16:03:31 +0100")
Hi Russell,
On lun., oct. 19 2015, Russell King <rmk+kernel@arm.linux.org.uk> wrote:
> Implement an ARM delay timer to be used for udelay() on Armada 37x
> platforms. This allows us to skip the delay loop calibration at boot,
> saving 180ms on the boot time of the kernel (which is around 10%).
>
> It also means that udelay() will be unaffected by CPU frequency changes
> when cpufreq is enabled on these platforms.
>
> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
> ---
> arch/arm/Kconfig | 1 +
> arch/arm/plat-orion/time.c | 13 +++++++++++++
You spoke only about the armada37x but you also modified the timer of
the orion platforms.
Could you split your patch in two part?
Then the arch/arm/plat-orion/time.c related part would be applied
through the mvebu tree and the drivers/clocksource/time-armada-370-xp.c
through the clocksource tree.
> drivers/clocksource/time-armada-370-xp.c | 14 ++++++++++++++
> 3 files changed, 28 insertions(+)
>
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index f3dfca632a8a..194569c23271 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -10,6 +10,7 @@ config ARM
> select ARCH_SUPPORTS_ATOMIC_RMW
> select ARCH_USE_BUILTIN_BSWAP
> select ARCH_USE_CMPXCHG_LOCKREF
> + select ARCH_WANT_FRAME_POINTERS
Is it related to this patch?
Thanks,
Gregory
> select ARCH_WANT_IPC_PARSE_VERSION
> select BUILDTIME_EXTABLE_SORT if MMU
> select CLONE_BACKWARDS
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
prev parent reply other threads:[~2015-10-19 15:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-19 15:03 [PATCH] clocksource; armada-370: implement ARM delay timer Russell King
2015-10-19 15:15 ` Andrew Lunn
2015-10-19 15:18 ` Russell King - ARM Linux
2015-10-19 15:19 ` Gregory CLEMENT [this message]
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=874mhmga2r.fsf@free-electrons.com \
--to=gregory.clement@free-electrons.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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.