From 8da00a514e699e4fa788109cf36f3b02168b39d7 Mon Sep 17 00:00:00 2001 From: Dmitry Chagin Date: Wed, 29 Jun 2022 10:34:04 +0300 Subject: [PATCH] linprocfs: Decode constant_tsc CPU feature Differential revision: https://reviews.freebsd.org/D35554 MFC after: 2 weeks --- sys/compat/linprocfs/linprocfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/compat/linprocfs/linprocfs.c b/sys/compat/linprocfs/linprocfs.c index 93b5af04e670..e1796a359ce0 100644 --- a/sys/compat/linprocfs/linprocfs.c +++ b/sys/compat/linprocfs/linprocfs.c @@ -349,6 +349,8 @@ linprocfs_docpuinfo(PFS_FILL_ARGS) cpu_stdext_feature_names[j][0] != '\0') sbuf_printf(sb, " %s", cpu_stdext_feature_names[j]); + if (tsc_is_invariant) + sbuf_cat(sb, " constant_tsc"); sbuf_cat(sb, "\n"); sbuf_printf(sb, "bugs\t\t: %s\n"