x86: MSR: add methods for writing of an MSR on several CPUs
authorBorislav Petkov <borislav.petkov@amd.com>
Fri, 22 May 2009 11:52:19 +0000 (13:52 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Wed, 10 Jun 2009 10:18:43 +0000 (12:18 +0200)
commitb034c19f9f61c8b6f2435aa2e77f52348ebde767
tree0dce206e1eaa998b7233a4679e366890881c1f7f
parent6bc1096d7ab3621b3ffcf06616d1f4e0325d903d
x86: MSR: add methods for writing of an MSR on several CPUs

Provide for concurrent MSR writes on all the CPUs in the cpumask. Also,
add a temporary workaround for smp_call_function_many which skips the
CPU we're executing on.

Bart: zero out rv struct which is allocated on stack.

CC: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
arch/x86/include/asm/msr.h
arch/x86/lib/msr.c