mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Asaf Nuri Bertizlioğlu" <ycistak@gmail.com>
To: linux@roeck-us.net, mtosatti@redhat.com
Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org,
	stable@vger.kernel.org, xzhangjr@gmail.com,
	"Asaf Nuri Bertizlioğlu" <ycistak@gmail.com>
Subject: Re: [PATCH] hwmon: (coretemp) Fix handling of isolated SMT siblings
Date: Sun, 18 Oct 2026 23:51:33 +0300	[thread overview]
Message-ID: <20261018205140.34668-1-ycistak@gmail.com> (raw)
In-Reply-To: <20261016-codex-coretemp-housekeeping-v1-1-96618c5676b2@gmail.com>

I tested this on an Intel Core i7-14700F (hybrid, 8 P-cores with SMT
and 12 E-cores) running 7.2.9-2-cachyos, booted with nohz_full=2.
cpu2 and cpu3 are SMT siblings with core_id 4, i.e. temp6.

Without the patch, temp6 is missing: the hwmon device has 20 labels
instead of 21 (the package plus 20 cores).

With the patch applied to the hwmon-next version of coretemp.c and
loaded as a module:

  - temp6_label is "Core 4" and temp6_input reads 31000.
  - Offlining cpu3 removes temp6 instead of moving it to the isolated
    cpu2. Onlining cpu3 brings temp6 back.

This reply was drafted with the help of an LLM; the tests were run by
me on the machine above.

Tested-by: Asaf Nuri Bertizlioğlu <ycistak@gmail.com>

  reply	other threads:[~2026-10-18 20:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-16  8:36 Ximing Zhang via B4 Relay
2026-10-18 20:51 ` Asaf Nuri Bertizlioğlu [this message]
2026-10-19 12:46 ` 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=20261018205140.34668-1-ycistak@gmail.com \
    --to=ycistak@gmail.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=mtosatti@redhat.com \
    --cc=stable@vger.kernel.org \
    --cc=xzhangjr@gmail.com \
    /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®