Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jun 2022 07:39:04 GMT
From:      Dmitry Chagin <dchagin@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 8da00a514e69 - main - linprocfs: Decode constant_tsc CPU feature
Message-ID:  <202206290739.25T7d400049750@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dchagin:

URL: https://cgit.FreeBSD.org/src/commit/?id=8da00a514e699e4fa788109cf36f3b02168b39d7

commit 8da00a514e699e4fa788109cf36f3b02168b39d7
Author:     Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2022-06-29 07:34:04 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2022-06-29 07:34:04 +0000

    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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206290739.25T7d400049750>