Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1685782

Re: [PATCH] x86/kernel/cpu/amd.c: don't apply the lahf_lm workaround in a hypervisor

From Borislav Petkov <bp@alien8.de>
Newsgroups linux.kernel
Subject Re: [PATCH] x86/kernel/cpu/amd.c: don't apply the lahf_lm workaround in a hypervisor
Date 2017-07-12 15:50 +0200
Message-ID <u2qbD-pT-3@gated-at.bofh.it> (permalink)
References <u2kfT-5aW-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jul 12, 2017 at 03:19:56AM -0400, Mikulas Patocka wrote:
> When I start a virtual machine, kvm complains about accesses to an unknown
> MSR ("vcpu0 unhandled rdmsr: 0xc001100d"). This is caused by the code in
> init_amd_k8 that tries to work around a BIOS bug that incorrectly sets
> lahf_lm.

No need - there are a lot of qemu configurations which cause the
unhandled MSR warning so no need to pollute the kernel unnecessarily.
The warning is harmless at that.

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.
--

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] x86/kernel/cpu/amd.c: don't apply the lahf_lm workaround in  a hypervisor Mikulas Patocka <mpatocka@redhat.com> - 2017-07-12 09:30 +0200
  Re: [PATCH] x86/kernel/cpu/amd.c: don't apply the lahf_lm workaround  in a hypervisor Borislav Petkov <bp@alien8.de> - 2017-07-12 15:50 +0200
    Re: [PATCH] x86/kernel/cpu/amd.c: don't apply the lahf_lm workaround  in a hypervisor Mikulas Patocka <mpatocka@redhat.com> - 2017-07-13 04:30 +0200
      Re: [PATCH] x86/kernel/cpu/amd.c: don't apply the lahf_lm workaround  in a hypervisor Borislav Petkov <bp@alien8.de> - 2017-07-13 08:40 +0200

csiph-web