1 .\" Copyright (C) 2008 Advanced Micro Devices, Inc.
5 .TH lsmsr 8 "July 2008" "x86utils"
7 lsmsr \- show MSR information for x86 CPUs
27 is a tool to display information for machine specific registers
28 of x86 CPUs. Following CPUs are supported:
29 AMD family 0xf and family 0x10. For Intel and other AMD CPUs just
30 a some common MSRs is supported.
34 Show information for all MSRs known to the tool for that CPU family.
36 .B -c cpu_nr, --cpu cpu_nr
37 Select CPU (by number) for which MSR information should be displayed
40 .B -f fam, --family fam
41 Specify CPU family. Normally CPU family is auto-detected. You can
42 use this option to disable auto-detection, e.g. for debugging
46 Show definition (address, field description) of selected MSR(s).
48 .B -r name|address, --register name|address
49 Specify MSR (by name or address in hex) for which MSR information
52 .B -V num, --verbosity num
53 Select verbosity of output format (between 0 and 4, default: 0)
56 Print help message and exit.
59 Display version info and exit.
62 Show all MSRs beginning with 'MTRR' and force CPU family to 0x10
64 # lsmsr -l -f 0x10 MTRR
66 MTRRphysBase0 : 0x00000200
67 MTRRphysMask0 : 0x00000201
68 MTRRphysBase1 : 0x00000202
69 MTRRphysMask1 : 0x00000203
70 MTRRphysBase2 : 0x00000204
71 MTRRphysMask2 : 0x00000205
72 MTRRphysBase3 : 0x00000206
73 MTRRphysMask3 : 0x00000207
74 MTRRphysBase4 : 0x00000208
75 MTRRphysMask4 : 0x00000209
76 MTRRphysBase5 : 0x0000020a
77 MTRRphysMask5 : 0x0000020b
78 MTRRphysBase6 : 0x0000020c
79 MTRRphysMask6 : 0x0000020d
80 MTRRphysBase7 : 0x0000020e
81 MTRRphysMask7 : 0x0000020f
82 MTRRfix64K_00000 : 0x00000250
83 MTRRfix16K_80000 : 0x00000258
84 MTRRfix16K_A0000 : 0x00000259
85 MTRRfix4K_C0000 : 0x00000268
86 MTRRfix4K_C8000 : 0x00000269
87 MTRRfix4K_D0000 : 0x0000026a
88 MTRRfix4K_D8000 : 0x0000026b
89 MTRRfix4K_E0000 : 0x0000026c
90 MTRRfix4K_E8000 : 0x0000026d
91 MTRRfix4K_F0000 : 0x0000026e
92 MTRRfix4K_F8000 : 0x0000026f
93 MTRRdefType : 0x000002ff
95 Show 'MTRRcap MSR in verbose one-line mode
97 # lsmsr -r MTRRcap -V 1
98 MTRRcap = 0x0000000000000508 (MtrrCapVCnt=0x8, MtrrCapFix=0x1, MtrrCapWc=0x1)
100 Show 'MTRRdefType' in verbose multi-line mode
102 # lsmsr -r MTRRdefType -V 3
103 MTRRdefType = 0x0000000000000c00
108 Show definition of MSR 0x200 in verbose multi-line mode (including reserved fields)
110 # lsmsr -r 0x200 -V 4 -l
111 MTRRphysBase0: 0x00000200
117 List all known MSRs for family 0xf
120 TSC : 0x00000010; time-stamp counter
121 APIC_BASE : 0x0000001b; APIC base address
125 MTRRphysBase0 : 0x00000200; base of variable MTRR (0)
126 MTRRphysMask0 : 0x00000201; mask of variable MTRR (0)
127 MTRRphysBase1 : 0x00000202; base of variable MTRR (1)
128 MTRRphysMask1 : 0x00000203; mask of variable MTRR (1)
132 MTRRfix4K_F0000 : 0x0000026e
133 MTRRfix4K_F8000 : 0x0000026f
134 PAT : 0x00000277; page attribute table
135 MTRRdefType : 0x000002ff
140 and this manual page was written by Andreas Herrmann <andreas.herrman3@amd.com>.
142 Permission is granted to copy, distribute and/or modify this
143 document under the terms of the GNU General Public License version 2.
146 Please send bug reports to <andreas.herrmann3@amd.com>.