Re: [Part1 PATCH v4 02/17] x86/mm: Add Secure Encrypted Virtualization (SEV) support

From: Brijesh Singh
Date: Tue Sep 26 2017 - 15:06:26 EST




On 09/17/2017 09:02 AM, Borislav Petkov wrote:
...

+unsigned int sev_enabled __section(.data) = 0;

static.


Will covert to static in next rev.

...


-static inline u64 sme_get_me_mask(void)
+static inline bool mem_encrypt_active(void)
{
- return sme_me_mask;
+ return !!sme_me_mask;

As before, you don't need the !!.


Will fix in next rev.

thanks