From: Thomas Gleixner <tglx@linutronix.de>
To: Xiubo Li <Li.Xiubo@freescale.com>
Cc: daniel.lezcano@linaro.org, linux-kernel@vger.kernel.org,
john.stultz@linaro.org
Subject: Re: [PATCH v3 1/2] clocksource: Update to the newer memory functions.
Date: Tue, 30 Sep 2014 23:20:45 +0200 (CEST) [thread overview]
Message-ID: <alpine.DEB.2.11.1409302229400.4455@nanos> (raw)
In-Reply-To: <1412053408-21751-2-git-send-email-Li.Xiubo@freescale.com>
On Tue, 30 Sep 2014, Xiubo Li wrote:
> Use ioread{16,32} instead of read{w,l}_relaxed.
>
> For read{w,l}_relaxed accessor, if one arch has its own defination,
> then used it. Or will use the generic one, which will be read as LE
> endian as default.
>
> For some ARCHes, such PowerPC, if using the clocksource mmio, the
> read{w,l}_relaxed will couldn't be used directly. There must be its
> own BE accessor in its individual clocksource driver.
>
> The ioread{16,32} will be read as LE endian as default if the arch
> hasn't any defination of it too, like read{w,l}_relaxed do.
>
> To prepare supporting the BE APIs and to be more unified with them,
> using ioread{16,32}[be] is a good chioce here.
This is complete nonsense. I asked you to split this change out and
provide a very reasonable changelog for it in the hope that you would
start to think about what the difference between read*, read*_relaxed
and ioread* are.
I bet you did not even try to think about it for a split second.
You just mechanically split out the changes and dumped your completely
incompetent opinion how these interfaces work and why they are there
in the first place into a uncomprehensible changelog.
Try again, once you understood the semantics of the interfaces and a
proper explanation why inflicting a massive performance hit on most
existing users seems to be a brilliant idea.
Once you've done that use that acquired knowledge to look at your
proposed BE functions and figure out why they are wrong as well.
Thanks,
tglx
next prev parent reply other threads:[~2014-09-30 21:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-30 5:03 [PATCH v3 0/2] clocksource: Add BE APIs support Xiubo Li
2014-09-30 5:03 ` [PATCH v3 1/2] clocksource: Update to the newer memory functions Xiubo Li
2014-09-30 21:20 ` Thomas Gleixner [this message]
2014-09-30 5:03 ` [PATCH v3 2/2] clocksource: Add BE APIs support for clocksource counter reading Xiubo Li
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=alpine.DEB.2.11.1409302229400.4455@nanos \
--to=tglx@linutronix.de \
--cc=Li.Xiubo@freescale.com \
--cc=daniel.lezcano@linaro.org \
--cc=john.stultz@linaro.org \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®