Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 07EE93CEB84 for ; Sun, 18 Oct 2026 20:52:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792356729; cv=none; b=dbvVbAg52D/7SWg5Yd/ZeOoZeuw9DxAv/I6KXBsrAUkARruposprCkTYypjFMwTcNShcePp28H4ZZTO5aF/iO8K5OzFZMdoOHzCRVFzL35hpW0GDi1cFTw82flqiEjDUnuziNTFNNtwaSrSot0861DySbBBm8qYz4BIXg+CoiZY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792356729; c=relaxed/simple; bh=wMHBvDevb1HH83ISn4ILYpsOlM3EIIsW4bpsFjH6lrM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ep6/LZpN81ZuThtd+k556E+gXM8tkJx7uQ8MCWMFudmnQ5/Vi6UWyUuiz/Q5df+j/jgK9MaAsU77/umIPA/c0zTmBQ/qj10VpHqidzpgFf4LIkgRAMzsS1bO4dMdmJ+ulm/ItF/ZS15RUPmU8rd44Es6XUbAPbclhzZLUzQp+jQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=hFTLadVH; arc=none smtp.client-ip=209.85.221.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="hFTLadVH" Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-48c4d870d54so836346f8f.2 for ; Sun, 18 Oct 2026 13:52:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1792356726; x=1792961526; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=Ms4tyV1sL6nNdfngDRnkwbO5sD+oKmpI75kMudnVvyk=; b=hFTLadVHMCnwXenpidFM+pmbJumzuIap7cS2jE2kHGuwZpRR4VTXYAJaqr4U0yCZAd 1PQiuE6dVcJtyLQxefoQbiS/cCIoasSAitsEmx/GqI5JQqozDjkjBMp5KeG5iJyLhhCJ H7rtWa0yLfPEK2H9EXmsS82KKrV4MFwXDvOCdrkRiHHFnrqZzIB+quQC0k5tnc6+Bwgt I5ogEuL4eU9QHtj9THgV+QZdtpyavme2adPOpYfI5yNh76egL7K4Lqw3PmbFQe3yV/0I Uq9M5CHn2jSWzwVU/qPeNyPIXHfqcgctQ7g+DhdYOZtb3tBZ0YrZ0l6GoROzhd2dyPYd 7YPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792356726; x=1792961526; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Ms4tyV1sL6nNdfngDRnkwbO5sD+oKmpI75kMudnVvyk=; b=vkjFc+mX57o02MrqtiEoe7YSqcHndFvJO2dJA6RTIwzssoO//dxbq72qG3l2+Xor7Y SOODuB4RMG31xB3fRKwNFdmuYt0F1+bIP4IeNQ1Bi4bv5yzW834dTdnqBFbiIWi7sZqS vioXLYDNgglcrozGmk/lfp8OLFBhAOsUWoNc2vHwqnzlN4Zz0nxFMG0AkkOGOh29X8c8 g43U9nsv4NDQI8msr6oS/M4qhfedfCiRgoj2wVpwGMRNc/hP4JOeWn7sEOQNO+WeMDUt WxPmlPUQUdshg2CToHVTF30kPZkdo2gGNZGmsMBBZmGjElI9wi14M/OxW4NnzY0TbK8J 9p8A== X-Gm-Message-State: AFq9FYLT30m6P7sjLz415Tk3VNfD375XeciPLJFh4NnvlEtBivDeLOob P3HYg6EF8lVmvALE/JUoWEpUXPuRIVVKPZn+6RNP86wl2EQv19Qq+NGl X-Gm-Gg: AYBFou2QzqjN+34fEukccoO3VQMzgqi7DxomQbCT5L2o63ISo3UQAnZ1MbWdn0EV/fm KVjhDYtNTiECbMJm4/jvL0xmNPN6zb70Llay4cT/dKLhNJusnIP7VtxUIkk9WFXW6Nb5ipo2wIm xu13bZ53BKxQhF0cMAoM9wxd9p0z6VUQU2v6fRBPztVgW0qy9PApjDfLHX1Jz751Xn+10+bIhXE FlHKQy25ivhPJhZQ+LFtUmwxsmgbzoYY/ppuNIhMrTdNfju/oJqZqYzMMapnKcwSCW8oRxiycYg e3iTPE/OzCMxIHmpIXAdq+SXJG5zFatbTQARuvmWrSKJiH1R1CkH/oUv5H85k0CKs/m2UckfDV8 ezN/52q06w+V5/KHfL67wPflra5srRCFmJyrtYCwSs8dJc9Y2ry5b4QngUsDD20u/yakS9mzV5y 3fsECl/D9Uqifpnc0tsDoubraQkdt2CpQUUdwehHl1SaWrsESHvsjTHIMdKYMpT+YBPwSH1+58v g== X-Received: by 2002:a05:600c:3b11:b0:4a1:9661:14b7 with SMTP id 5b1f17b1804b1-4a1d761202cmr112714575e9.32.1792356726210; Sun, 18 Oct 2026 13:52:06 -0700 (PDT) Received: from CachyOS ([176.88.124.226]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4a1d28b698asm223954145e9.11.2026.10.18.13.52.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Oct 2026 13:52:05 -0700 (PDT) From: =?UTF-8?q?Asaf=20Nuri=20Bertizlio=C4=9Flu?= 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, =?UTF-8?q?Asaf=20Nuri=20Bertizlio=C4=9Flu?= Subject: Re: [PATCH] hwmon: (coretemp) Fix handling of isolated SMT siblings Date: Sun, 18 Oct 2026 23:51:33 +0300 Message-ID: <20261018205140.34668-1-ycistak@gmail.com> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261016-codex-coretemp-housekeeping-v1-1-96618c5676b2@gmail.com> References: <20261016-codex-coretemp-housekeeping-v1-1-96618c5676b2@gmail.com> Precedence: bulk X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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