From nobody Wed Jul 13 11:50:40 2022 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2C84D1D2091D; Wed, 13 Jul 2022 11:50:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LjbYB0fWsz3sNR; Wed, 13 Jul 2022 11:50:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657713054; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NE0w5lubCtUthu4109Dxc5/Gx4jt5yDywI6ZfeG7UgI=; b=tUsIQhdwI79azLq5YAaTGTA+X319ZtKKwsA5Cvmg0rymFSl/z9WNnv9FU90lDwueTiwBQu Ss86UCz4FRFKCWrEd8EnndSJ/s87oUGn4JqFhiZGkQUmtKxH4V3P/59cyDLeLronF7yHCb 6ZM0rL7os52JIH9KQViqh2S1/je0+rZajrGqm+zG3mh/vuYByU1FJL9HP6bK/oC8VS7Pi1 Bcz95ndtZHJQMuLypQqByqQzNVYLrhsKgfmCC70D1e8Qklkcj9yqLriyoLq2P6X5uJAlrE ujef305IeM54r74HUF31hPaZm6p8P8twrF9z2FICKPDOAZZp8rx4H3sUwlqhKQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LjbXw6C8RzMpk; Wed, 13 Jul 2022 11:50:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26DBoeYR053576; Wed, 13 Jul 2022 11:50:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26DBoeD2053575; Wed, 13 Jul 2022 11:50:40 GMT (envelope-from git) Date: Wed, 13 Jul 2022 11:50:40 GMT Message-Id: <202207131150.26DBoeD2053575@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dmitry Chagin Subject: git: f56ea6b7d0e1 - stable/13 - linprocfs: Decode constant_tsc CPU feature List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dchagin X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: f56ea6b7d0e1729be715b57fcef6aaff8d50e90e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657713054; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NE0w5lubCtUthu4109Dxc5/Gx4jt5yDywI6ZfeG7UgI=; b=vq/zhx19+x/ShmZc6GIbhBG9eZEDiIbsY76mdWxDbGcSOea7vxI78TnWKc7gBsqCIpgfrx BGV9M/U42k1o7OI1PWhNTLrmfq1WnHkk7VJe2DROi1ef7HXyhktIBbEC2syXniFwLdGVNK z/v99JKcrhkCCb9ARzSu1TKdaHZs/E7plFq0x+PgHYtO5c+qGmoo7ZANC6NJasSRb26QgU RHKfVw55eOoX5K6waiqg02VoCK5slKXRFSkirt7lVV+wIR58sUt+kF69m4oojDVazue37E yNOP15kRU7XuMoFYXgPEuV//dp/D3VQZrtLOzTq0INopl1aeuFyvzNxIpS7Kug== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657713054; a=rsa-sha256; cv=none; b=w6vijTxETwz2bfs2g3GwM8RspJLI3wic5nzYWPb9jLno+mq2myv4ybJ7ZaY6/06wSW8YIA +O/e3Nuin7AZo8kYqGWmhYxI2uq9LE/OGL+Z1jfS/U32SmqexT6fmnbYJSotiZH8u2ThZT WOXKEenjuGjbjDF+nkBM1LL9hF3HqNSe6QRf79vNaitIZxJRI18LyTZ7zVJCogoraPJrdE Up5l+80dbkA1rWGcnjejR6iwy7yshd+Mapu0xhn1C42I6WUOe/IOxrmpDNBizEIx7EC3Wb uZJTRahp2CjWlgG1S5OYTcJWHsjca5Uitn95jhaIY/2TF4iIwzQ9k3FjAhaLlw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=f56ea6b7d0e1729be715b57fcef6aaff8d50e90e commit f56ea6b7d0e1729be715b57fcef6aaff8d50e90e Author: Dmitry Chagin AuthorDate: 2022-06-29 07:34:04 +0000 Commit: Dmitry Chagin CommitDate: 2022-07-13 11:48:14 +0000 linprocfs: Decode constant_tsc CPU feature Differential revision: https://reviews.freebsd.org/D35554 MFC after: 2 weeks (cherry picked from commit 8da00a514e699e4fa788109cf36f3b02168b39d7) --- 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 714c4ee4a84c..a0985d339e43 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"