1MSR(4)                     Linux Programmer's Manual                    MSR(4)
2
3
4

NAME

6       msr - x86 CPU MSR access device
7

DESCRIPTION

9       /dev/cpu/CPUNUM/msr  provides an interface to read and write the model-
10       specific registers (MSRs) of an x86 CPU.  CPUNUM is the number  of  the
11       CPU to access as listed in /proc/cpuinfo.
12
13       The  register access is done by opening the file and seeking to the MSR
14       number as offset in the file, and then reading or writing in chunks  of
15       8  bytes.  An I/O transfer of more than 8 bytes means multiple reads or
16       writes of the same register.
17
18       This file is protected so that it can be read and written only  by  the
19       user root, or members of the group root.
20

NOTES

22       The  msr  driver is not auto-loaded.  On modular kernels you might need
23       to use the following command to load it explicitly before use:
24
25           $ modprobe msr
26

SEE ALSO

28       Intel Corporation Intel 64 and IA-32 Architectures Software Developer's
29       Manual Volume 3B Appendix B, for an overview of the Intel CPU MSRs.
30

COLOPHON

32       This  page  is  part of release 5.13 of the Linux man-pages project.  A
33       description of the project, information about reporting bugs,  and  the
34       latest     version     of     this    page,    can    be    found    at
35       https://www.kernel.org/doc/man-pages/.
36
37
38
39Linux                             2021-03-22                            MSR(4)
Impressum