diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-06-30 20:09:34 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-07-24 11:18:21 +0200 |
commit | 9683a64fc3cb67e663859a6bb2e0db5dcee9ed32 (patch) | |
tree | a827659fc191cb3eb4f5747dc70429a3df922396 /scripts/recordmcount.c | |
parent | eabc2a7c49c01fc97ff8c764ef7d74276b904af6 (diff) | |
download | talos-op-linux-9683a64fc3cb67e663859a6bb2e0db5dcee9ed32.tar.gz talos-op-linux-9683a64fc3cb67e663859a6bb2e0db5dcee9ed32.zip |
x86/io: Make readq() / writeq() API consistent
Despite the following commit:
93093d099e5d ("x86: provide readq()/writeq() on 32-bit too, complete")
which says:
...Also, map all the APIs to the strongest ordering variant. It's way
too easy to mess such details up in drivers and the difference between
"memory" and "" constrained asm() constructs is in the noise range.
... we have for now only one user of this API (i.e. writeq_relaxed() in
drivers/hwtracing/intel_th/sth.c) on x86 and it does care about
"relaxed" part of it.
Moreover 32-bit support has been removed from that header, though appeared
later in specific headers that emphasizes its non-atomic context.
The rest should keep in mind a consistent picture of the __raw_IO() vs. IO()
vs. IO_relaxed() API.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Baolin Wang <baolin.wang@spreadtrum.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: intel-gfx@lists.freedesktop.org
Cc: linux-i2c@vger.kernel.org
Cc: wsa@the-dreams.de
Link: http://lkml.kernel.org/r/20170630170934.83028-6-andriy.shevchenko@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'scripts/recordmcount.c')
0 files changed, 0 insertions, 0 deletions