Bug 6595 - 配置IAA设备后,开启iax_crypto 出现无效参数哦或者软锁问题
Summary: 配置IAA设备后,开启iax_crypto 出现无效参数哦或者软锁问题
Status: RESOLVED FIXED
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: general/others (show other bugs) general/others
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: kun(llfl)
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-18 10:49 UTC by inspursand
Modified: 2023-11-09 13:43 UTC (History)
1 user (show)

See Also:


Attachments
软锁栈信息,复现方法见复现步骤 (343.27 KB, image/jpeg)
2023-09-18 10:49 UTC, inspursand
Details
错误提示,复现方法见复现步骤 (3.82 MB, image/jpeg)
2023-09-18 10:51 UTC, inspursand
Details

Note You need to log in before you can comment on or make changes to this bug.
Description inspursand inspur_group 2023-09-18 10:49:23 UTC
Created attachment 893 [details]
软锁栈信息,复现方法见复现步骤

Description of problem:
配置完IAA设备 和 加载iax_crypto驱动后。使用echo 进行开启时,有时出现无效参数错误,有时出现软锁。
Version-Release number of selected component (if applicable):
5.10

How reproducible:


Steps to Reproduce:
1、去除启动intel_iommu=on,sm_on参数,启动
2、配置队列
   accel-config config-wq iax1/wq1.0 --group-id 0 --mode dedicated --type kernel --name iax_crypto --priority 10 --driver-name crypto

3、启动设备、队列
   accel-config enable-device iax1
   accel-config enable-wq iax1/wq1.0

4、加载、配置iax驱动enable时发生软锁
   modprobe iax_crypto
   echo 1 > /sys/module/iax_crypto/parameters/iax_crypto_enable  (发生软锁的命令)

Actual results:


Expected results:


Additional info:
Comment 1 inspursand inspur_group 2023-09-18 10:51:06 UTC
Created attachment 894 [details]
错误提示,复现方法见复现步骤
Comment 2 inspursand inspur_group 2023-09-20 10:27:37 UTC
因为很多的讨论与试验都在以下连接中,所以关联一下,请参考
https://bugzilla.openanolis.cn/show_bug.cgi?id=6403
Comment 3 inspursand inspur_group 2023-11-09 13:43:57 UTC
已修复