lkml.org 
[lkml]   [2022]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH Part2 v5 14/45] crypto: ccp: Handle the legacy TMR allocation when SNP is enabled
From
Hi Alper,

On 2/25/22 12:03, Alper Gun wrote:

>>
>> - free_pages((unsigned long)sev_es_tmr,
>> - get_order(SEV_ES_TMR_SIZE));
>> + __snp_free_firmware_pages(virt_to_page(sev_es_tmr),
>> + get_order(sev_es_tmr_size),
>> + false);
> Shouldn't there be a check here for snp_inited before calling rmpupdate.
> TMR page can exist even if the SNP is not supported.
>

Yes, I have this fix in my WIP branch and will be included in the v6.

thanks

\
 
 \ /
  Last update: 2022-03-01 15:14    [W:0.242 / U:2.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site