Re: [PATCH 4/8] x86/msr: Switch all callers of wrmsrq_on_cpu() to use wrmsr_on_cpu()

From: Ingo Molnar

Date: Fri Jun 05 2026 - 05:09:31 EST



* Ingo Molnar <mingo@xxxxxxxxxx> wrote:

>
> * Juergen Gross <jgross@xxxxxxxx> wrote:
>
> > Now that wrmsr_on_cpu() has the same interface as wrmsrq_on_cpu(), the
> > callers of wrmsrq_on_cpu() can be switched to wrmsr_on_cpu() and
> > wrmsrq_on_cpu() can be removed.
>
> Similarly to the other patches, this should be split into two
> as well.

Specifically, instead of:

x86/msr: Switch wrmsr_on_cpu() to use a 64-bit quantity
x86/msr: Switch all callers of wrmsrq_on_cpu() to use wrmsr_on_cpu()

We want something like this:

x86/msr: Switch all callers of wrmsr_on_cpu() to use wrmsrq_on_cpu()
x86/msr: Remove unused wrmsr_on_cpu() API

Thanks,

Ingo