You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
949 B
24 lines
949 B
From 61a4425dd412701f6c3545d8c1acd7e1a378ee8b Mon Sep 17 00:00:00 2001
|
|
From: "H.J. Lu" <hjl.tools@gmail.com>
|
|
Date: Wed, 26 Jan 2022 12:18:21 -0800
|
|
Subject: x86: Don't check PTWRITE in tst-cpu-features-cpuinfo.c
|
|
|
|
Don't check PTWRITE against /proc/cpuinfo since kernel doesn't report
|
|
PTWRITE in /proc/cpuinfo.
|
|
|
|
diff --git a/sysdeps/x86/tst-cpu-features-cpuinfo.c b/sysdeps/x86/tst-cpu-features-cpuinfo.c
|
|
index 91a656b61d..981b2be5fd 100644
|
|
--- a/sysdeps/x86/tst-cpu-features-cpuinfo.c
|
|
+++ b/sysdeps/x86/tst-cpu-features-cpuinfo.c
|
|
@@ -218,7 +218,10 @@ do_test (int argc, char **argv)
|
|
fails += CHECK_PROC (popcnt, POPCNT);
|
|
fails += CHECK_PROC (3dnowprefetch, PREFETCHW);
|
|
fails += CHECK_PROC (prefetchwt1, PREFETCHWT1);
|
|
+#if 0
|
|
+ /* NB: /proc/cpuinfo doesn't report this feature. */
|
|
fails += CHECK_PROC (ptwrite, PTWRITE);
|
|
+#endif
|
|
fails += CHECK_PROC (pse, PSE);
|
|
fails += CHECK_PROC (pse36, PSE_36);
|
|
fails += CHECK_PROC (psn, PSN);
|