Skip to content

Commit

Permalink
crypto: set sec2 & hpre SVA as default
Browse files Browse the repository at this point in the history
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
  • Loading branch information
zhangfeigao committed Jan 31, 2023
1 parent baa31d3 commit 316b8f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/crypto/hisilicon/hpre/hpre_main.c
Expand Up @@ -427,7 +427,7 @@ static const struct kernel_param_ops hpre_uacce_mode_ops = {
* uacce_mode = 0 means hpre only register to crypto,
* uacce_mode = 1 means hpre both register to crypto and uacce.
*/
static u32 uacce_mode = UACCE_MODE_NOUACCE;
static u32 uacce_mode = UACCE_MODE_SVA;
module_param_cb(uacce_mode, &hpre_uacce_mode_ops, &uacce_mode, 0444);
MODULE_PARM_DESC(uacce_mode, UACCE_MODE_DESC);

Expand Down
2 changes: 1 addition & 1 deletion drivers/crypto/hisilicon/sec2/sec_main.c
Expand Up @@ -407,7 +407,7 @@ static const struct kernel_param_ops sec_uacce_mode_ops = {
* uacce_mode = 0 means sec only register to crypto,
* uacce_mode = 1 means sec both register to crypto and uacce.
*/
static u32 uacce_mode = UACCE_MODE_NOUACCE;
static u32 uacce_mode = UACCE_MODE_SVA;
module_param_cb(uacce_mode, &sec_uacce_mode_ops, &uacce_mode, 0444);
MODULE_PARM_DESC(uacce_mode, UACCE_MODE_DESC);

Expand Down

0 comments on commit 316b8f2

Please sign in to comment.