All of lore.kernel.org
 help / color / mirror / Atom feed
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 10/12] x86/msr: Remove rdmsr()
Date: Sun, 22 Nov 2026 12:34:52 +0100	[thread overview]
Message-ID: <awLTXAT-amcgoRT7@gmail.com> (raw)
In-Reply-To: <20261116150208.1572254-11-jgross@suse.com>


* Juergen Gross <jgross@suse.com> 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.

Thanks,

	Ingo

  parent reply	other threads:[~2026-11-22 11:34 UTC|newest]

Thread overview: 31+ 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 ` 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:06   ` sashiko-bot
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-16 15:08   ` sashiko-bot
2026-11-22 11:33   ` Ingo Molnar
2026-11-16 15:02 ` [PATCH v6 10/12] x86/msr: Remove rdmsr() Juergen Gross
2026-11-16 15:08   ` sashiko-bot
2026-11-22 11:34   ` Ingo Molnar [this message]
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   ` Juergen Gross
2026-11-16 15:20   ` sashiko-bot
2026-11-16 15:02 ` [PATCH v6 12/12] x86/msr: Simplify some rdmsrq() use cases Juergen Gross
2026-11-16 15:08   ` sashiko-bot
2026-11-20  7:57 ` [PATCH v6 00/12] x86/msr: Drop 32-bit MSR interfaces Juergen Gross
2026-11-20  7:57   ` Juergen Gross
2026-11-22 11:45 ` treewide: Re: [PATCH v6 00/12] msr: " Ingo Molnar
2026-11-22 11:45   ` Ingo Molnar
2026-11-22 11:56   ` Jürgen Groß
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=awLTXAT-amcgoRT7@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 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.