public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* msr(7) manpage
@ 2009-02-22 17:05 Andi Kleen
       [not found] ` <20090222170549.GA23589-qrUzlfsMFqo/4alezvVtWx2eb7JE58TQ@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Andi Kleen @ 2009-02-22 17:05 UTC (permalink / raw)
  To: linux-man-u79uwXL29TY76Z2rM5mHXA,
	mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w

Here's a simple manpage for the msr device.

-Andi


.\" Some sentences copied from comment in arch/x86/kernel/msr.c
.TH MSR 7 2009-02-22 "Linux" "Linux Programmer's Manual"
.SH NAME
msr \- x86 CPU MSR access device
.SH DESCRIPTION
.I /dev/cpu/CPUNUM/msr
allows to read and write the model specific registers (MSRs) of an x86 CPU.
.I CPUNUM 
is the number of the cpu to access as listed in 
.I /proc/cpuinfo.
The register access is done by opening the file and seeking to the MSR number
as offset in the file and then read or write in chunks of 8 bytes.
A larger size than 8 bytes means multiple reads or writes of the 
same register.
.SH NOTES
The 
.I msr
driver is not auto-loaded. On modular kernel you might need to use
.B modprobe msr
to load it explicitely before use.
.SH 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-03-30 19:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-22 17:05 msr(7) manpage Andi Kleen
     [not found] ` <20090222170549.GA23589-qrUzlfsMFqo/4alezvVtWx2eb7JE58TQ@public.gmane.org>
2009-02-24  9:40   ` Michael Kerrisk
     [not found]     ` <cfd18e0f0902240140u464fdb95g25f9bb97a49cda63-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-02-24  9:44       ` Michael Kerrisk
     [not found]         ` <cfd18e0f0902240144o3f1a9fbew57d880a484eb99de-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-02-24 17:15           ` H. Peter Anvin
2009-02-24 10:14       ` Andi Kleen
2009-03-30 19:29   ` Michael Kerrisk
     [not found]     ` <cfd18e0f0903301229n73c47368v64c1aadc12f58056-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-30 19:35       ` Michael Kerrisk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox