Re: [PATCH v2 2/3] x86/mm: add .data..decrypted section to hold shared variables

From: Borislav Petkov
Date: Thu Aug 30 2018 - 05:20:47 EST


On Wed, Aug 29, 2018 at 09:37:46AM -0500, Brijesh Singh wrote:
> > > @@ -491,28 +510,69 @@ static void __init remove_workarea_map(struct sme_workarea_data *wa,
> > > native_write_cr3(__native_read_cr3());
> > > }
> > > +static void __init decrypt_data_decrypted_section(struct sme_workarea_data *wa,
> >
> > That function name could use some clarifying change...
>
>
> How about decrypt_shared_data() ?

Much better.

Thx.

--
Regards/Gruss,
Boris.

SUSE Linux GmbH, GF: Felix ImendÃrffer, Jane Smithard, Graham Norton, HRB 21284 (AG NÃrnberg)
--