Loading
crypto: hisilicon/qm - get the type of iommu
driver inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I94L2V CVE: NA ---------------------------------------------------------------------- Added the function is_iommu_used() for obtaining the IOMMU type in qm.c. Driver checks the IOMMU type before registering to the UACCE subsystem. If the IOMMU is disabled, the device does not register to the UACCE subsystem in SVA mode. In addition, the function sec_iommu_used_check() in sec_main.c for obtaining the IOMMU type is deleted to avoid repeated function. Signed-off-by:JiangShui Yang <yangjiangshui@h-partners.com> Signed-off-by:
Weili Qian <qianweili@huawei.com>