linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
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


  reply	other threads:[~2015-03-26  9:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-18 15:44 [PATCH] clocksource: tegra: Maintain CPU endianness Dmitry Osipenko
2015-03-26  9:58 ` Daniel Lezcano [this message]
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@linaro.org \
    --cc=digetx@gmail.com \
    --cc=gnurou@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=swarren@wwwdotorg.org \
    --cc=tglx@linutronix.de \
    --cc=thierry.reding@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).