Comment 10 for bug 1943301

Revision history for this message
Ike Panhc (ikepanhc) wrote :

Cherry-picking commit d0228aeb4d65 ("crypto: hisilicon/sec2 - update SEC initialization and reset") causes kernel build failure.

ubuntu-focal/drivers/crypto/hisilicon/sec2/sec_main.c:457:43: error: ‘SEC_QM_ABNORMAL_INT_MASK’ undeclared (first use in this function)
  457 | writel(GENMASK(12, 0), sec->qm.io_base + SEC_QM_ABNORMAL_INT_MASK);
      | ^~~~~~~~~~~~~~~~~~~~~~~~

Check SEC_QM_ABNORMAL_INT_MASK and find out it is defined in first commit of sec_main.c "416d82204df4" but removed in commit eaebf4c3b103 ("crypto: hisilicon - Unify hardware error init/uninit into QM")

Shall we cherry-pick commit eaebf4c3b103 too?