Recent changes (master)

Jens Axboe <[email protected]> Sat, 24 May 2025 06:00:02 -0600 (MDT)
Newsgroups org.kernel.vger.fio
Message-ID <[email protected]>
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:

diff --git a/arch/arch-x86-common.h b/arch/arch-x86-common.h
index f32835cc..ac26126a 100644
--- a/arch/arch-x86-common.h
+++ b/arch/arch-x86-common.h
@@ -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();