In fact, those patches are not enough, a lot more are needed:
- ba79a32acfde ("crypto: qat - replace deprecated MSI API")
- 0e64dcd7c94b ("crypto: qat - remove unmatched CPU affinity to cluster IRQ")
- 9832fdc917de ("crypto: qat - free irqs only if allocated")
- 70fead3adb4e ("crypto: qat - free irq in case of failure")
- 40da865381ad ("crypto: qat - remove unneeded packed attribute")
- ca605f97dae4 ("crypto: qat - power up 4xxx device")
- 9b768e8a3909 ("crypto: qat - detect PFVF collision after ACK")
- 18fcba469ba5 ("crypto: qat - disregard spurious PFVF interrupts")
- e17f49bb244a ("crypto: qat - remove unnecessary collision prevention step in
PFVF")
- 993161d36ab5 ("crypto: qat - fix handling of VF to PF interrupts")
- b79c7532dc33 ("crypto: qat - remove duplicated logic across GEN2 drivers")
- c3878a786be0 ("crypto: qat - use hweight for bit counting")
- 6e680f94bc31 ("crypto: qat - make pfvf send message direction agnostic")
- 21db65edb6a5 ("crypto: qat - move pfvf collision detection values")
- 71b5f2ab5e52 ("crypto: qat - rename pfvf collision constants")
- 7a73c4622aaa ("crypto: qat - add VF and PF wrappers to common send function")
- aa3c68634df8 ("crypto: qat - extract send and wait from
adf_vf2pf_request_version()")
- 32dfef6f92dd ("crypto: qat - share adf_enable_pf2vf_comms() from
adf_pf2vf_msg.c")
- 8f5c335e34b5 ("crypto: qat - simplify adf_enable_aer()")
- c79391c696da ("crypto: qat - do not handle PFVF sources for qat_4xxx")
- 5002200b4fed ("crypto: qat - fix undetected PFVF timeout in ACK loop")
- 95b4d40ed256 ("crypto: qat - refactor PF top half for PFVF")
- 08ea97f48883 ("crypto: qat - move vf2pf interrupt helpers")
- b7c13ee46ceb ("crypto: qat - move VF message handler to adf_vf2pf_msg.c")
- 720aa72a77f4 ("crypto: qat - move interrupt code out of the PFVF handler")
- 956125e21f46 ("crypto: qat - change PFVF ACK behaviour")
- 04cf47872c7e ("crypto: qat - re-enable interrupts for legacy PFVF messages")
- bd59b769ddac ("crypto: qat - split PFVF message decoding from handling")
- 1d6133123fb2 ("crypto: qat - handle retries due to collisions in
adf_iov_putmsg()")
- b85bd9457dc3 ("crypto: qat - relocate PFVF PF related logic")
- 7e00fb3f162c ("crypto: qat - relocate PFVF VF related logic")
- 6f2e28015bac ("crypto: qat - relocate PFVF disabled function")
- bc63dabe5254 ("crypto: qat - add pfvf_ops")
- 9baf2de7ee4e ("crypto: qat - differentiate between pf2vf and vf2pf offset")
- 49c43538ce05 ("crypto: qat - abstract PFVF send function")
- 1ea7c2beca5b ("crypto: qat - abstract PFVF receive logic")
- 09ce899a592f ("crypto: qat - reorganize PFVF code")
- f6aff914989e ("crypto: qat - reorganize PFVF protocol definitions")
- 1d4fde6c4e80 ("crypto: qat - use enums for PFVF protocol codes")
- 25110fd2e346 ("crypto: qat - pass the PF2VF responses back to the callers")
- c35c76c6919e ("crypto: qat - refactor pfvf version request messages")
- e669b4dedd89 ("crypto: qat - do not rely on min version")
- 1d9a915fafab ("crypto: qat - fix VF IDs in PFVF log messages")
- 8616b628ef69 ("crypto: qat - improve logging of PFVF messages")
- e0441e2be155 ("crypto: qat - get compression extended capabilities")
- 547bde7bd4ec ("crypto: qat - set CIPHER capability for QAT GEN2")
- cfe4894eccdc ("crypto: qat - set COMPRESSION capability for QAT GEN2")
- 4b44d28c715d ("crypto: qat - extend crypto capability detection for 4xxx")
- 03125541ca29 ("crypto: qat - support the reset of ring pairs on PF")
- 448588adcdf4 ("crypto: qat - add the adf_get_pmisc_base() helper function")
- 6ed942ed3c47 ("crypto: qat - make PFVF message construction direction
agnostic")
- 028042856802 ("crypto: qat - make PFVF send and receive direction agnostic")
- 0aeda694f187 ("crypto: qat - set PFVF_MSGORIGIN just before sending")
- db1c034801c4 ("crypto: qat - abstract PFVF messages with struct
pfvf_message")
- 952f4e812741 ("crypto: qat - leverage bitfield.h utils for PFVF messages")
- 1c94d8035905 ("crypto: qat - leverage read_poll_timeout in PFVF send")
- 6f87979129d1 ("crypto: qat - improve the ACK timings in PFVF send")
- 4d03135faa05 ("crypto: qat - store the PFVF protocol version of the
endpoints")
- 3a5b2a088328 ("crypto: qat - store the ring-to-service mapping")
- 673184a2a58f ("crypto: qat - introduce support for PFVF block messages")
- 851ed498dba1 ("crypto: qat - exchange device capabilities over PFVF")
- 73ef8f3382d1 ("crypto: qat - support fast ACKs in the PFVF protocol")
- e1b176af3d7e ("crypto: qat - exchange ring-to-service mappings over PFVF")
- 925b3069cf6e ("crypto: qat - config VFs based on ring-to-svc mapping")
- a9dc0d966605 ("crypto: qat - add PFVF support to the GEN4 host driver")
- 0bba03ce9739 ("crypto: qat - add PFVF support to enable the reset of ring
pairs")
- beb1e6d71f0e ("crypto: qat - allow detection of dc capabilities for 4xxx")
- 0cec19c761e5 ("crypto: qat - add support for compression for 4xxx")
- 4cab5dfd15b7 ("crypto: qat - fix definition of ring reset results")
--
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/2019543
Title:
crypto / qat: unable to init GEN4 device
Status in linux package in Ubuntu:
Incomplete
Bug description:
[Target]
Jammy kernel.
[Impact]
The PCI device cannot be initialized.
This has been fixed in linux v5.18 with the below commits:
- a9dc0d966605 ("crypto: qat - add PFVF support to the GEN4 host driver")
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a9dc0d966605
- 642a7d49c249 ("crypto: qat - fix access to PFVF interrupt registers for
GEN4")
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=642a7d49c249
[Test Case]
Boot a machine with this device.
Before the patches, the following errors are logged:
> EAL: Probe PCI driver: qat (8086:4941) device: 0000:00:08.0 (socket -1)
> qat_pf2vf_exch_msg(): ACK not received from remote
[Regression Potential]
The patches enable new code for this kind of device only.
It is living in linux for more than 1 years.
The potential regressions are low.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2019543/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp