Hi Juraj, Sorry for the late reply. So, yes I applied those diffs and set the QAT modules to =y in the .config file when building the custom kernel. It appears to have worked correctly. The qat module is now built into the new kernel running on the ampere server (called 5.15.82+). You can see it listed on modules.builtin and from modinfo. probb@arm-ampere-dut:~$ modinfo qat_c62x name: qat_c62x filename: (builtin) version: 0.6.0 description: Intel(R) QuickAssist Technology firmware: qat_c62x_mmp.bin firmware: qat_c62x.bin author: Intel license: Dual BSD/GPL file: drivers/crypto/qat/qat_c62x/qat_c62x And there is a /sys/bus/pci/drivers/c6xx/(pci address)/sriov_numvfs path now so that's good. However, when trying to create the VFs for the 3 PFs on the card, a segmentation fault was returned the first time, and on subsequent tries it hangs now. So like: root@arm-ampere-dut:~# lspci -d:37c8 0000:03:00.0 Co-processor: Intel Corporation C62x Chipset QuickAssist Technology (rev 04) 0000:04:00.0 Co-processor: Intel Corporation C62x Chipset QuickAssist Technology (rev 04) 0000:05:00.0 Co-processor: Intel Corporation C62x Chipset QuickAssist Technology (rev 04) root@arm-ampere-dut:~# echo 16 > /sys/bus/pci/drivers/c6xx/0000:03:00.0/sriov_numvfs The sriov_numvfs file should be writable from root so I'm a bit perplexed. I am wondering whether it is relevant to statically build in the qat_c62x module with the kernel, vs having it be a loadable driver? What do you do? On Mon, Sep 11, 2023 at 4:13 AM Juraj Linkeš wrote: > Hi Patrick, > > This is good news. How does the server fare after the restart? > > Juraj > > On Fri, Sep 1, 2023 at 11:30 PM Patrick Robb wrote: > >> Thanks Juraj, >> >> I did bring the system to 22.04 based on our conversation from yesterday. >> From there and from checking out to the new current kernel >> (5.15.0-82-generic) yes the diffs cleanly apply, removing the x86 >> dependency on the QAT kernel drivers, and then you can make the kernel, >> enabling the QAT driver. It looks like that all worked fine. >> >> I didn't actually install and reboot with the custom kernel today because >> I don't want to do that with a production server right before the weekend, >> particularly with USA having a holiday on Monday. I will reboot with the >> custom kernel on Tuesday morning though, and then hopefully the >> compress/crypto testsuites on QAT will be unblocked. Thanks, the guidance >> is greatly appreciated. >> >> Best, >> Patrick >> >> -- Patrick Robb Technical Service Manager UNH InterOperability Laboratory 21 Madbury Rd, Suite 100, Durham, NH 03824 www.iol.unh.edu