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


Groups > linux.kernel > #1190640

Re: [PATCH 3/3] KVM: x86: quirkily apply WB to all memory if cache is disabled

From Xiao Guangrong <guangrong.xiao@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3] KVM: x86: quirkily apply WB to all memory if cache is disabled
Date 2015-07-23 08:10 +0200
Message-ID <pPhRE-6Cd-17@gated-at.bofh.it> (permalink)
References <pMAH7-zw-3@gated-at.bofh.it> <pMAH9-zw-27@gated-at.bofh.it> <pPhHY-6bl-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 07/23/2015 01:56 PM, Paolo Bonzini wrote:
>
>
> On 15/07/2015 21:25, Xiao Guangrong wrote:
>> From: Xiao Guangrong <guangrong.xiao@intel.com>
>>
>> Current firmware depends on WB to fast boot, please refer to
>>        https://lkml.org/lkml/2015/7/12/115
>>
>> Let's us WB if CR0.CD is set to make this kind of firmware happy
>>
>> This quirk can be dropped by using KVM_ENABLE_CAP API with
>> KVM_CAP_DISABLE_QUIRKS if the broken firmware is gone
>>
>> Signed-off-by: Xiao Guangrong <guangrong.xiao@intel.com>
>
> Your patch is actually *enabling* the quirk if KVM_QUIRK_CD_AS_WB is
> included in the disabled quirks.  I'm squashing in this change:

Yep, i misunderstood the meaning of "disabled-quirks", thanks for your
nice adjustment, Paolo!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

Re: [PATCH 3/3] KVM: x86: quirkily apply WB to all memory if cache is  disabled Paolo Bonzini <pbonzini@redhat.com> - 2015-07-23 08:00 +0200
  Re: [PATCH 3/3] KVM: x86: quirkily apply WB to all memory if cache  is disabled Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2015-07-23 08:10 +0200

csiph-web