Messages in this thread | | | Date | Fri, 13 Mar 2015 23:22:11 +0100 | From | Borislav Petkov <> | Subject | Re: [PATCH v2] mce: use safe MSR accesses |
| |
On Fri, Mar 13, 2015 at 11:03:39AM -0500, jesse.larrew@amd.com wrote: > From: Jesse Larrew <jesse.larrew@amd.com> > > Certain MSRs are only relevant to a kernel in host mode, and kvm had > chosen not to implement these MSRs at all for guests. If a guest kernel > ever tried to access these MSRs, the result was a general protection > fault. > > KVM will be separately patched to return 0 when these MSRs are read, > and this patch ensures that MSR accesses are tolerant of exceptions. > > Signed-off-by: Jesse Larrew <jesse.larrew@amd.com> > --- > arch/x86/kernel/cpu/mcheck/mce.c | 11 +++-------- > 1 file changed, 3 insertions(+), 8 deletions(-)
Applied, thanks.
-- Regards/Gruss, Boris.
ECO tip #101: Trim your mails when you reply. --
| |