path: root/arch/arch-x86-common.h
AgeCommit message (Collapse)Author
2020-02-06Unify architecture io_uring syscall numbersJens Axboe
Only Alpha is the odd one out, apart from that all architectures use the same system call number. So pull the code out arch headers, and into the generic arch header. Fixes: Signed-off-by: Jens Axboe <>
2019-01-28Merge branch 'hygon-support' of Axboe
* 'hygon-support' of Add Hygon SoC support to enable tsc_reliable feature
2019-01-29Add Hygon SoC support to enable tsc_reliable featurehygonsoc
2019-01-23io_uring: system calls have been renumberedJens Axboe
Signed-off-by: Jens Axboe <>
2018-06-05x86: don't need 'level' passed to amd/intel init functionsJens Axboe
Signed-off-by: Jens Axboe <>
2017-06-22arch: tsc_reliable can be a boolJens Axboe
Signed-off-by: Jens Axboe <>
2015-05-29Add Intel rdrand supportJens Axboe
Not wired up. Signed-off-by: Jens Axboe <>
2014-02-14Fix early termination of cpu id stringJens Axboe
Commit 2d60ad8e terminated the cpu id string at 12 chars, but the output from cpuid is 12 chars. So we need one more character, if we want it null terminated and strcmp() working. Signed-off-by: Jens Axboe <>
2014-02-13cpuid: Null terminate x86 CPU string.Sitsofe Wheeler
Signed-off-by: Sitsofe Wheeler <> Signed-off-by: Jens Axboe <>
2013-04-12x86: fixup cpuid for some odd (android) 32-bit variantsJens Axboe
Signed-off-by: Jens Axboe <>
2013-02-03gettime: fixup AMD constant TSC detectionJens Axboe
Signed-off-by: Jens Axboe <>
2012-12-18Fixup CPUID for 32-bit x86Jens Axboe
Signed-off-by: Jens Axboe <>
2012-12-09Add check for invariant TSC on x86 and use TSC is default clock if reliableJens Axboe
TSC is by far the fastest clock we can use. Check the CPUID bits for whether it is both constant rate AND synced across cores. If it is, we can use it as our default clock source. Fio will default to this clock source on x86 if no other clock source is specifically given with clocksource= in the job file. Signed-off-by: Jens Axboe <>