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:Weili Qian <qianweili@huawei.com> Signed-off-by:
JiangShui Yang <yangjiangshui@h-partners.com>
Loading
Please sign in to comment