History log of /external/fio/arch/arch.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bbc1f06c53dae1fdad253dcbd08283c26556bfe1 27-Feb-2015 Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com> fio: fix cycles_start build issue

There is an issue introduced with "commit 73df3e07 gettime: offset CPU cycle
counter by initial value". For architectures which define
ARCH_CPU_CLOCK_CYCLES_PER_USEC (currently only s390) this causes a build
error

gettime.c:174:11: error: ‘cycles_start’ undeclared (first use in this
function)
if (t < cycles_start && !cycles_wrap)

To make sure variables and code are only compiled in the same cases I
added a
clock definition called ARCH_CPU_CLOCK_WRAPS. We could merge
ARCH_CPU_CLOCK_WRAPS and the existing ARCH_CPU_CLOCK_CYCLES_PER_USEC
into one
if you prefer, so far nobody else uses it.

To avoid cluttering all architecture headers I enabled it by default in
arch-generic.h, so any arch not needing the wrap handling can undef
ARCH_CPU_CLOCK_WRAPS later in their headers.

Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/arch/arch.h
6bc303722302b80a73d0fa2a0f30ec7df7cdefc7 07-Jun-2014 Doug Kwan <dougkwan@google.com> Add aarch64 support.

This patch adds support for aarch64 for fio. This is tested by building
FIO on an aarch64 Ubuntu system and running some samepls.

Signed-off-by: Doug Kwan <dougkwan@google.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/arch/arch.h
4247d1a9a27b6a23092a2c75e94e0545ad6a3376 26-Feb-2013 Jens Axboe <axboe@kernel.dk> powerpc: use ATB clock, if it's available

The ATB is more precise, but we don't know if it's available.
Check by forking off a process that attempts to use it, if
we die with SIGILL, then we know it's not there.

Based on code from Steven Noonan.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/arch/arch.h
67bf982340d95ca98098ea050b54b4c7adb116c0 10-Jan-2013 Jens Axboe <axboe@kernel.dk> Add configure script

Get rid of all the fragile guessing and checking of features,
and roll a configure script instead.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/arch/arch.h
6cd949398c755b242ad47afba685e65cd584ef68 21-Dec-2012 Jens Axboe <axboe@kernel.dk> Include <stdint.h> before checking __WORDSIZE

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/arch/arch.h
5499f7ffa2e603edf571f339c513c5aeef57565c 26-Jun-2012 Jens Axboe <axboe@kernel.dk> Add missing arch_mips

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/arch/arch.h
cca84643cc10cd72b0b453ff92ccb8643ba51493 07-Oct-2011 Jens Axboe <axboe@kernel.dk> Pass arch/os in probe

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/arch/arch.h
5f739e0e2912b809635fac635a8c1140155577e6 27-Aug-2011 Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Fix compile on environment of SuperH

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/arch/arch.h
d3cc4ebf58ec05037c3b0dd7c83c075a56f1dc62 25-Aug-2011 Jens Axboe <jaxboe@fusionio.com> Make SH port work for packagers that don't differentiate between SH4 and SH4A

Generic bits done by me, SH specific bits implemented by
Nobuhiro Iwamatsu <iwamatsu@nigauri.org>.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/arch/arch.h
85a863194fe44f815fe8d88cfc3dde6b22009c06 22-Feb-2010 Jens Axboe <jens.axboe@oracle.com> PA-RISC support

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/arch/arch.h
29721c9ce4f85775ff77dcb04bd26a7f10272e47 22-Dec-2009 Nobuhiro Iwamatsu <iwamatsu@nigauri.org> sh4 support

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/arch/arch.h
fa77073a574c3b322529fe11c4af16eed1667079 21-Dec-2009 Jens Axboe <jens.axboe@oracle.com> Add generic arch include header

For a newer glibc, this should work (as we don't need private
splice defines, for instance).

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/arch/arch.h
2afd826bf6cd19900aee70ae14ede92d91b6f4c0 14-Dec-2009 Jens Axboe <jens.axboe@oracle.com> Support for Mac OS 10.6.2

Contributed by Small Tree, adopted to newer fio version by me.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/arch/arch.h
11f97f307bbba7c320b0dab0a55ef6795b72e3d6 23-Nov-2009 Jens Axboe <jens.axboe@oracle.com> Re-include fallback BITS_PER_LONG fallback

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/arch/arch.h
daaa166fb4d4869882885094d8b8ad44f6d159ce 04-Nov-2009 Jens Axboe <jens.axboe@oracle.com> Move BITS_PER_LONG define to arch

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/arch/arch.h
c28b912f77c3dafbdcdcf4def2c8c1f9c127100c 01-Sep-2009 Jens Axboe <jens.axboe@oracle.com> MIPS support

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/arch/arch.h
a1ea676e7a0ffc73fa5384ddb189ced9edd4b0bf 23-Apr-2009 Kedar Sovani <kedars@marvell.com> fio: Include support for ARM

Assembly instructions picked from include/asm-arm/system.h

Signed-off-by: Kedar Sovani <kedars@marvell.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/arch/arch.h
3b02d57453fc574331020c3d842a27c67846a4b7 13-Jun-2008 Jens Axboe <jens.axboe@oracle.com> Revert "Add spinlocks"

This reverts commit 69ebbd397e80b23ec4281c99e9f7242a089cc771.
/external/fio/arch/arch.h
69ebbd397e80b23ec4281c99e9f7242a089cc771 12-Jun-2008 Jens Axboe <jens.axboe@oracle.com> Add spinlocks

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/arch/arch.h
8f7e39dd35a40d088a31f33f12402a1eaf31b2c4 01-Jun-2008 Jens Axboe <jens.axboe@oracle.com> Readd the arch ffz functions

May as well use the single op version if we have them, it's
generally a lot faster than the generic_ffz()

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/arch/arch.h
697a606cc0af1c39ac18998c344a522199accb36 31-May-2008 Jens Axboe <jens.axboe@oracle.com> Add sparc and sparc64 support

Also get rid of the arch private ffz functions, the generic
one is just fine.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/arch/arch.h
5921e80c5dfc9f96d2f21da6ae58f2b5d3a0b373 30-May-2008 Jens Axboe <jens.axboe@oracle.com> Make it work on opensolaris

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/arch/arch.h
317b95d07d4921d2594a1be6e014c9c2d062fe75 02-Apr-2007 Jens Axboe <jens.axboe@oracle.com> Move os/arch/compiler headers into directories

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/arch/arch.h