Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message May 24, 2025

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit ff930c4653ae3952d6b09ab3ec89671aeabf2cbe:

Fio 3.40 (2025-05-20 12:23:01 -0600)

are available in the Git repository at:

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

for you to fetch changes up to c348db31ccce60f2808dd84c1f43f36a1556141a:

Add Zhaoxin support to enable tsc_reliable and arch_random features (2025-05-23 09:46:26 -0600)

----------------------------------------------------------------
Runa Guo-oc (1):
Add Zhaoxin support to enable tsc_reliable and arch_random features

 arch/arch-x86-common.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

---

Diff of recent changes:

arch/arch-x86-common.h +2 -1
index f32835cc..ac26126a 100644
@@ -68,7 +68,8 @@ static inline void arch_init(char *envp[])
 			 (unsigned int *) &str[4]);
 
 	str[12] = '\0';
-	if (!strcmp(str, "GenuineIntel"))
+	if (!strcmp(str, "GenuineIntel") || !strcmp(str, "  Shanghai  ") ||
+	    !strcmp(str, "CentaurHauls"))
 		arch_init_intel();
 	else if (!strcmp(str, "AuthenticAMD") || !strcmp(str, "HygonGenuine"))
 		arch_init_amd();