MSR(4) Linux Programmer's Manual MSR(4)NAME
msr - x86 CPU MSR access device
DESCRIPTION
/dev/cpu/CPUNUM/msr provides an interface to read and write the model-specific registers (MSRs) of an x86 CPU. CPUNUM is the number of the
CPU to access as listed in /proc/cpuinfo.
The register access is done by opening the file and seeking to the MSR number as offset in the file, and then reading or writing in chunks
of 8 bytes. An I/O transfer of more than 8 bytes means multiple reads or writes of the same register.
This file is protected so that it can only be read and written by the user root, or members of the group root.
NOTES
The msr driver is not auto-loaded. On modular kernels you might need to use the following command to load it explicitly before use:
$ modprobe msr
SEE ALSO
Intel Corporation Intel 64 and IA-32 Architectures Software Developer's Manual Volume 3B Appendix B for an overview of the Intel CPU MSRs.
COLOPHON
This page is part of release 3.25 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2009-03-31 MSR(4)
Check Out this Related Man Page
x86info(1) General Commands Manual x86info(1)NAME
x86info -- display x86 CPU diagnostics
SYNOPSIS
x86info [-a] [-c] [-f] [fB-F] [-m] [-mhz] [-r] [?] [--all] [--cache] [--flags] [--verbose] [--msr] [--mhz] [--registers]
[--help]
DESCRIPTION
This manual page documents x86info, a program which displays a range of information about the CPUs present in an x86 system.
In order to make full use of this program you need to have the CPU ID and MSR device drivers in your kernel with accessible device files
/dev/cpu/<n>/cpuid and /dev/cpu/<n>/msr.
OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below.
? --help
Show summary of options.
-a--all
Show all information. Equivalent to -c -f -m-r -mhz.
-c--cache
Show TLB, cache sizes and cache associativity.
-f--flags
Show CPU feature flags.
-m--msr
Dump model specific registers. This feature is currently only supported on a few different processors. Future versions will
include parsing of bits in MSRs for all processors.
-mhz--mhz
Estimate current clock rate.
-mp--mptable
Dump MP table showing CPUs BIOS knows about.
-r--registers
Show register values from all possible cpuid calls.
-s--show-machine-check
Show machine check exception information.
-v--verbose
Show verbose descriptions.
AUTHOR
x86info was written by Dave Jones <davej@redhat.com>.
This manual page was written by Mark Brown <broonie@debian.org> for the Debian GNU/Linux system (but may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License version 2.
x86info(1)
Hi all
I am working on MSR110 ...Can anyone plz tell me how to use the configuration commands with magnetic reader???. Please help me out as i have to develop API in C on linux platform.MSR110 is not responding to the configuration commands.
Please help...
Regards
Mahima (0 Replies)