From: Ingo Molnar <mingo@kernel.org>
To: Juergen Gross <jgross@suse.com>
Cc: linux-kernel@vger.kernel.org, x86@kernel.org,
virtualization@lists.linux.dev, Thomas Gleixner <tglx@kernel.org>,
Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
Dave Hansen <dave.hansen@linux.intel.com>,
"H. Peter Anvin" <hpa@zytor.com>,
Ajay Kaher <ajay.kaher@broadcom.com>,
Alexey Makhalov <alexey.makhalov@broadcom.com>,
Broadcom internal kernel review list
<bcm-kernel-feedback-list@broadcom.com>
Subject: Re: [PATCH v6 09/12] x86/msr: Remove wrmsr()
Date: Sun, 22 Nov 2026 12:33:29 +0100 [thread overview]
Message-ID: <awLTCUz12tpDOFvp@gmail.com> (raw)
In-Reply-To: <20261116150208.1572254-10-jgross@suse.com>
* Juergen Gross <jgross@suse.com> wrote:
> wrmsr() has no users left. Delete it.
So there's a few uses left within comments:
# wrmsr:
Documentation/arch/x86/microcode.rst:performing the wrmsr(0x79) to rendezvous in the MCE handler and shutdown
arch/x86/events/amd/ibs.c: * \ wrmsr(IBS_{FETCH|OP}_CTL, new value);
arch/x86/events/intel/core.c: * Quirk only affects validation in wrmsr(), so wrmsrq()'s value
arch/x86/events/intel/lbr.c: * - For wrmsr(), bits 61:62 are considered part of the sign extension.
arch/x86/events/intel/lbr.c: * ... then any value passed to wrmsr() must be sign extended to 63 bits and any
arch/x86/include/asm/shared/msr.h: * The kernel proper already defines rdmsr()/wrmsr(), but they are not for the
drivers/platform/x86/intel/ifs/load.c: * Run wrmsr(MSR_COPY_SCAN_HASHES) for scan hash copy and run wrmsr(MSR_AUTHENTICATE_AND_COPY_CHUNK)
But we can (and should) do that in a separate patch.
Thanks,
Ingo
next prev parent reply other threads:[~2026-11-22 11:33 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-16 15:01 [PATCH v6 00/12] x86/msr: Drop 32-bit MSR interfaces Juergen Gross
2026-11-16 15:01 ` [PATCH v6 01/12] x86/cpu: Fix coding style violation Juergen Gross
2026-11-16 15:01 ` [PATCH v6 02/12] x86/msr: Remove wrmsr_safe() Juergen Gross
2026-11-16 15:01 ` [PATCH v6 03/12] x86/msr: Remove rdmsr_safe() Juergen Gross
2026-11-16 15:02 ` [PATCH v6 04/12] drivers/ata: Stop using 32-bit MSR interfaces Juergen Gross
2026-11-16 15:10 ` Damien Le Moal
2026-11-20 8:04 ` [PATCH v6.1 04/12] ata: pata_cs553X: " Juergen Gross
2026-11-16 15:02 ` [PATCH v6 05/12] agp/nvidia: " Juergen Gross
2026-11-16 15:02 ` [PATCH v6 06/12] fbdev/geode: " Juergen Gross
2026-11-16 15:02 ` [PATCH v6 07/12] hw_random/via-rng: " Juergen Gross
2026-11-16 15:02 ` [PATCH v6 08/12] drivers/gpio: " Juergen Gross
2026-11-16 15:02 ` [PATCH v6 09/12] x86/msr: Remove wrmsr() Juergen Gross
2026-11-22 11:33 ` Ingo Molnar [this message]
2026-11-16 15:02 ` [PATCH v6 10/12] x86/msr: Remove rdmsr() Juergen Gross
2026-11-22 11:34 ` Ingo Molnar
2026-11-22 11:44 ` Jürgen Groß
2026-11-16 15:02 ` [PATCH v6 11/12] treewide: convert rdmsrq() from a macro to an inline function Juergen Gross
2026-11-16 15:02 ` [PATCH v6 12/12] x86/msr: Simplify some rdmsrq() use cases Juergen Gross
2026-11-20 7:57 ` [PATCH v6 00/12] x86/msr: Drop 32-bit MSR interfaces Juergen Gross
2026-11-22 11:45 ` treewide: Re: [PATCH v6 00/12] msr: " Ingo Molnar
2026-11-22 11:56 ` Jürgen Groß
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=awLTCUz12tpDOFvp@gmail.com \
--to=mingo@kernel.org \
--cc=ajay.kaher@broadcom.com \
--cc=alexey.makhalov@broadcom.com \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=jgross@suse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@kernel.org \
--cc=virtualization@lists.linux.dev \
--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 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®