lkml.org 
[lkml]   [2018]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 6/7] crypto: add sdmdev support to Hisilicon QM
From
Date
On 09/02/2018 05:52 PM, Kenneth Lee wrote:
> diff --git a/drivers/crypto/hisilicon/Kconfig b/drivers/crypto/hisilicon/Kconfig
> index 1d155708cd69..b85fab48fdab 100644
> --- a/drivers/crypto/hisilicon/Kconfig
> +++ b/drivers/crypto/hisilicon/Kconfig
> @@ -17,6 +17,16 @@ config CRYPTO_DEV_HISI_SEC
> To compile this as a module, choose M here: the module
> will be called hisi_sec.
>
> +config CRYPTO_DEV_HISI_SDMDEV
> + bool "Enable SDMDEV interface"
> + depends on CRYPTO_DEV_HISILICON
> + select VFIO_SDMDEV
> + help
> + Enable this enable the SDMDEV, "shared IOMMU Domain Mediated Device"

At a minimum:
Enable this to enable the SDMDEV,

although that could be done better. Maybe just:
Enable the SDMDEV "shared IOMMU Domain Mediated Device"


> + interface for all Hisilicon accelerators if they can. The SDMDEV

probably drop "if they can": accelerators. The SDMDEV interface

> + enable the WarpDrive user space accelerator driver to access the

enables

> + hardware function directly.
> +


--
~Randy

\
 
 \ /
  Last update: 2018-09-03 04:19    [W:0.188 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site