| 1 |
.\" SPDX-License-Identifier: GPL-2.0-only |
| 2 |
.TH MSRTOOL "8" "November 2024" "" "System Administration Utilities" |
| 3 |
.SH NAME |
| 4 |
msrtool \- Dumps chipset-specific MSR registers |
| 5 |
.SH SYNOPSIS |
| 6 |
.sp |
| 7 |
msrtool [\-hvqrkl] [\-c cpu] [\-m system] [\-t target ...] [\-i addr=hi[:]lo] | [\-s file] | [\-d [:]file] | addr... |
| 8 |
.SH DESCRIPTION |
| 9 |
Dumps chipset-specific MSR registers |
| 10 |
.SH "OPTIONS" |
| 11 |
.TP |
| 12 |
\fB\-h\fR |
| 13 |
Show this help text |
| 14 |
.TP |
| 15 |
\fB\-v\fR |
| 16 |
Be verbose |
| 17 |
.TP |
| 18 |
\fB\-q\fR |
| 19 |
Be quiet (overrides \fB\-v\fR) |
| 20 |
.TP |
| 21 |
\fB\-r\fR |
| 22 |
Include [Reserved] values |
| 23 |
.TP |
| 24 |
\fB\-k\fR |
| 25 |
List all known systems and targets |
| 26 |
.TP |
| 27 |
\fB\-l\fR |
| 28 |
List MSRs and bit fields for current target(s) (\fB\-kl\fR for ALL targets!) |
| 29 |
.TP |
| 30 |
\fB\-c\fR |
| 31 |
Access MSRs on the specified CPU, default=0 |
| 32 |
.TP |
| 33 |
\fB\-m\fR |
| 34 |
Force a system, e.g: \fB\-m\fR linux |
| 35 |
.TP |
| 36 |
\fB\-t\fR |
| 37 |
Force a target, can be used multiple times, e.g: \fB\-t\fR geodelx \fB\-t\fR cs5536 |
| 38 |
.TP |
| 39 |
\fB\-i\fR |
| 40 |
Immediate mode |
| 41 |
.nf |
| 42 |
Decode hex addr=hi:lo for the target without reading hw value |
| 43 |
e.g: \fB\-i\fR 4c00000f=f2f100ff56960004 |
| 44 |
.TP |
| 45 |
\fB\-s\fR |
| 46 |
Stream mode |
| 47 |
.nf |
| 48 |
Read one MSR address per line and append current hw value to the line |
| 49 |
use the filename \- for stdin/stdout |
| 50 |
using \fB\-l\fR \fB\-s\fR ignores input and will output all MSRs with values |
| 51 |
.TP |
| 52 |
\fB\-d\fR |
| 53 |
Diff mode |
| 54 |
.nf |
| 55 |
read one address and value per line and compare with current hw value, printing differences to stdout. |
| 56 |
use the filename \- to read from stdin |
| 57 |
use :file or :\- to reverse diff, normally hw values are considered new |
| 58 |
addr.. direct mode, read and decode values for the given MSR address(es) |
| 59 |
.SH "AUTHORS" |
| 60 |
.PP |
| 61 |
.nf |
| 62 |
coresystems GmbH. |
| 63 |
Man page written by Ahmad Khalifa. |