Re: [PATCH v2 1/2] x86/msr: Document I/O-like MSR semantics in /dev/cpu/*/msr driver
From: H. Peter Anvin
Date: Fri Jun 26 2026 - 17:59:12 EST
On 2026-06-26 13:33, Tim Wiederhake wrote:
>
> This version splits the change in two:
>
> 1/2 adds a comment explaining why the driver loops over the same
> register, so future readers don't have to rediscover the
> rationale.
> 2/2 removes only the read loop, where repeated access to the same
> register is less obviously useful.
>
The same applies to the read loop, although the use case(s) are obviously
different.
Either way, you risk breaking working tools for no reason.
-hpa