From: Mario Limonciello <superm1@kernel.org>
To: Rong Zhang <i@rong.moe>, Guenter Roeck <linux@roeck-us.net>,
Clemens Ladisch <clemens@ladisch.de>,
Gabriel Ford <gabriel@gford.dev>
Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] hwmon: (k10temp) Fix model id range of Zen5 Turin
Date: Thu, 10 Sep 2026 15:35:30 -0500 [thread overview]
Message-ID: <aabc0435-d652-429d-9adc-4dac261d5feb@kernel.org> (raw)
In-Reply-To: <9334E4DA-5389-49BE-A9FF-48A7FF5C1C35@rong.moe>
On 9/10/26 15:07, Rong Zhang wrote:
> Hi Guenter,
>
> Thanks for your review.
>
>
> 于 2026年9月11日 GMT+08:00 03:00:13,Guenter Roeck <linux@roeck-us.net> 写道:
>> On 9/10/26 11:39, Rong Zhang wrote:
>>> Model 20h-2Fh are mobile processors with single CCD. For example, model
>>> 24h is Strix Point, i.e., Ryzen AI 7 (PRO) (H/HX) 360/365/370.
>>>
>>> Including mobile processors in the model id range of Zen5 Turin
>>> processors leads to bogus reporting:
>>>
>>> k10temp-pci-00c3
>>> Adapter: PCI adapter
>>> Tctl: +54.1°C
>>> Tccd4: +148.6°C
>>> Tccd6: +148.4°C
>>> Tccd7: +149.1°C
>>> Tccd8: +149.2°C
>>> Tccd9: +149.2°C
>>> Tccd12: +149.1°C
>>> Tccd14: +22.0°C
>>> Tccd15: +22.0°C
>>> Tccd16: +22.0°C
>>>
>>> Fix it by removing the said range.
>>>
>>> Fixes: 8440d5aca227 ("hwmon: (k10temp) Add per-CCD temperature monitoring for Zen5 Turin")
>>> Signed-off-by: Rong Zhang <i@rong.moe>
>>> ---
>>> drivers/hwmon/k10temp.c | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c
>>> index 75a45010d687..3e7e63edc6a3 100644
>>> --- a/drivers/hwmon/k10temp.c
>>> +++ b/drivers/hwmon/k10temp.c
>>> @@ -523,7 +523,7 @@ static int k10temp_probe(struct pci_dev *pdev, const struct pci_device_id *id)
>>> }
>>> } else if (boot_cpu_data.x86 == 0x1a) {
>>> switch (boot_cpu_data.x86_model) {
>>> - case 0x00 ... 0x2f: /* Zen5 Turin */
>>> + case 0x00 ... 0x1f: /* Zen5 Turin */
>>
>> Doesn't that drop _all_ CCD temperature reporting for those chips ?
>
> Yes, it's intentional. Mobile processors don't support Tccd at all, and
> Tctl is the only available temperature metric on such processors.
> In the commit message there is an example of bogus Tccd reporting.
>
> Thanks,
> Rong
>
Yeah; FWIW I agree with this patch.
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
>>
>> Guenter
>>
>>> data->ccd_offset = 0x1F0;
>>> k10temp_get_ccd_support(data, 16);
>>> break;
>>>
>>> ---
>>> base-commit: 50d05c7c76c96b90462f24debacca971d2e86713
>>> change-id: 7b515a4b-k10temp-fix-zen5-epyc-14334e85a3b9
>>>
>>> Thanks,
>>> Rong
>>
next prev parent reply other threads:[~2026-09-10 20:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-10 18:39 [PATCH] hwmon: (k10temp) Fix model id range of Zen5 Turin Rong Zhang
2026-09-10 18:43 ` sashiko-bot
2026-09-10 19:00 ` Guenter Roeck
2026-09-10 20:07 ` Rong Zhang
2026-09-10 20:35 ` Mario Limonciello [this message]
2026-09-10 20:46 ` Guenter Roeck
2026-09-11 0:48 ` Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aabc0435-d652-429d-9adc-4dac261d5feb@kernel.org \
--to=superm1@kernel.org \
--cc=clemens@ladisch.de \
--cc=gabriel@gford.dev \
--cc=i@rong.moe \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.