From: "Jürgen Groß" <jgross@suse.com>
To: "Asaf Nuri Bertizlioğlu" <asafbertizlioglu@gmail.com>
Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org,
x86@kernel.org, linux-doc@vger.kernel.org,
linux-perf-users@vger.kernel.org,
platform-driver-x86@vger.kernel.org, linux@roeck-us.net,
tglx@kernel.org, mingo@redhat.com, bp@alien8.de,
dave.hansen@linux.intel.com, hpa@zytor.com, corbet@lwn.net,
skhan@linuxfoundation.org, rdunlap@infradead.org,
peterz@infradead.org, acme@kernel.org, namhyung@kernel.org,
mark.rutland@arm.com, alexander.shishkin@linux.intel.com,
jolsa@kernel.org, irogers@google.com, adrian.hunter@intel.com,
james.clark@linaro.org, tony.luck@intel.com,
ashok.raj.linux@gmail.com, hansg@kernel.org,
ilpo.jarvinen@linux.intel.com
Subject: Re: [PATCH] msr: replace rdmsr()/wrmsr() in comments
Date: Mon, 23 Nov 2026 15:02:36 +0100 [thread overview]
Message-ID: <dfe51a0b-e5b6-4887-b5d8-195d8ef0ca93@suse.com> (raw)
In-Reply-To: <20261123133338.39023-1-asafbertizlioglu@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1135 bytes --]
On 23.11.26 14:33, Asaf Nuri Bertizlioğlu wrote:
> On Mon, Nov 23, 2026 at 09:08:22AM +0100, Juergen Gross wrote:
>> diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c
>> --- a/drivers/hwmon/coretemp.c
>> +++ b/drivers/hwmon/coretemp.c
>> @@ -67,7 +67,7 @@ enum coretemp_attr_index {
>> * @cpu_core_id: The CPU Core from which temperature values should be read
>> - * This value is passed as "id" field to rdmsr/wrmsr functions.
>> + * This value is passed as "id" field to rdmsrq/wrmsrq functions.
>
> This sentence has been inaccurate since it was added in v3.0:
> cpu_core_id is never passed to an MSR accessor. coretemp reads the
> MSRs with rdmsrq_on_cpu()/rdmsrq_safe_on_cpu() on the logical CPU
> (tdata->cpu), and cpu_core_id is only used for the "Core N" label,
> the sysfs attribute index and sibling matching. The current driver
> also does not write any MSR.
>
> I think the sentence should be dropped rather than renamed. If you
> prefer to keep this patch mechanical, I can send a separate coretemp
> patch for it.
I'm happy to send a V2 with the sentence dropped.
Juergen
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]
prev parent reply other threads:[~2026-11-23 14:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 8:08 [PATCH] msr: replace rdmsr()/wrmsr() in comments Juergen Gross
2026-11-23 8:12 ` sashiko-bot
2026-11-23 13:33 ` Asaf Nuri Bertizlioğlu
2026-11-23 14:02 ` Jürgen Groß [this message]
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=dfe51a0b-e5b6-4887-b5d8-195d8ef0ca93@suse.com \
--to=jgross@suse.com \
--cc=acme@kernel.org \
--cc=adrian.hunter@intel.com \
--cc=alexander.shishkin@linux.intel.com \
--cc=asafbertizlioglu@gmail.com \
--cc=ashok.raj.linux@gmail.com \
--cc=bp@alien8.de \
--cc=corbet@lwn.net \
--cc=dave.hansen@linux.intel.com \
--cc=hansg@kernel.org \
--cc=hpa@zytor.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=irogers@google.com \
--cc=james.clark@linaro.org \
--cc=jolsa@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=mark.rutland@arm.com \
--cc=mingo@redhat.com \
--cc=namhyung@kernel.org \
--cc=peterz@infradead.org \
--cc=platform-driver-x86@vger.kernel.org \
--cc=rdunlap@infradead.org \
--cc=skhan@linuxfoundation.org \
--cc=tglx@kernel.org \
--cc=tony.luck@intel.com \
--cc=x86@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 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.