Cherry-pick all patches from mainline kernel for drivers/crypto/hisilicon but patch ("crypto:hisilicon/sec2 -modify the SEC probe process") mentioned in #17 still causes build failure.
/home/ubuntu/focal/drivers/crypto/hisilicon/sec2/sec_main.c: In function ‘sec_qm_init’: /home/ubuntu/focal/drivers/crypto/hisilicon/sec2/sec_main.c:750:7: error: ‘struct hisi_qm’ has no member named ‘qm_list’; did you mean ‘list’? qm->qm_list = &sec_devices; ^~~~~~~ list /home/ubuntu/focal/scripts/Makefile.build:273: recipe for target 'drivers/crypto/hisilicon/sec2/sec_main.o' failed make[6]: *** [drivers/crypto/hisilicon/sec2/sec_main.o] Error 1 There is no qm_list in 'struct qm'. Is there any patch in kernel mailing list I shall also cherry-pick? Here are the patches I cherry-picked from mainline kernel. 2ecc5dbe1be2 crypto: hisilicon - Fix build error 050edd48773c crypto: hisilicon/sec2 - Add new create qp process 866208000dc5 crypto: hisilicon/hpre - Optimize finding hpre device process 2d5c3b667630 crypto: hisilicon/zip - Use hisi_qm_alloc_qps_node() when init ctx f9b281b9d419 crypto: hisilicon/qm - Put device finding logic into QM 41fb76b52f88 crypto: hisilicon/sec2 - Add pbuffer mode for SEC driver a498705a1413 crypto: hisilicon/sec2 - Update IV and MAC operation 0d96187b2254 crypto: hisilicon/sec2 - Add iommu status check 4bd0e47188d5 crypto: hisilicon/sec2 - Add workqueue for SEC driver. e446154072f6 crypto: hisilicon - Use one workqueue per qm instead of per qp 1c50a05a8175 crypto: hisilicon - qm depends on UACCE 830f9ba1bd19 crypto: hisilicon - remove redundant assignment of pointer ctx 890db5d419c6 crypto: hisilicon - register zip engine to uacce dd057c5c9923 crypto: hisilicon - Remove module_param uacce_mode 392303395a8f uacce: add uacce driver aac67f627ed7 uacce: Add documents for uacce ec8710741e72 crypto: hisilicon - Fix duplicate print when qm occur multiple errors 4eec3fe442fe crypto: hisilicon - Unify error detect process into qm 0fe67e5b898e crypto: hisilicon - Configure zip RAS error type f70dbcab45dd crypto: hisilicon - Unify hardware error init/uninit into QM -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1867591 Title: [ACC-0316]sync mainline kernel 5.6rc6 ACC patchset into ubuntu HWE kernel branch Status in kunpeng920: Incomplete Status in kunpeng920 ubuntu-18.04-hwe series: Incomplete Status in kunpeng920 ubuntu-20.04 series: Incomplete Status in kunpeng920 upstream-kernel series: Fix Committed Status in linux package in Ubuntu: In Progress Bug description: [Bug Description] roce patchset have merged into mainline 5.6rc2 kernel. [Steps to Reproduce] 1) 2) 3) [Actual Results] [Expected Results] [Reproducibility] [Additional information] (Firmware version, kernel version, affected hardware, etc. if required): [Resolution] crypto: hisilicon/sec2 - Add pbuffer mode for SEC driver crypto: hisilicon/sec2 - Update IV and MAC operation crypto: hisilicon/sec2 - Add iommu status check crypto: hisilicon/sec2 - Add workqueue for SEC driver. crypto: hisilicon - Use one workqueue per qm instead of per qp crypto: hisilicon - qm depends on UACCE crypto: hisilicon - remove redundant assignment of pointer ctx hisilicon - register zip engine to uacce hisilicon - Remove module_param uacce_mode uacce: add uacce driver uacce: Add documents for uacce crypto: hisilicon - Fix duplicate print when qm occur multiple errors crypto: hisilicon - Unify error detect process into qm crypto: hisilicon - Configure zip RAS error type crypto: hisilicon - Unify hardware error init/uninit into QM To manage notifications about this bug go to: https://bugs.launchpad.net/kunpeng920/+bug/1867591/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp