Hi Ryusuke,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: 22c50245e8025b0c6beee13d0df238987b98e6f8
commit: 6741506ca02825b90e77088e8fce01c3d02edfdd [23167/23866] nilfs2: fix unexpected freezing of nilfs_segctor_sync()
config: x86_64-buildonly-randconfig-003-20241027 (https://download.01.org/0day-ci/archive/20241027/202410270910.yAllU1Un-lkp@…)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241027/202410270910.yAllU1Un-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410270910.yAllU1Un-lkp@intel.com/
Note: it may well be a FALSE warning. FWIW you are at least aware of it now.
http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings
All warnings (new ones prefixed by >>):
In file included from arch/x86/include/asm/atomic.h:265,
from arch/x86/include/asm/msr.h:67,
from arch/x86/include/asm/processor.h:21,
from arch/x86/include/asm/cpufeature.h:5,
from arch/x86/include/asm/thread_info.h:53,
from include/linux/thread_bits.h:22,
from include/linux/thread_info.h:14,
from arch/x86/include/asm/preempt.h:7,
from include/linux/preempt.h:81,
from include/linux/spinlock.h:51,
from include/linux/mmzone.h:9,
from include/linux/gfp.h:6,
from include/linux/mm.h:11,
from include/linux/pagemap.h:8,
from fs/nilfs2/segment.c:11:
In function 'atomic_set',
inlined from 'nilfs_segctor_sync' at fs/nilfs2/segment.c:2175:2:
>> include/asm-generic/atomic-instrumented.h:33:9: warning: 'wait_req' may be used uninitialized [-Wmaybe-uninitialized]
33 | kasan_check_write(v, sizeof(*v));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/compiler.h:265,
from include/asm-generic/bug.h:5,
from arch/x86/include/asm/bug.h:83,
from include/linux/bug.h:5,
from include/linux/mmdebug.h:5,
from include/linux/mm.h:10:
include/linux/kasan-checks.h: In function 'nilfs_segctor_sync':
include/linux/kasan-checks.h:7:6: note: by argument 1 of type 'const volatile void *' to 'kasan_check_write' declared here
7 | void kasan_check_write(const volatile void *p, unsigned int size);
| ^~~~~~~~~~~~~~~~~
fs/nilfs2/segment.c:2170:43: note: 'wait_req' declared here
2170 | struct nilfs_segctor_wait_request wait_req;
| ^~~~~~~~
vim +/wait_req +33 include/asm-generic/atomic-instrumented.h
b06ed71a624ba0 Dmitry Vyukov 2018-01-29 30
b06ed71a624ba0 Dmitry Vyukov 2018-01-29 31 static __always_inline void atomic_set(atomic_t *v, int i)
b06ed71a624ba0 Dmitry Vyukov 2018-01-29 32 {
a35353bb9eb199 Dmitry Vyukov 2018-01-29 @33 kasan_check_write(v, sizeof(*v));
b06ed71a624ba0 Dmitry Vyukov 2018-01-29 34 arch_atomic_set(v, i);
b06ed71a624ba0 Dmitry Vyukov 2018-01-29 35 }
b06ed71a624ba0 Dmitry Vyukov 2018-01-29 36
:::::: The code at line 33 was first introduced by commit
:::::: a35353bb9eb1990a44a0d7585f99e9589bcdb682 locking/atomic, asm-generic: Add KASAN instrumentation to atomic operations
:::::: TO: Dmitry Vyukov <dvyukov(a)google.com>
:::::: CC: Ingo Molnar <mingo(a)kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 412556141b3c12f2f160acc3a09a40c937837ee3
commit: e94df9b790f7ed9025c9321f16a77044f66b14a5 [18534/30000] ima: Add macros to isolate the IMA digest list
config: x86_64-buildonly-randconfig-006-20241027 (https://download.01.org/0day-ci/archive/20241027/202410270809.Ptd8Ot1n-lkp@…)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241027/202410270809.Ptd8Ot1n-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410270809.Ptd8Ot1n-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from security/integrity/ima/ima_main.c:30:
>> security/integrity/ima/ima.h:381:51: warning: 'struct ima_digest' declared inside parameter list will not be visible outside of this definition or declaration
381 | struct ima_digest *found_digest)
| ^~~~~~~~~~
security/integrity/ima/ima_main.c: In function 'process_measurement':
security/integrity/ima/ima_main.c:433:30: error: too few arguments to function 'ima_appraise_measurement'
433 | rc = ima_appraise_measurement(func, iint, file,
| ^~~~~~~~~~~~~~~~~~~~~~~~
security/integrity/ima/ima.h:373:19: note: declared here
373 | static inline int ima_appraise_measurement(enum ima_hooks func,
| ^~~~~~~~~~~~~~~~~~~~~~~~
--
In file included from security/integrity/ima/ima_api.c:18:
>> security/integrity/ima/ima.h:381:51: warning: 'struct ima_digest' declared inside parameter list will not be visible outside of this definition or declaration
381 | struct ima_digest *found_digest)
| ^~~~~~~~~~
--
In file included from security/integrity/ima/ima_asymmetric_keys.c:13:
>> security/integrity/ima/ima.h:381:51: warning: 'struct ima_digest' declared inside parameter list will not be visible outside of this definition or declaration
381 | struct ima_digest *found_digest)
| ^~~~~~~~~~
security/integrity/ima/ima_asymmetric_keys.c:27:6: warning: no previous prototype for 'ima_post_key_create_or_update' [-Wmissing-prototypes]
27 | void ima_post_key_create_or_update(struct key *keyring, struct key *key,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +381 security/integrity/ima/ima.h
273df864cf7466 Nayna Jain 2019-10-30 372
4ad87a3d7444de Mimi Zohar 2016-01-14 373 static inline int ima_appraise_measurement(enum ima_hooks func,
d79d72e02485c0 Mimi Zohar 2012-12-03 374 struct integrity_iint_cache *iint,
2fe5d6def1672a Mimi Zohar 2012-02-13 375 struct file *file,
d3634d0f426bde Dmitry Kasatkin 2013-04-25 376 const unsigned char *filename,
d3634d0f426bde Dmitry Kasatkin 2013-04-25 377 struct evm_ima_xattr_data *xattr_value,
39b07096364a42 Thiago Jung Bauermann 2019-06-27 378 int xattr_len,
e94df9b790f7ed Zhou Shuiqing 2023-09-06 379 #ifndef CONFIG_IMA_DIGEST_LIST
a44c2ae6cac55b Roberto Sassu 2021-03-03 380 const struct modsig *modsig,
a44c2ae6cac55b Roberto Sassu 2021-03-03 @381 struct ima_digest *found_digest)
e94df9b790f7ed Zhou Shuiqing 2023-09-06 382 #else
e94df9b790f7ed Zhou Shuiqing 2023-09-06 383 const struct modsig *modsig)
e94df9b790f7ed Zhou Shuiqing 2023-09-06 384 #endif
2fe5d6def1672a Mimi Zohar 2012-02-13 385 {
2fe5d6def1672a Mimi Zohar 2012-02-13 386 return INTEGRITY_UNKNOWN;
2fe5d6def1672a Mimi Zohar 2012-02-13 387 }
2fe5d6def1672a Mimi Zohar 2012-02-13 388
:::::: The code at line 381 was first introduced by commit
:::::: a44c2ae6cac55bdcc0d33f62600233ea0f3f6688 ima: Add support for appraisal with digest lists
:::::: TO: Roberto Sassu <roberto.sassu(a)huawei.com>
:::::: CC: Zheng Zengkai <zhengzengkai(a)huawei.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Hi Tian,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 412556141b3c12f2f160acc3a09a40c937837ee3
commit: 62aede9feaf6f4729af43df72be267a32bda43d1 [14232/30000] net: hns3: add support customized exception handling interfaces.
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20241027/202410270825.dsHEmsVP-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241027/202410270825.dsHEmsVP-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410270825.dsHEmsVP-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c: In function 'hclge_reset_event':
>> drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:4413:46: warning: implicit conversion from 'enum hnae3_reset_type' to 'enum hnae3_event_type_custom' [-Wenum-conversion]
4413 | ret = hclge_ext_call_event(hdev, hdev->reset_level);
| ~~~~^~~~~~~~~~~~~
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c: In function 'hclge_get_strings':
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:668:50: warning: '%s' directive output may be truncated writing up to 4895 bytes into a region of size 32 [-Wformat-truncation=]
668 | snprintf(buff, ETH_GSTRING_LEN, "%s", strs[i].desc);
| ^~
In function 'hclge_comm_get_strings',
inlined from 'hclge_get_strings' at drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:781:7:
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:668:17: note: 'snprintf' output between 1 and 4896 bytes into a destination of size 32
668 | snprintf(buff, ETH_GSTRING_LEN, "%s", strs[i].desc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +4413 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4374
4375 void hclge_reset_event(struct pci_dev *pdev, struct hnae3_handle *handle)
4376 {
4377 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(pdev);
4378 struct hclge_dev *hdev = ae_dev->priv;
4379 int ret;
4380
4381 /* We might end up getting called broadly because of 2 below cases:
4382 * 1. Recoverable error was conveyed through APEI and only way to bring
4383 * normalcy is to reset.
4384 * 2. A new reset request from the stack due to timeout
4385 *
4386 * check if this is a new reset request and we are not here just because
4387 * last reset attempt did not succeed and watchdog hit us again. We will
4388 * know this if last reset request did not occur very recently (watchdog
4389 * timer = 5*HZ, let us check after sufficiently large time, say 4*5*Hz)
4390 * In case of new request we reset the "reset level" to PF reset.
4391 * And if it is a repeat reset request of the most recent one then we
4392 * want to make sure we throttle the reset request. Therefore, we will
4393 * not allow it again before 3*HZ times.
4394 */
4395
4396 if (time_before(jiffies, (hdev->last_reset_time +
4397 HCLGE_RESET_INTERVAL))) {
4398 mod_timer(&hdev->reset_timer, jiffies + HCLGE_RESET_INTERVAL);
4399 return;
4400 }
4401
4402 if (hdev->default_reset_request) {
4403 hdev->reset_level =
4404 hclge_get_reset_level(ae_dev,
4405 &hdev->default_reset_request);
4406 } else if (time_after(jiffies, (hdev->last_reset_time + 4 * 5 * HZ))) {
4407 hdev->reset_level = HNAE3_FUNC_RESET;
4408 }
4409
4410 dev_info(&hdev->pdev->dev, "received reset event, reset type is %d\n",
4411 hdev->reset_level);
4412
> 4413 ret = hclge_ext_call_event(hdev, hdev->reset_level);
4414 if (ret) {
4415 /* request reset & schedule reset task */
4416 set_bit(hdev->reset_level, &hdev->reset_request);
4417 hclge_reset_task_schedule(hdev);
4418 }
4419
4420 if (hdev->reset_level < HNAE3_GLOBAL_RESET)
4421 hdev->reset_level++;
4422 }
4423
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Hi Wang,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 9d0af12b79bee784902822ddeec2e1a8cfc18524
commit: 549b1f40b56511536196f7522ffa4d7b3da42337 [1359/15331] mm/sharepool: Implement mg_sp_make_share_u2k()
config: arm64-randconfig-003-20241027 (https://download.01.org/0day-ci/archive/20241027/202410270650.btnHpujZ-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241027/202410270650.btnHpujZ-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410270650.btnHpujZ-lkp@intel.com/
All errors (new ones prefixed by >>):
mm/share_pool.c: In function 'sp_hugetlb_entry':
>> mm/share_pool.c:1226:21: error: implicit declaration of function 'huge_ptep_get' [-Wimplicit-function-declaration]
1226 | pte_t pte = huge_ptep_get(ptep);
| ^~~~~~~~~~~~~
>> mm/share_pool.c:1226:21: error: invalid initializer
mm/share_pool.c: At top level:
mm/share_pool.c:1005:13: warning: 'sp_area_put_locked' defined but not used [-Wunused-function]
1005 | static void sp_area_put_locked(struct sp_area *spa)
| ^~~~~~~~~~~~~~~~~~
mm/share_pool.c:944:24: warning: 'sp_area_get' defined but not used [-Wunused-function]
944 | static struct sp_area *sp_area_get(struct sp_group *spg,
| ^~~~~~~~~~~
mm/share_pool.c:791:24: warning: 'sp_area_alloc' defined but not used [-Wunused-function]
791 | static struct sp_area *sp_area_alloc(unsigned long size, unsigned long flags,
| ^~~~~~~~~~~~~
mm/share_pool.c:587:21: warning: 'spa_file' defined but not used [-Wunused-function]
587 | static struct file *spa_file(struct sp_area *spa)
| ^~~~~~~~
mm/share_pool.c:582:22: warning: 'spa_size' defined but not used [-Wunused-function]
582 | static unsigned long spa_size(struct sp_area *spa)
| ^~~~~~~~
mm/share_pool.c:497:13: warning: 'update_mem_usage_k2u' defined but not used [-Wunused-function]
497 | static void update_mem_usage_k2u(unsigned long size, bool inc,
| ^~~~~~~~~~~~~~~~~~~~
mm/share_pool.c:485:13: warning: 'update_mem_usage_alloc' defined but not used [-Wunused-function]
485 | static void update_mem_usage_alloc(unsigned long size, bool inc,
| ^~~~~~~~~~~~~~~~~~~~~~
mm/share_pool.c:438:12: warning: 'sp_group_setup_mapping_normal' defined but not used [-Wunused-function]
438 | static int sp_group_setup_mapping_normal(struct mm_struct *mm, struct sp_group *spg)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mm/share_pool.c:380:13: warning: 'sp_mapping_detach' defined but not used [-Wunused-function]
380 | static void sp_mapping_detach(struct sp_group *spg, struct sp_mapping *spm)
| ^~~~~~~~~~~~~~~~~
mm/share_pool.c:237:13: warning: 'meminfo_init' defined but not used [-Wunused-function]
237 | static void meminfo_init(struct sp_meminfo *meminfo)
| ^~~~~~~~~~~~
In file included from mm/share_pool.c:26:
mm/share_pool.c:76:19: warning: 'sp_group_idr' defined but not used [-Wunused-variable]
76 | static DEFINE_IDR(sp_group_idr);
| ^~~~~~~~~~~~
include/linux/idr.h:56:44: note: in definition of macro 'DEFINE_IDR'
56 | #define DEFINE_IDR(name) struct idr name = IDR_INIT(name)
| ^~~~
mm/share_pool.c:73:12: warning: 'system_group_count' defined but not used [-Wunused-variable]
73 | static int system_group_count;
| ^~~~~~~~~~~~~~~~~~
vim +/huge_ptep_get +1226 mm/share_pool.c
1221
1222 static int sp_hugetlb_entry(pte_t *ptep, unsigned long hmask,
1223 unsigned long addr, unsigned long next,
1224 struct mm_walk *walk)
1225 {
> 1226 pte_t pte = huge_ptep_get(ptep);
1227 struct page *page = pte_page(pte);
1228 struct sp_walk_data *sp_walk_data;
1229
1230 if (unlikely(!pte_present(pte))) {
1231 pr_debug("the page of addr %lx unexpectedly not in RAM\n", (unsigned long)addr);
1232 return -EFAULT;
1233 }
1234
1235 sp_walk_data = walk->private;
1236 get_page(page);
1237 sp_walk_data->pages[sp_walk_data->page_count++] = page;
1238 return 0;
1239 }
1240
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Hi Li,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 412556141b3c12f2f160acc3a09a40c937837ee3
commit: f86d165bfe5f6248743774bb07af0bd7cff12443 [6355/30000] arm64: Add non nmi ipi backtrace support
config: arm64-randconfig-001-20241026 (https://download.01.org/0day-ci/archive/20241027/202410270515.tTl9lU9j-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241027/202410270515.tTl9lU9j-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410270515.tTl9lU9j-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/arm64/kernel/ipi_nmi.c: In function 'ipi_cpu_backtrace':
>> arch/arm64/kernel/ipi_nmi.c:38:9: error: implicit declaration of function 'printk_safe_enter'; did you mean 'printk_nmi_enter'? [-Werror=implicit-function-declaration]
38 | printk_safe_enter();
| ^~~~~~~~~~~~~~~~~
| printk_nmi_enter
>> arch/arm64/kernel/ipi_nmi.c:40:9: error: implicit declaration of function 'printk_safe_exit'; did you mean 'printk_nmi_exit'? [-Werror=implicit-function-declaration]
40 | printk_safe_exit();
| ^~~~~~~~~~~~~~~~
| printk_nmi_exit
cc1: some warnings being treated as errors
vim +38 arch/arm64/kernel/ipi_nmi.c
35
36 static void ipi_cpu_backtrace(void *info)
37 {
> 38 printk_safe_enter();
39 nmi_cpu_backtrace(get_irq_regs());
> 40 printk_safe_exit();
41 }
42
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: 22c50245e8025b0c6beee13d0df238987b98e6f8
commit: 267bce716c1008522c3b8ddbeac8d3c65514e98f [21583/23866] crypto: hisilicon/qm - drop unnecessary IS_ENABLE(CONFIG_NUMA) check
config: arm64-randconfig-002-20241026 (https://download.01.org/0day-ci/archive/20241027/202410270513.RTL2eHIu-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241027/202410270513.RTL2eHIu-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410270513.RTL2eHIu-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/crypto/hisilicon/qm.c:3322: warning: Excess function parameter 'ce' description in 'qm_hw_error_init'
>> drivers/crypto/hisilicon/qm.c:3322: warning: Excess function parameter 'nfe' description in 'qm_hw_error_init'
>> drivers/crypto/hisilicon/qm.c:3322: warning: Excess function parameter 'fe' description in 'qm_hw_error_init'
>> drivers/crypto/hisilicon/qm.c:3322: warning: Excess function parameter 'msi' description in 'qm_hw_error_init'
vim +3322 drivers/crypto/hisilicon/qm.c
ae67d23af736c7 xuzaibo 2019-04-21 3302
ae67d23af736c7 xuzaibo 2019-04-21 3303 /**
73d33f5c59dc38 Yu'an Wang 2020-04-16 3304 * qm_hw_error_init() - Configure qm hardware error report method.
ae67d23af736c7 xuzaibo 2019-04-21 3305 * @qm: The qm which we want to configure.
ae67d23af736c7 xuzaibo 2019-04-21 3306 * @ce: Correctable error configure.
ae67d23af736c7 xuzaibo 2019-04-21 3307 * @nfe: Non-fatal error configure.
ae67d23af736c7 xuzaibo 2019-04-21 3308 * @fe: Fatal error configure.
ae67d23af736c7 xuzaibo 2019-04-21 3309 * @msi: Error reported by message signal interrupt.
ae67d23af736c7 xuzaibo 2019-04-21 3310 *
ae67d23af736c7 xuzaibo 2019-04-21 3311 * Hardware errors of qm can be reported either by RAS interrupts which will
ae67d23af736c7 xuzaibo 2019-04-21 3312 * be handled by UEFI and then PCIe AER or by device MSI. User can configure
ae67d23af736c7 xuzaibo 2019-04-21 3313 * each error to use either of above two methods. For RAS interrupts, we can
ae67d23af736c7 xuzaibo 2019-04-21 3314 * configure an error as one of correctable error, non-fatal error or
ae67d23af736c7 xuzaibo 2019-04-21 3315 * fatal error.
ae67d23af736c7 xuzaibo 2019-04-21 3316 *
ae67d23af736c7 xuzaibo 2019-04-21 3317 * Bits indicating errors can be configured to ce, nfe, fe and msi to enable
ae67d23af736c7 xuzaibo 2019-04-21 3318 * related report methods. Error report will be masked if related error bit
ae67d23af736c7 xuzaibo 2019-04-21 3319 * does not configure.
ae67d23af736c7 xuzaibo 2019-04-21 3320 */
73d33f5c59dc38 Yu'an Wang 2020-04-16 3321 static void qm_hw_error_init(struct hisi_qm *qm)
ae67d23af736c7 xuzaibo 2019-04-21 @3322 {
73d33f5c59dc38 Yu'an Wang 2020-04-16 3323 u32 nfe = qm->err_ini.err_info.nfe;
73d33f5c59dc38 Yu'an Wang 2020-04-16 3324 u32 msi = qm->err_ini.err_info.msi;
73d33f5c59dc38 Yu'an Wang 2020-04-16 3325 u32 ce = qm->err_ini.err_info.ce;
73d33f5c59dc38 Yu'an Wang 2020-04-16 3326 u32 fe = qm->err_ini.err_info.fe;
73d33f5c59dc38 Yu'an Wang 2020-04-16 3327
ae67d23af736c7 xuzaibo 2019-04-21 3328 if (!qm->ops->hw_error_init) {
ae67d23af736c7 xuzaibo 2019-04-21 3329 dev_err(&qm->pdev->dev,
ae67d23af736c7 xuzaibo 2019-04-21 3330 "QM version %d doesn't support hw error handling!\n",
ae67d23af736c7 xuzaibo 2019-04-21 3331 qm->ver);
ae67d23af736c7 xuzaibo 2019-04-21 3332 return;
ae67d23af736c7 xuzaibo 2019-04-21 3333 }
ae67d23af736c7 xuzaibo 2019-04-21 3334
efe221f95003ac Zhou Wang 2019-07-11 3335 qm->ops->hw_error_init(qm, ce, nfe, fe, msi);
ae67d23af736c7 xuzaibo 2019-04-21 3336 }
ae67d23af736c7 xuzaibo 2019-04-21 3337
:::::: The code at line 3322 was first introduced by commit
:::::: ae67d23af736c75f90795297fddb86dc97e7b3c7 arm64: Add hisilicon Crypto drivers qm/hpre/zip and code format
:::::: TO: xuzaibo <xuzaibo(a)huawei.com>
:::::: CC: Xie XiuQi <xiexiuqi(a)huawei.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki