Re: [PATCH v3 6/6] s390/mm: Remove sev_active() function

From: Thiago Jung Bauermann
Date: Thu Jul 18 2019 - 12:41:59 EST



Christoph Hellwig <hch@xxxxxx> writes:

>> -/* are we a protected virtualization guest? */
>> -bool sev_active(void)
>> -{
>> - return is_prot_virt_guest();
>> -}
>> -
>> bool force_dma_unencrypted(struct device *dev)
>> {
>> - return sev_active();
>> + return is_prot_virt_guest();
>> }
>
> Do we want to keep the comment for force_dma_unencrypted?
>
> Otherwise looks good:
>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>

Thank you for your review on al these patches.

--
Thiago Jung Bauermann
IBM Linux Technology Center