Commit 7ab780f8 authored by Weili Qian's avatar Weili Qian Committed by JiangShui
Browse files

crypto: hisilicon/qm - modify interrupt resource application process

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8LFYK


CVE: NA

----------------------------------------------------------------------

Interrupt resources like wokrqueue are applied for in function
hisi_qm_memory_init(). During resource application, whether the
device supports this type of interrupt is not checked. As a result,
the applied resources may not be used. Therefore, the interrupt resource
application is moved to function qm_irqs_register(). When the interrupt
type is not supported, the interrupt resource is not applied, avoiding
resource waste.

Signed-off-by: default avatarWeili Qian <qianweili@huawei.com>
Signed-off-by: default avatarJiangShui Yang <yangjiangshui@h-partners.com>
parent cb2369cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment