Re: [PATCH] KVM: x86/pmu: Use wrmsrq() instead of the deprecated wrmsrl() alias

From: Sean Christopherson

Date: Wed Jul 08 2026 - 12:47:14 EST


On Thu, Jun 25, 2026, Like Xu wrote:
> Replace the remaining wrmsrl() calls in the x86 vPMU code with the
> canonical wrmsrq() helper, for consistency with the surrounding code
> that already uses the q-suffixed form.
>
> wrmsrl() is merely a compatibility wrapper that expands directly to
> wrmsrq() as part of the ongoing treewide rename to the q-suffixed MSR
> helpers, so the generated code is identical.

Just a hair late, already addressed in 7.2 via commit 2232959db26d ("x86/msr:
Switch wrmsrl() users to wrmsrq()").