Hi Juraj,
Thanks for the guidance. The kernel version in use on the Ampere server currently is 5.4.0-155-generic. The tags for the 22.04 repo you suggested only include 5.15 kernel versions, so I can't checkout to the currently running kernel per your recommendation. I figure the idea behind checking out to the kernel currently running is to maintain the current state as much as possible, and ensure the currently running kernel config could be re-used. If I instead clone the 20.04/focal repo I can checkout to 5.4.0-155, but the diffs you shared do not cleanly apply.
On the other hand, from looking directly at the files on Jammy/5.15[1], it looks like the qat diffs (
https://lkml.org/lkml/2022/6/17/328) have already reached that kernel version. If indeed applying these diffs is not needed in this case, is there any reason why I shouldn't just re-build the kernel from here? I don't want to do this (and necessarily advance the kernel version from 5.4 to 5.15) without asking you since I don't know what the negative implications of this action may be, if any.