Thread (12 messages) 12 messages, 5 authors, 1d ago

Re: [PATCH 00/32] x86/msr: Drop 32-bit MSR interfaces

From: "Arnd Bergmann" <arnd@arndb.de>
Date: 2026-06-29 08:39:08
Also in: dri-devel, kvm, linux-acpi, linux-coco, linux-crypto, linux-edac, linux-gpio, linux-hwmon, linux-hyperv, linux-ide, linux-pci, linux-perf-users, linux-pm, lkml, platform-driver-x86, virtualization, xen-devel

On Mon, Jun 29, 2026, at 10:15, Jürgen Groß wrote:
On 29.06.26 10:06, Arnd Bergmann wrote:
quoted
On Mon, Jun 29, 2026, at 09:01, Jürgen Groß wrote:
quoted
On 29.06.26 08:52, Arnd Bergmann wrote:
quoted
On Mon, Jun 29, 2026, at 08:04, Juergen Gross wrote:

I assume this is fine, but since you don't mention it explicitly here,
please clarify what this means for 32-bit CPUs without the rdmsrq
instruction. Those will continue using the same instructions as before
and just change the calling conventions, right?
Yes. I thought this would be clear from the following:

    - They are based on primitives using 64-bit sized values anyway.
Right, that was my reading of it as well, but it's not entirely
clear when the function name is the same as the mnemonic of an
instruction that only exists on newer CPUs and the later patch
There is no RDMSRQ instruction on any x86 CPU. Are you mixing this up with
WRMSRNS/RDMSR using an immediate for addressing the MSR?
Yes, I was just confused about the exact definition here and assumed
the single-register output version was actually called rdmsrq.

     Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help