public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] x86: Don't check PTWRITE in tst-cpu-features-cpuinfo.c
@ 2022-01-26 20:28 H.J. Lu
  2022-02-12 15:50 ` H.J. Lu
  0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 2022-01-26 20:28 UTC (permalink / raw)
  To: libc-alpha

Don't check PTWRITE against /proc/cpuinfo since kernel doesn't report
PTWRITE in /proc/cpuinfo.
---
 sysdeps/x86/tst-cpu-features-cpuinfo.c | 3 +++
 1 file changed, 3 insertions(+)

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);
-- 
2.34.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] x86: Don't check PTWRITE in tst-cpu-features-cpuinfo.c
  2022-01-26 20:28 [PATCH] x86: Don't check PTWRITE in tst-cpu-features-cpuinfo.c H.J. Lu
@ 2022-02-12 15:50 ` H.J. Lu
  0 siblings, 0 replies; 2+ messages in thread
From: H.J. Lu @ 2022-02-12 15:50 UTC (permalink / raw)
  To: GNU C Library

On Wed, Jan 26, 2022 at 12:28 PM H.J. Lu <hjl.tools@gmail.com> wrote:
>
> Don't check PTWRITE against /proc/cpuinfo since kernel doesn't report
> PTWRITE in /proc/cpuinfo.
> ---
>  sysdeps/x86/tst-cpu-features-cpuinfo.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> 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);
> --
> 2.34.1
>

I will check in this next Monday to fix the test on Intel Alder Lake.

-- 
H.J.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-12 15:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-26 20:28 [PATCH] x86: Don't check PTWRITE in tst-cpu-features-cpuinfo.c H.J. Lu
2022-02-12 15:50 ` H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).