Skip to contentSkip to conversation

Add Zhaoxin support to enable tsc_reliable and arch_random features

PATCH Applied Runa Guo-oc 4 participants 4 messages May 23, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/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(-)
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();
Signature · 1 line
2.17.1
#2 lore raw
Quoted 4 lines · On 5/23/25 3:38 AM, [email protected] wrote:

The result of fio's continuous integration tests was: cancelled

For more details see https://github.com/fiotestbot/fio/actions/runs/15200130502

The first test attempt was cancelled because Test 13 had not completed after nearly 6 hours. This is a longstanding issue that occurs from time to time and unrelated to this patch. I re-ran the failing platform and this second attempt passed.

Vincent

Applied
#3 lore raw
In reply to Runa Guo-oc
Quoted 1 line · Runa Guo-oc

Applied, thanks!

[1/1] Add Zhaoxin support to enable tsc_reliable and arch_random features

      commit: c348db31ccce60f2808dd84c1f43f36a1556141a

Best regards,

Signature · 1 line
Jens Axboe