diff options
author | Andreas Herrmann <herrmann.der.user@googlemail.com> | 2010-04-27 12:13:48 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-05-14 01:21:20 +0200 |
commit | f01487119dda3d9f58c9729c7361ecc50a61c188 (patch) | |
tree | bbd1d01429950207716337fbbd9e9f356560258c /kernel/sched.c | |
parent | x86: Fix fake apicid to node mapping for numa emulation (diff) | |
download | linux-f01487119dda3d9f58c9729c7361ecc50a61c188.tar.xz linux-f01487119dda3d9f58c9729c7361ecc50a61c188.zip |
x86, amd: Check X86_FEATURE_OSVW bit before accessing OSVW MSRs
If host CPU is exposed to a guest the OSVW MSRs are not guaranteed
to be present and a GP fault occurs. Thus checking the feature flag is
essential.
Cc: <stable@kernel.org> # .32.x .33.x
Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
LKML-Reference: <20100427101348.GC4489@alberich.amd.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'kernel/sched.c')
0 files changed, 0 insertions, 0 deletions