]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools/power turbostat: Exit on unsupported Vendors
authorZhang Rui <rui.zhang@intel.com>
Tue, 3 Dec 2024 07:51:17 +0000 (15:51 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 3 Dec 2024 21:06:04 +0000 (16:06 -0500)
commit48c62ba1b407140229e92f5cfae6ae113fc4af8e
tree7bf9d0d685cb6f9719ff2b1f6df1377c838dd01d
parent4133be39e216130a86382fb5cfbaf6851a6f7a45
tools/power turbostat: Exit on unsupported Vendors

Turbostat currently supports x86 processors from Intel, AMD, and Hygon.
The behavior of turbostat on CPUs from other vendors has not been
evaluated and may lead to incorrect or undefined behavior.

Enhance turbostat to exit by default when running on an unsupported CPU
vendor. This ensures that users are aware that their CPU is not
currently supported by turbostat, guiding them to seek support for their
specific hardware through future patches.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c