diff options
| author | Abdelkader Boudih <freebsd@seuros.com> | 2026-06-17 14:50:48 +0000 |
|---|---|---|
| committer | Adrian Chadd <adrian@FreeBSD.org> | 2026-06-17 14:50:48 +0000 |
| commit | 85814f5912618808ebe5b7065b70344675c98b5b (patch) | |
| tree | 9060439cba31b15c9205bb21b2a55b2de487221b | |
| parent | 021a190c88fc41f981a79fe6822bdafbcda14e99 (diff) | |
est: gate "not recognized" message behind bootverbose
On modern Intel CPUs that use HWP (hwpstate_intel: /usr/src/sys/x86/cpufreq/hwpstate_intel.c) instead of EST,
this message prints unconditionally during probe even though it is
expected and harmless. Gated behind bootverbose to reduce console
noise on systems where EST is present but considered legacy.
Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D57616
| -rw-r--r-- | sys/x86/cpufreq/est.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/x86/cpufreq/est.c b/sys/x86/cpufreq/est.c index 804de162ec60..7f5bce5ad29d 100644 --- a/sys/x86/cpufreq/est.c +++ b/sys/x86/cpufreq/est.c @@ -1046,9 +1046,10 @@ est_get_info(device_t dev) error = est_msr_info(dev, msr, &sc->freq_list, &sc->flist_len); if (error) { - printf( - "est: CPU supports Enhanced Speedstep, but is not recognized.\n" - "est: cpu_vendor %s, msr %0jx\n", cpu_vendor, msr); + if (bootverbose) + printf( + "est: CPU supports Enhanced Speedstep, but is not recognized.\n" + "est: cpu_vendor %s, msr %0jx\n", cpu_vendor, msr); return (ENXIO); } |
