From: Daniel Lezcano <daniel.lezcano-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
To: Dmitry Osipenko <digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>,
Thierry Reding
<thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Alexandre Courbot
<gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Thomas Gleixner <tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] clocksource: tegra: Maintain CPU endianness
Date: Thu, 26 Mar 2015 10:58:32 +0100 [thread overview]
Message-ID: <5513D848.20400@linaro.org> (raw)
In-Reply-To: <1426693503-6056-1-git-send-email-digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
On 03/18/2015 04:44 PM, Dmitry Osipenko wrote:
> Support big-endian kernel by using endian-aware register access functions.
>
> Signed-off-by: Dmitry Osipenko <digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Stephen, Thierry ?
Do you ack it ?
Thanks
-- Daniel
> ---
> drivers/clocksource/tegra20_timer.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/clocksource/tegra20_timer.c b/drivers/clocksource/tegra20_timer.c
> index d2616ef..d8a3a4e 100644
> --- a/drivers/clocksource/tegra20_timer.c
> +++ b/drivers/clocksource/tegra20_timer.c
> @@ -57,9 +57,9 @@ static u64 persistent_ms, last_persistent_ms;
> static struct delay_timer tegra_delay_timer;
>
> #define timer_writel(value, reg) \
> - __raw_writel(value, timer_reg_base + (reg))
> + writel_relaxed(value, timer_reg_base + (reg))
> #define timer_readl(reg) \
> - __raw_readl(timer_reg_base + (reg))
> + readl_relaxed(timer_reg_base + (reg))
>
> static int tegra_timer_set_next_event(unsigned long cycles,
> struct clock_event_device *evt)
>
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
WARNING: multiple messages have this Message-ID (diff)
From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: Dmitry Osipenko <digetx@gmail.com>,
Stephen Warren <swarren@wwwdotorg.org>,
Thierry Reding <thierry.reding@gmail.com>,
Alexandre Courbot <gnurou@gmail.com>,
Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org
Subject: Re: [PATCH] clocksource: tegra: Maintain CPU endianness
Date: Thu, 26 Mar 2015 10:58:32 +0100 [thread overview]
Message-ID: <5513D848.20400@linaro.org> (raw)
In-Reply-To: <1426693503-6056-1-git-send-email-digetx@gmail.com>
On 03/18/2015 04:44 PM, Dmitry Osipenko wrote:
> Support big-endian kernel by using endian-aware register access functions.
>
> Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Stephen, Thierry ?
Do you ack it ?
Thanks
-- Daniel
> ---
> drivers/clocksource/tegra20_timer.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/clocksource/tegra20_timer.c b/drivers/clocksource/tegra20_timer.c
> index d2616ef..d8a3a4e 100644
> --- a/drivers/clocksource/tegra20_timer.c
> +++ b/drivers/clocksource/tegra20_timer.c
> @@ -57,9 +57,9 @@ static u64 persistent_ms, last_persistent_ms;
> static struct delay_timer tegra_delay_timer;
>
> #define timer_writel(value, reg) \
> - __raw_writel(value, timer_reg_base + (reg))
> + writel_relaxed(value, timer_reg_base + (reg))
> #define timer_readl(reg) \
> - __raw_readl(timer_reg_base + (reg))
> + readl_relaxed(timer_reg_base + (reg))
>
> static int tegra_timer_set_next_event(unsigned long cycles,
> struct clock_event_device *evt)
>
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
next prev parent reply other threads:[~2015-03-26 9:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-18 15:44 [PATCH] clocksource: tegra: Maintain CPU endianness Dmitry Osipenko
2015-03-18 15:44 ` Dmitry Osipenko
[not found] ` <1426693503-6056-1-git-send-email-digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-03-26 9:58 ` Daniel Lezcano [this message]
2015-03-26 9:58 ` Daniel Lezcano
2015-03-26 15:31 ` Thierry Reding
2015-03-26 15:31 ` Thierry Reding
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=5513D848.20400@linaro.org \
--to=daniel.lezcano-qsej5fyqhm4dnm+yrofe0a@public.gmane.org \
--cc=digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
--cc=tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org \
--cc=thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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.