From: kernel test robot <lkp@intel.com>
To: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH 2/3] tracing: Record task flag NEED_RESCHED_LAZY.
Date: Sun, 13 Oct 2024 02:30:34 +0800 [thread overview]
Message-ID: <202410130231.L7iGIO8b-lkp@intel.com> (raw)
In-Reply-To: <20241009105709.887510-3-bigeasy@linutronix.de>
Hi Sebastian,
kernel test robot noticed the following build errors:
[auto build test ERROR on linus/master]
[also build test ERROR on rostedt-trace/for-next v6.12-rc2 next-20241011]
[cannot apply to rostedt-trace/for-next-urgent]
[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/Sebastian-Andrzej-Siewior/tracing-Replace-TRACE_FLAG_IRQS_NOSUPPORT-with-its-config-option/20241011-002703
base: linus/master
patch link: https://lore.kernel.org/r/20241009105709.887510-3-bigeasy%40linutronix.de
patch subject: [PATCH 2/3] tracing: Record task flag NEED_RESCHED_LAZY.
config: arm64-randconfig-002-20241012 (https://download.01.org/0day-ci/archive/20241013/202410130231.L7iGIO8b-lkp@intel.com/config)
compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241013/202410130231.L7iGIO8b-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/oe-kbuild-all/202410130231.L7iGIO8b-lkp@intel.com/
All errors (new ones prefixed by >>):
>> kernel/trace/trace.c:2547:6: error: call to undeclared function 'tif_test_bit'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
if (tif_test_bit(TIF_NEED_RESCHED_LAZY))
^
kernel/trace/trace.c:2547:19: error: use of undeclared identifier 'TIF_NEED_RESCHED_LAZY'
if (tif_test_bit(TIF_NEED_RESCHED_LAZY))
^
2 errors generated.
vim +/tif_test_bit +2547 kernel/trace/trace.c
2526
2527 unsigned int tracing_gen_ctx_irq_test(unsigned int irqs_status)
2528 {
2529 unsigned int trace_flags = irqs_status;
2530 unsigned int pc;
2531
2532 pc = preempt_count();
2533
2534 if (pc & NMI_MASK)
2535 trace_flags |= TRACE_FLAG_NMI;
2536 if (pc & HARDIRQ_MASK)
2537 trace_flags |= TRACE_FLAG_HARDIRQ;
2538 if (in_serving_softirq())
2539 trace_flags |= TRACE_FLAG_SOFTIRQ;
2540 if (softirq_count() >> (SOFTIRQ_SHIFT + 1))
2541 trace_flags |= TRACE_FLAG_BH_OFF;
2542
2543 if (tif_need_resched())
2544 trace_flags |= TRACE_FLAG_NEED_RESCHED;
2545 if (test_preempt_need_resched())
2546 trace_flags |= TRACE_FLAG_PREEMPT_RESCHED;
> 2547 if (tif_test_bit(TIF_NEED_RESCHED_LAZY))
2548 trace_flags |= TRACE_FLAG_NEED_RESCHED_LAZY;
2549 return (trace_flags << 16) | (min_t(unsigned int, pc & 0xff, 0xf)) |
2550 (min_t(unsigned int, migration_disable_value(), 0xf)) << 4;
2551 }
2552
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-10-12 18:31 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-09 10:50 [PATCH 0/3] Lazy preemption leftovers Sebastian Andrzej Siewior
2024-10-09 10:50 ` [PATCH 1/3] tracing: Replace TRACE_FLAG_IRQS_NOSUPPORT with its config option Sebastian Andrzej Siewior
2024-10-09 10:50 ` [PATCH 2/3] tracing: Record task flag NEED_RESCHED_LAZY Sebastian Andrzej Siewior
2024-10-09 14:25 ` Steven Rostedt
2024-10-09 17:30 ` Ankur Arora
2024-10-09 17:33 ` Steven Rostedt
2024-10-09 18:49 ` Ankur Arora
2024-10-10 10:56 ` Sebastian Andrzej Siewior
2024-10-10 14:52 ` Steven Rostedt
2024-10-10 14:55 ` Sebastian Andrzej Siewior
2024-10-12 18:30 ` kernel test robot [this message]
2024-10-16 9:17 ` Shrikanth Hegde
2024-10-09 10:50 ` [PATCH 3/3] riscv: add PREEMPT_LAZY support Sebastian Andrzej Siewior
2024-10-09 10:50 ` Sebastian Andrzej Siewior
2024-10-09 13:03 ` Peter Zijlstra
2024-10-09 13:03 ` Peter Zijlstra
2024-10-09 13:05 ` Sebastian Andrzej Siewior
2024-10-09 13:05 ` Sebastian Andrzej Siewior
2024-10-17 21:49 ` Palmer Dabbelt
2024-10-17 21:49 ` Palmer Dabbelt
2024-10-10 12:25 ` [PATCH v2 " Sebastian Andrzej Siewior
2024-10-10 12:25 ` Sebastian Andrzej Siewior
2024-12-11 22:32 ` patchwork-bot+linux-riscv
2024-12-11 22:32 ` patchwork-bot+linux-riscv
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202410130231.L7iGIO8b-lkp@intel.com \
--to=lkp@intel.com \
--cc=bigeasy@linutronix.de \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.