mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: David Hows <david@hows.id.au>,
	Clemens Ladisch <clemens@ladisch.de>,
	Jean Delvare <jdelvare@suse.com>,
	linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH]hwmon: (k10temp) Add support for Zen5 Ryzen Desktop
Date: Mon, 31 Mar 2025 06:55:08 -0700	[thread overview]
Message-ID: <f9ecd621-0a12-46b6-a4d8-7714f65da58a@roeck-us.net> (raw)
In-Reply-To: <Z-XvZRmVXMNHgi3e@archibald.hows.id.au>

On 3/27/25 17:37, David Hows wrote:
> Add support for retrieving CCD temperatures on Granite Ridge Ryzen Desktop CPUs
> 
> Tested locally against my 9950X3D CPU.

checkpatch:

WARNING: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#50:
Add support for retrieving CCD temperatures on Granite Ridge Ryzen Desktop CPUs

ERROR: Missing Signed-off-by: line(s)

> ---
>   drivers/hwmon/k10temp.c | 7 +++++++
>   1 file changed, 7 insertions(+)
> 
> diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c
> index d0b4cc9a5011..cc2ad7a324f9 100644
> --- a/drivers/hwmon/k10temp.c
> +++ b/drivers/hwmon/k10temp.c
> @@ -502,6 +502,13 @@ static int k10temp_probe(struct pci_dev *pdev, const struct pci_device_id *id)
>   			k10temp_get_ccd_support(data, 12);
>   			break;
>   		}
> +	} else if (boot_cpu_data.x86 == 0x1a) {
> +		switch (boot_cpu_data.x86_model) {
> +		case 0x40 ... 0x4f:	/* Zen5 Ryzen Desktop*/
> +			data->ccd_offset = 0x308;
> +			k10temp_get_ccd_support(data, 8);
> +			break;
> +		}
>   	}
>   
>   	for (i = 0; i < ARRAY_SIZE(tctl_offset_table); i++) {


  reply	other threads:[~2025-03-31 13:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-28  0:37 David Hows
2025-03-31 13:55 ` Guenter Roeck [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-27 23:17 David Hows
2025-03-27 23:49 ` 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=f9ecd621-0a12-46b6-a4d8-7714f65da58a@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=clemens@ladisch.de \
    --cc=david@hows.id.au \
    --cc=jdelvare@suse.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®