diff --git a/patches/0015-ignore-paravirt-patch-site-for-kernel-6.8.patch b/patches/0015-ignore-paravirt-patch-site-for-kernel-6.8.patch new file mode 100644 index 0000000000000000000000000000000000000000..5b93c8ca0162f5d63d60a718850a149beede969b --- /dev/null +++ b/patches/0015-ignore-paravirt-patch-site-for-kernel-6.8.patch @@ -0,0 +1,22 @@ +From d59a281ad3aaa3c9fa041f55bd0fab4fb58443c6 Mon Sep 17 00:00:00 2001 +From: Yongde Zhang +Date: Thu, 1 Aug 2024 23:46:04 +0800 +Subject: [PATCH] ignore paravirt patch site for kernel >= 6.8 + + +diff --git a/kpatch-build/kpatch-build b/kpatch-build/kpatch-build +index 2c55156..f0ae30c 100755 +--- a/kpatch-build/kpatch-build ++++ b/kpatch-build/kpatch-build +@@ -425,7 +425,7 @@ find_special_section_data() { + "x86_64") + check[a]=true # alt_instr + kernel_version_gte 5.10.0 && check[s]=true # static_call_site +- [[ -n "$CONFIG_PARAVIRT" ]] && check[p]=true # paravirt_patch_site ++ [[ -n "$CONFIG_PARAVIRT" ]] && ! kernel_version_gte 6.8.0 && check[p]=true # paravirt_patch_site + ;; + "ppc64le") + check[f]=true # fixup_entry +-- +2.18.2 +