x86, msr: Export the register-setting MSR functions via /dev/*/msr
authorH. Peter Anvin <hpa@zytor.com>
Mon, 31 Aug 2009 21:16:57 +0000 (14:16 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 31 Aug 2009 23:16:04 +0000 (16:16 -0700)
commitff55df53dfdd338906c8ba9d1f4a759b86b869d5
tree80ccb646dfd40beeb839d4c70624ba34dbcd5795
parent8b956bf1f0f2b552ed93cf6cafe823edff298b3b
x86, msr: Export the register-setting MSR functions via /dev/*/msr

Make it possible to access the all-register-setting/getting MSR
functions via the MSR driver.  This is implemented as an ioctl() on
the standard MSR device node.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Borislav Petkov <petkovbb@gmail.com>
Documentation/ioctl/ioctl-number.txt
arch/x86/include/asm/msr.h
arch/x86/kernel/msr.c