lkml.org 
[lkml]   [2017]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Part2 PATCH v7 23/38] KVM: SVM: Reserve ASID range for SEV guest
From
Date


On 11/06/2017 04:34 AM, Borislav Petkov wrote:
...

>> int cpu;
>> @@ -1084,6 +1095,16 @@ static __init int svm_hardware_setup(void)
>> kvm_tsc_scaling_ratio_frac_bits = 32;
>> }
>>
>> + if (sev) {
>> + if (boot_cpu_has(X86_FEATURE_SEV) &&
>> + IS_ENABLED(CONFIG_KVM_AMD_SEV)) {
>> + sev_hardware_setup();
>> + pr_info("SEV supported\n");
>> + } else {
>> + sev = false;
>> + }
>> + }
>
> Btw, upon a second look, this hunk should go with the previous patch.
> This patch deals with ASID ranges, as the commit message states.
>


I will see if I can move the hunk in previous patch. thanks

\
 
 \ /
  Last update: 2017-11-06 17:18    [W:0.089 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site