> -/* 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 <[email protected]>

Reply via email to