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

From: Christoph Hellwig
Date: Thu Jul 18 2019 - 04:45:01 EST


> -/* 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>