提交 70831c8a 编写于 作者: G Guenter Roeck

hwmon: (k10temp) Don't show temperature limits on Ryzen (Zen) CPUs

The maximum Tdie or Tctl is not published for Ryzen CPUs. What is
known, however, is that the traditional value of 70 degrees C is no
longer correct. On top of that, the limit applies to Tctl, not to Tdie.
Displaying it in either context is meaningless, confusing, and wrong.
Stop doing it.
Tested-by: NBrad Campbell <lists2009@fnarfbargle.com>
Tested-by: NHolger Kiehl <holger.kiehl@dwd.de>
Tested-by: NMichael Larabel <michael@phoronix.com>
Tested-by: NJonathan McDowell <noodles@earth.li>
Tested-by: NKen Moffat <zarniwhoop73@googlemail.com>
Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
上级 b00647c4
......@@ -355,7 +355,7 @@ static umode_t k10temp_is_visible(const void *_data,
}
break;
case hwmon_temp_max:
if (channel)
if (channel || data->show_tdie)
return 0;
break;
case hwmon_temp_crit:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册