Re: [PATCH v6 10/12] x86/msr: Remove rdmsr()
From: Jürgen Groß
Date: Sun Nov 22 2026 - 06:44:25 EST
On 22.11.26 12:34, Ingo Molnar wrote:
I'll write a followup patch replacing wrmsr() and rdmsr() in comments with
* Juergen Gross <jgross@xxxxxxxx> wrote:
rdmsr() has no users left. Delete it.
Here too we have a few uses left in comments:
# rdmsr:
arch/x86/events/intel/lbr.c: * value from rdmsr() must be converted to have a 61 bits sign extension,
arch/x86/include/asm/shared/msr.h: * The kernel proper already defines rdmsr()/wrmsr(), but they are not for the
arch/x86/kernel/cpu/feat_ctl.c: * Use raw rdmsr() for primary processor controls and pin controls MSRs
Which can be addressed in a followup patch.
the *q() ones.
Juergen
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature