Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Sep 23, 2022

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit d14687025c0c61d047e4252036d1b024d62cb0a6:

configure: change grep -P to grep -E (2022-09-19 09:42:14 -0400)

are available in the Git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to 0574e8c3b2b47e1e2564c2f50ea0b6f2629f2e48:

arm64: ensure CPU clock retrieval issues isb() (2022-09-22 10:03:51 -0600)

----------------------------------------------------------------
Jens Axboe (1):
arm64: ensure CPU clock retrieval issues isb()

 arch/arch-aarch64.h | 3 +++
 1 file changed, 3 insertions(+)

---

Diff of recent changes:

arch/arch-aarch64.h +3 -0
index 951d1718..919e5796 100644
@@ -27,10 +27,13 @@ static inline int arch_ffz(unsigned long bitmask)
 
 #define ARCH_HAVE_FFZ
 
+#define isb()	asm volatile("isb" : : : "memory")
+
 static inline unsigned long long get_cpu_clock(void)
 {
 	unsigned long val;
 
+	isb();
 	asm volatile("mrs %0, cntvct_el0" : "=r" (val));
 	return val;
 }