All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/2] bpf, x86: Restrict BPF JIT IBPB flush to CPUs that ran BPF
@ 2026-12-04 13:44 Viktor Malik
  2026-12-04 13:44 ` [PATCH bpf-next 1/2] bpf: Track CPUs that have executed a BPF program Viktor Malik
                   ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: Viktor Malik @ 2026-12-04 13:44 UTC (permalink / raw)
  To: bpf
  Cc: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
	Eduard Zingerman, Kumar Kartikeya Dwivedi, Martin KaFai Lau,
	Song Liu, Yonghong Song, Jiri Olsa, Emil Tsalapatis,
	Ihor Solodrai, John Fastabend, Thomas Gleixner, Borislav Petkov,
	Peter Zijlstra, Josh Poimboeuf, Pawan Gupta, Ingo Molnar,
	Dave Hansen, x86, H. Peter Anvin, Valentin Schneider,
	Tomas Glozar, Viktor Malik

Hi,

we have recently started observing latency spikes on systems with
isolated CPUs when classic BPF programs were running in the background
(e.g. executed by NetworkManager or seccomp). The latencies are caused
by the BPF JIT-spraying mitigation introduced by commit 96cce16e26dd
("bpf: Support for hardening against JIT spraying") and its follow-ups.
The reason is that the IBPB flush is currently broadcast to every online
CPU, including the isolated ones that never run BPF programs.

While recent changes [1] have significantly decreased the frequency of
the IBPB flushes, they haven't eliminated them completely, which still
poses a serious problem for latency-sensitive workloads.

This patch series implement one of the ideas from a9b1f19a6a67 ("bpf:
Prefer packs that won't trigger an IBPB flush on allocation") and
introduce a mechanism to completely avoid the IBPB flushes on CPUs that
have not run any BPF program since the last flush. This is sound because
the original Spectre-v2 vulnerability is only exploitable if a cBPF
program runs on a CPU that previously ran any BPF program (and therefore
can reuse the branch predictors trained on the previous program).

Patch #1 introduces a new per-cpu flag bpf_prog_ran, which records that
a CPU executed any BPF program, and patch #2 restricts the IBPB flushes
on x86 to CPUs that have the flag set. This way, the isolated CPUs that
never run any BPF programs do not receive the unnecessary flushes.

[1] https://lore.kernel.org/bpf/cover.1796304466.git.xukuohai@huawei.com/

Viktor Malik (2):
  bpf: Track CPUs that have executed a BPF program
  x86/bugs: Restrict BPF JIT IBPB flush to CPUs that ran BPF

 arch/x86/kernel/cpu/bugs.c |  8 +++++++-
 include/linux/filter.h     | 27 ++++++++++++++++++++++++++-
 kernel/bpf/core.c          |  8 ++++++++
 kernel/bpf/trampoline.c    |  5 +++++
 4 files changed, 46 insertions(+), 2 deletions(-)

-- 
2.56.1


^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [PATCH bpf-next 1/2] bpf: Track CPUs that have executed a BPF program
@ 2026-12-05  9:55 kernel test robot
  0 siblings, 0 replies; 21+ messages in thread
From: kernel test robot @ 2026-12-05  9:55 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "too many reports for this commit"
:::::: 

BCC: lkp@intel.com
CC: llvm@lists.linux.dev
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <5cf89312e3fea4409dc1fc9da6aa37b1e7a7f3b5.1796391323.git.vmalik@redhat.com>
References: <5cf89312e3fea4409dc1fc9da6aa37b1e7a7f3b5.1796391323.git.vmalik@redhat.com>
TO: Viktor Malik <vmalik@redhat.com>
TO: bpf@vger.kernel.org
CC: Alexei Starovoitov <ast@kernel.org>
CC: Daniel Borkmann <daniel@iogearbox.net>
CC: Andrii Nakryiko <andrii@kernel.org>
CC: Eduard Zingerman <eddyz87@gmail.com>
CC: Kumar Kartikeya Dwivedi <memxor@gmail.com>
CC: Martin KaFai Lau <martin.lau@linux.dev>
CC: Song Liu <song@kernel.org>
CC: Yonghong Song <yonghong.song@linux.dev>
CC: Jiri Olsa <jolsa@kernel.org>
CC: Emil Tsalapatis <emil@etsalapatis.com>
CC: Ihor Solodrai <ihor.solodrai@linux.dev>
CC: John Fastabend <john.fastabend@gmail.com>
CC: Thomas Gleixner <tglx@kernel.org>
CC: Borislav Petkov <bp@alien8.de>
CC: Peter Zijlstra <peterz@infradead.org>
CC: Josh Poimboeuf <jpoimboe@kernel.org>
CC: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
CC: Ingo Molnar <mingo@redhat.com>
CC: Dave Hansen <dave.hansen@linux.intel.com>
CC: x86@kernel.org
CC: "H. Peter Anvin" <hpa@zytor.com>
CC: Valentin Schneider <vschneid@redhat.com>
CC: Tomas Glozar <tglozar@redhat.com>
CC: Viktor Malik <vmalik@redhat.com>

Hi Viktor,

kernel test robot noticed the following build errors:

[auto build test ERROR on bpf-next/master]
[also build test ERROR on linux-review/Xu-Kuohai/bpf-Invalidate-freed-prog-pack-memory-without-holding-pack_mutex/20261203-140921 next-20261203]
[cannot apply to bpf/master tip/x86/core linus/master v7.4-rc5]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Viktor-Malik/bpf-Track-CPUs-that-have-executed-a-BPF-program/20261204-144401
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
patch link:    https://lore.kernel.org/r/5cf89312e3fea4409dc1fc9da6aa37b1e7a7f3b5.1796391323.git.vmalik%40redhat.com
patch subject: [PATCH bpf-next 1/2] bpf: Track CPUs that have executed a BPF program
:::::: branch date: 6 hours ago
:::::: commit date: 6 hours ago
config: mips-ath25_defconfig (https://download.01.org/0day-ci/archive/20261205/20261205035845.BGvjUosK-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 63b30c97f6082ebf34b31bdd81bb50df7672b67b)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261205/20261205035845.BGvjUosK-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261205035845.BGvjUosK-lkp@intel.com/

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: bpf_pred_flush_enabled
   >>> referenced by bpf_filter.c
   >>>               io_uring/bpf_filter.o:(__io_uring_run_bpf_filters) in archive vmlinux.a
   >>> referenced by bpf_filter.c
   >>>               io_uring/bpf_filter.o:(__io_uring_run_bpf_filters) in archive vmlinux.a
   >>> referenced by flow_dissector.c
   >>>               net/core/flow_dissector.o:(bpf_flow_dissect) in archive vmlinux.a
   >>> referenced 13 more times
--
>> ld.lld: error: undefined symbol: bpf_prog_ran
   >>> referenced by bpf_filter.c
   >>>               io_uring/bpf_filter.o:(__io_uring_run_bpf_filters) in archive vmlinux.a
   >>> referenced by bpf_filter.c
   >>>               io_uring/bpf_filter.o:(__io_uring_run_bpf_filters) in archive vmlinux.a
   >>> referenced by bpf_filter.c
   >>>               io_uring/bpf_filter.o:(__io_uring_run_bpf_filters) in archive vmlinux.a
   >>> referenced 23 more times

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [PATCH bpf-next 1/2] bpf: Track CPUs that have executed a BPF program
@ 2026-12-05  9:55 kernel test robot
  0 siblings, 0 replies; 21+ messages in thread
From: kernel test robot @ 2026-12-05  9:55 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "too many reports for this commit"
:::::: 

BCC: lkp@intel.com
CC: llvm@lists.linux.dev
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <5cf89312e3fea4409dc1fc9da6aa37b1e7a7f3b5.1796391323.git.vmalik@redhat.com>
References: <5cf89312e3fea4409dc1fc9da6aa37b1e7a7f3b5.1796391323.git.vmalik@redhat.com>
TO: Viktor Malik <vmalik@redhat.com>
TO: bpf@vger.kernel.org
CC: Alexei Starovoitov <ast@kernel.org>
CC: Daniel Borkmann <daniel@iogearbox.net>
CC: Andrii Nakryiko <andrii@kernel.org>
CC: Eduard Zingerman <eddyz87@gmail.com>
CC: Kumar Kartikeya Dwivedi <memxor@gmail.com>
CC: Martin KaFai Lau <martin.lau@linux.dev>
CC: Song Liu <song@kernel.org>
CC: Yonghong Song <yonghong.song@linux.dev>
CC: Jiri Olsa <jolsa@kernel.org>
CC: Emil Tsalapatis <emil@etsalapatis.com>
CC: Ihor Solodrai <ihor.solodrai@linux.dev>
CC: John Fastabend <john.fastabend@gmail.com>
CC: Thomas Gleixner <tglx@kernel.org>
CC: Borislav Petkov <bp@alien8.de>
CC: Peter Zijlstra <peterz@infradead.org>
CC: Josh Poimboeuf <jpoimboe@kernel.org>
CC: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
CC: Ingo Molnar <mingo@redhat.com>
CC: Dave Hansen <dave.hansen@linux.intel.com>
CC: x86@kernel.org
CC: "H. Peter Anvin" <hpa@zytor.com>
CC: Valentin Schneider <vschneid@redhat.com>
CC: Tomas Glozar <tglozar@redhat.com>
CC: Viktor Malik <vmalik@redhat.com>

Hi Viktor,

kernel test robot noticed the following build errors:

[auto build test ERROR on bpf-next/master]
[also build test ERROR on linux-review/Xu-Kuohai/bpf-Invalidate-freed-prog-pack-memory-without-holding-pack_mutex/20261203-140921 next-20261203]
[cannot apply to bpf/master tip/x86/core linus/master v7.4-rc5]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Viktor-Malik/bpf-Track-CPUs-that-have-executed-a-BPF-program/20261204-144401
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
patch link:    https://lore.kernel.org/r/5cf89312e3fea4409dc1fc9da6aa37b1e7a7f3b5.1796391323.git.vmalik%40redhat.com
patch subject: [PATCH bpf-next 1/2] bpf: Track CPUs that have executed a BPF program
:::::: branch date: 9 hours ago
:::::: commit date: 9 hours ago
config: um-defconfig (https://download.01.org/0day-ci/archive/20261205/20261205063005.WWNb6AQm-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 63b30c97f6082ebf34b31bdd81bb50df7672b67b)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261205/20261205063005.WWNb6AQm-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261205063005.WWNb6AQm-lkp@intel.com/

All errors (new ones prefixed by >>, old ones prefixed by <<):

>> ERROR: modpost: drivers/net/tun.ko: symbol 'bpf_pred_flush_enabled' undefined!
>> ERROR: modpost: drivers/net/tun.ko: symbol 'bpf_prog_ran' undefined!

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [PATCH bpf-next 1/2] bpf: Track CPUs that have executed a BPF program
@ 2026-12-05  9:55 kernel test robot
  0 siblings, 0 replies; 21+ messages in thread
From: kernel test robot @ 2026-12-05  9:55 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "too many reports for this commit"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <5cf89312e3fea4409dc1fc9da6aa37b1e7a7f3b5.1796391323.git.vmalik@redhat.com>
References: <5cf89312e3fea4409dc1fc9da6aa37b1e7a7f3b5.1796391323.git.vmalik@redhat.com>
TO: Viktor Malik <vmalik@redhat.com>
TO: bpf@vger.kernel.org
CC: Alexei Starovoitov <ast@kernel.org>
CC: Daniel Borkmann <daniel@iogearbox.net>
CC: Andrii Nakryiko <andrii@kernel.org>
CC: Eduard Zingerman <eddyz87@gmail.com>
CC: Kumar Kartikeya Dwivedi <memxor@gmail.com>
CC: Martin KaFai Lau <martin.lau@linux.dev>
CC: Song Liu <song@kernel.org>
CC: Yonghong Song <yonghong.song@linux.dev>
CC: Jiri Olsa <jolsa@kernel.org>
CC: Emil Tsalapatis <emil@etsalapatis.com>
CC: Ihor Solodrai <ihor.solodrai@linux.dev>
CC: John Fastabend <john.fastabend@gmail.com>
CC: Thomas Gleixner <tglx@kernel.org>
CC: Borislav Petkov <bp@alien8.de>
CC: Peter Zijlstra <peterz@infradead.org>
CC: Josh Poimboeuf <jpoimboe@kernel.org>
CC: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
CC: Ingo Molnar <mingo@redhat.com>
CC: Dave Hansen <dave.hansen@linux.intel.com>
CC: x86@kernel.org
CC: "H. Peter Anvin" <hpa@zytor.com>
CC: Valentin Schneider <vschneid@redhat.com>
CC: Tomas Glozar <tglozar@redhat.com>
CC: Viktor Malik <vmalik@redhat.com>

Hi Viktor,

kernel test robot noticed the following build errors:

[auto build test ERROR on bpf-next/master]
[also build test ERROR on linux-review/Xu-Kuohai/bpf-Invalidate-freed-prog-pack-memory-without-holding-pack_mutex/20261203-140921 next-20261203]
[cannot apply to bpf/master tip/x86/core linus/master v7.4-rc5]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Viktor-Malik/bpf-Track-CPUs-that-have-executed-a-BPF-program/20261204-144401
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
patch link:    https://lore.kernel.org/r/5cf89312e3fea4409dc1fc9da6aa37b1e7a7f3b5.1796391323.git.vmalik%40redhat.com
patch subject: [PATCH bpf-next 1/2] bpf: Track CPUs that have executed a BPF program
:::::: branch date: 10 hours ago
:::::: commit date: 10 hours ago
config: i386-randconfig-1000-20261204 (https://download.01.org/0day-ci/archive/20261205/20261205072951.hlxr7yKH-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.4.0-5) 12.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261205/20261205072951.hlxr7yKH-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261205072951.hlxr7yKH-lkp@intel.com/

All errors (new ones prefixed by >>, old ones prefixed by <<):

>> ERROR: modpost: drivers/net/virtio_net.ko: symbol 'bpf_pred_flush_enabled' undefined!
>> ERROR: modpost: drivers/net/virtio_net.ko: symbol 'bpf_prog_ran' undefined!

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [PATCH bpf-next 1/2] bpf: Track CPUs that have executed a BPF program
@ 2026-12-05  9:55 kernel test robot
  0 siblings, 0 replies; 21+ messages in thread
From: kernel test robot @ 2026-12-05  9:55 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "too many reports for this commit"
:::::: 

BCC: lkp@intel.com
CC: llvm@lists.linux.dev
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <5cf89312e3fea4409dc1fc9da6aa37b1e7a7f3b5.1796391323.git.vmalik@redhat.com>
References: <5cf89312e3fea4409dc1fc9da6aa37b1e7a7f3b5.1796391323.git.vmalik@redhat.com>
TO: Viktor Malik <vmalik@redhat.com>
TO: bpf@vger.kernel.org
CC: Alexei Starovoitov <ast@kernel.org>
CC: Daniel Borkmann <daniel@iogearbox.net>
CC: Andrii Nakryiko <andrii@kernel.org>
CC: Eduard Zingerman <eddyz87@gmail.com>
CC: Kumar Kartikeya Dwivedi <memxor@gmail.com>
CC: Martin KaFai Lau <martin.lau@linux.dev>
CC: Song Liu <song@kernel.org>
CC: Yonghong Song <yonghong.song@linux.dev>
CC: Jiri Olsa <jolsa@kernel.org>
CC: Emil Tsalapatis <emil@etsalapatis.com>
CC: Ihor Solodrai <ihor.solodrai@linux.dev>
CC: John Fastabend <john.fastabend@gmail.com>
CC: Thomas Gleixner <tglx@kernel.org>
CC: Borislav Petkov <bp@alien8.de>
CC: Peter Zijlstra <peterz@infradead.org>
CC: Josh Poimboeuf <jpoimboe@kernel.org>
CC: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
CC: Ingo Molnar <mingo@redhat.com>
CC: Dave Hansen <dave.hansen@linux.intel.com>
CC: x86@kernel.org
CC: "H. Peter Anvin" <hpa@zytor.com>
CC: Valentin Schneider <vschneid@redhat.com>
CC: Tomas Glozar <tglozar@redhat.com>
CC: Viktor Malik <vmalik@redhat.com>

Hi Viktor,

kernel test robot noticed the following build errors:

[auto build test ERROR on bpf-next/master]
[also build test ERROR on linux-review/Xu-Kuohai/bpf-Invalidate-freed-prog-pack-memory-without-holding-pack_mutex/20261203-140921 next-20261203]
[cannot apply to bpf/master tip/x86/core linus/master v7.4-rc5]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Viktor-Malik/bpf-Track-CPUs-that-have-executed-a-BPF-program/20261204-144401
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
patch link:    https://lore.kernel.org/r/5cf89312e3fea4409dc1fc9da6aa37b1e7a7f3b5.1796391323.git.vmalik%40redhat.com
patch subject: [PATCH bpf-next 1/2] bpf: Track CPUs that have executed a BPF program
:::::: branch date: 10 hours ago
:::::: commit date: 10 hours ago
config: sparc64-defconfig (https://download.01.org/0day-ci/archive/20261205/20261205073055.qJNZEdix-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 63b30c97f6082ebf34b31bdd81bb50df7672b67b)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261205/20261205073055.qJNZEdix-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261205073055.qJNZEdix-lkp@intel.com/

All errors (new ones prefixed by >>, old ones prefixed by <<):

>> ERROR: modpost: drivers/net/ppp/ppp_generic.ko: symbol 'bpf_pred_flush_enabled' undefined!
>> ERROR: modpost: drivers/net/ppp/ppp_generic.ko: symbol 'bpf_prog_ran' undefined!

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [PATCH bpf-next 1/2] bpf: Track CPUs that have executed a BPF program
@ 2026-12-05 13:07 kernel test robot
  0 siblings, 0 replies; 21+ messages in thread
From: kernel test robot @ 2026-12-05 13:07 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "too many reports for this commit"
:::::: 

BCC: lkp@intel.com
CC: llvm@lists.linux.dev
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <5cf89312e3fea4409dc1fc9da6aa37b1e7a7f3b5.1796391323.git.vmalik@redhat.com>
References: <5cf89312e3fea4409dc1fc9da6aa37b1e7a7f3b5.1796391323.git.vmalik@redhat.com>
TO: Viktor Malik <vmalik@redhat.com>
TO: bpf@vger.kernel.org
CC: Alexei Starovoitov <ast@kernel.org>
CC: Daniel Borkmann <daniel@iogearbox.net>
CC: Andrii Nakryiko <andrii@kernel.org>
CC: Eduard Zingerman <eddyz87@gmail.com>
CC: Kumar Kartikeya Dwivedi <memxor@gmail.com>
CC: Martin KaFai Lau <martin.lau@linux.dev>
CC: Song Liu <song@kernel.org>
CC: Yonghong Song <yonghong.song@linux.dev>
CC: Jiri Olsa <jolsa@kernel.org>
CC: Emil Tsalapatis <emil@etsalapatis.com>
CC: Ihor Solodrai <ihor.solodrai@linux.dev>
CC: John Fastabend <john.fastabend@gmail.com>
CC: Thomas Gleixner <tglx@kernel.org>
CC: Borislav Petkov <bp@alien8.de>
CC: Peter Zijlstra <peterz@infradead.org>
CC: Josh Poimboeuf <jpoimboe@kernel.org>
CC: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
CC: Ingo Molnar <mingo@redhat.com>
CC: Dave Hansen <dave.hansen@linux.intel.com>
CC: x86@kernel.org
CC: "H. Peter Anvin" <hpa@zytor.com>
CC: Valentin Schneider <vschneid@redhat.com>
CC: Tomas Glozar <tglozar@redhat.com>
CC: Viktor Malik <vmalik@redhat.com>

Hi Viktor,

kernel test robot noticed the following build errors:

[auto build test ERROR on bpf-next/master]
[also build test ERROR on linux-review/Xu-Kuohai/bpf-Invalidate-freed-prog-pack-memory-without-holding-pack_mutex/20261203-140921 next-20261204]
[cannot apply to bpf/master tip/x86/core linus/master v7.4-rc5]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Viktor-Malik/bpf-Track-CPUs-that-have-executed-a-BPF-program/20261204-144401
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
patch link:    https://lore.kernel.org/r/5cf89312e3fea4409dc1fc9da6aa37b1e7a7f3b5.1796391323.git.vmalik%40redhat.com
patch subject: [PATCH bpf-next 1/2] bpf: Track CPUs that have executed a BPF program
:::::: branch date: 23 hours ago
:::::: commit date: 23 hours ago
config: hexagon-randconfig-1000-20261204 (https://download.01.org/0day-ci/archive/20261205/20261205210325.VRjP89pz-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261205/20261205210325.VRjP89pz-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261205210325.VRjP89pz-lkp@intel.com/

All errors (new ones prefixed by >>, old ones prefixed by <<):

>> ERROR: modpost: drivers/net/ethernet/engleder/tsnep.ko: symbol 'bpf_pred_flush_enabled' undefined!
>> ERROR: modpost: drivers/net/ethernet/engleder/tsnep.ko: symbol 'bpf_prog_ran' undefined!
>> ERROR: modpost: drivers/net/ethernet/freescale/fec.ko: symbol 'bpf_pred_flush_enabled' undefined!
>> ERROR: modpost: drivers/net/ethernet/freescale/fec.ko: symbol 'bpf_prog_ran' undefined!
>> ERROR: modpost: drivers/net/ethernet/mediatek/mtk_eth.ko: symbol 'bpf_pred_flush_enabled' undefined!
>> ERROR: modpost: drivers/net/ethernet/mediatek/mtk_eth.ko: symbol 'bpf_prog_ran' undefined!
>> ERROR: modpost: drivers/net/team/team_mode_loadbalance.ko: symbol 'bpf_pred_flush_enabled' undefined!
>> ERROR: modpost: drivers/net/team/team_mode_loadbalance.ko: symbol 'bpf_prog_ran' undefined!
>> ERROR: modpost: net/sched/cls_bpf.ko: symbol 'bpf_pred_flush_enabled' undefined!
>> ERROR: modpost: net/sched/cls_bpf.ko: symbol 'bpf_prog_ran' undefined!

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2026-12-05 13:08 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04 13:44 [PATCH bpf-next 0/2] bpf, x86: Restrict BPF JIT IBPB flush to CPUs that ran BPF Viktor Malik
2026-12-04 13:44 ` [PATCH bpf-next 1/2] bpf: Track CPUs that have executed a BPF program Viktor Malik
2026-12-04 14:03   ` sashiko-bot
2026-12-04 15:22     ` Viktor Malik
2026-12-04 14:51   ` Valentin Schneider
2026-12-04 16:27   ` Dave Hansen
2026-12-04 16:45     ` Viktor Malik
2026-12-05  9:55   ` kernel test robot
2026-12-04 13:44 ` [PATCH bpf-next 2/2] x86/bugs: Restrict BPF JIT IBPB flush to CPUs that ran BPF Viktor Malik
2026-12-04 14:17   ` sashiko-bot
2026-12-04 15:33     ` Viktor Malik
2026-12-04 14:51   ` Valentin Schneider
2026-12-04 15:01 ` [PATCH bpf-next 0/2] bpf, x86: " Valentin Schneider
2026-12-04 16:37   ` Dave Hansen
2026-12-04 17:46     ` Valentin Schneider
2026-12-04 19:42       ` Alexei Starovoitov
  -- strict thread matches above, loose matches on Subject: below --
2026-12-05  9:55 [PATCH bpf-next 1/2] bpf: Track CPUs that have executed a BPF program kernel test robot
2026-12-05  9:55 kernel test robot
2026-12-05  9:55 kernel test robot
2026-12-05  9:55 kernel test robot
2026-12-05 13:07 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.