From 78c43c2078e292ac9b53d2d6a41a47466d283914 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 30 Aug 2020 20:02:14 +0200 Subject: Kernel: T2843: upgrade Kernel to v5.8.5 Note: Intel does not provide a compatible QAT version. There is a custom patch which make QAT compile for the specified Kernel version. This patch will change the source to a non backwards-compatible version - this is fine as we run 5.8 anyways. --- packages/linux-kernel/build-intel-qat.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'packages/linux-kernel/build-intel-qat.sh') diff --git a/packages/linux-kernel/build-intel-qat.sh b/packages/linux-kernel/build-intel-qat.sh index d4da3a4e..1244273e 100755 --- a/packages/linux-kernel/build-intel-qat.sh +++ b/packages/linux-kernel/build-intel-qat.sh @@ -10,7 +10,7 @@ fi . ${KERNEL_VAR_FILE} declare -a intel=( - "https://01.org/sites/default/files/downloads/qat1.7.l.4.9.0-00008.tar_0.gz" + "https://01.org/sites/default/files/downloads//qat1.7.l.4.10.0-00014.tar.gz" ) for url in "${intel[@]}" @@ -50,6 +50,15 @@ do exit 1 fi + # Intel QAT drivers are not ported to the latest Linux Kernel API :( + # this is done by our custom patch. + PATCH_DIR=${CWD}/patches/intel-qat + for patch in $(ls ${PATCH_DIR}) + do + echo "I: Apply Intel QAT patch: ${PATCH_DIR}/${patch}" + patch -p1 < ${PATCH_DIR}/${patch} + done + echo "I: Compile Kernel module for Intel ${DRIVER_NAME} driver" mkdir -p ${DEBIAN_DIR}/lib/firmware ${DEBIAN_DIR}/usr/local/bin ${DEBIAN_DIR}/usr/lib/x86_64-linux-gnu ${DEBIAN_DIR}/etc/init.d KERNEL_SOURCE_ROOT=${KERNEL_DIR} ./configure --enable-kapi -- cgit v1.2.3