mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 13:14:02 +02:00
x86/msr: Document the I/O-like write semantics in the msr driver
Explain why msr_write() does not advance the index. [ bp: Massage commit message. ] Signed-off-by: Tim Wiederhake <twiederh@redhat.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://patch.msgid.link/20260629173759.1770596-1-twiederh@redhat.com
This commit is contained in:
parent
cdb4d57c3e
commit
b096d79bc1
|
|
@ -13,6 +13,9 @@
|
|||
* and then read/write in chunks of 8 bytes. A larger size means multiple
|
||||
* reads or writes of the same register.
|
||||
*
|
||||
* Writing the same register multiple times can be useful for MSRs with
|
||||
* I/O-like semantics, e.g. a virtual MSR that accepts logging information.
|
||||
*
|
||||
* This driver uses /dev/cpu/%d/msr where %d is the minor number, and on
|
||||
* an SMP box will direct the access to CPU %d.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user