CC: [email protected] CC: [email protected] TO: Peter Zijlstra <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/wip.umcg head: 90712a68ed7dfc7f7f099167c58f0f45c1b81da8 commit: 90712a68ed7dfc7f7f099167c58f0f45c1b81da8 [6/6] sched: User Mode Concurency Groups :::::: branch date: 32 hours ago :::::: commit date: 32 hours ago config: x86_64-randconfig-m001-20220117 (https://download.01.org/0day-ci/archive/20220122/[email protected]/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> smatch warnings: include/linux/entry-common.h:245 irqentry_irq_disable() warn: bitwise AND condition is false here include/linux/entry-common.h:232 irqentry_irq_enable() warn: bitwise AND condition is false here vim +245 include/linux/entry-common.h a9f3a74a29af09 Thomas Gleixner 2020-07-22 221 f695568dc39e5b Peter Zijlstra 2022-01-20 222 /** f695568dc39e5b Peter Zijlstra 2022-01-20 223 * irqentry_irq_enable - Conditionally enable IRQs from exceptions f695568dc39e5b Peter Zijlstra 2022-01-20 224 * f695568dc39e5b Peter Zijlstra 2022-01-20 225 * Common code for exceptions to (re)enable IRQs, typically done to allow f695568dc39e5b Peter Zijlstra 2022-01-20 226 * from-user exceptions to schedule (since they run on the task stack). f695568dc39e5b Peter Zijlstra 2022-01-20 227 */ f695568dc39e5b Peter Zijlstra 2022-01-20 228 static inline void irqentry_irq_enable(struct pt_regs *regs) f695568dc39e5b Peter Zijlstra 2022-01-20 229 { 90712a68ed7dfc Peter Zijlstra 2021-12-14 230 if (!regs_irqs_disabled(regs)) { f695568dc39e5b Peter Zijlstra 2022-01-20 231 local_irq_enable(); 90712a68ed7dfc Peter Zijlstra 2021-12-14 @232 if (user_mode(regs) && (current->flags & PF_UMCG_WORKER)) 90712a68ed7dfc Peter Zijlstra 2021-12-14 233 umcg_sys_enter(regs, -1); 90712a68ed7dfc Peter Zijlstra 2021-12-14 234 } f695568dc39e5b Peter Zijlstra 2022-01-20 235 } f695568dc39e5b Peter Zijlstra 2022-01-20 236 f695568dc39e5b Peter Zijlstra 2022-01-20 237 /** f695568dc39e5b Peter Zijlstra 2022-01-20 238 * irqentry_irq_disable - Conditionally disable IRQs from exceptions f695568dc39e5b Peter Zijlstra 2022-01-20 239 * f695568dc39e5b Peter Zijlstra 2022-01-20 240 * Counterpart of irqentry_irq_enable(). f695568dc39e5b Peter Zijlstra 2022-01-20 241 */ f695568dc39e5b Peter Zijlstra 2022-01-20 242 static inline void irqentry_irq_disable(struct pt_regs *regs) f695568dc39e5b Peter Zijlstra 2022-01-20 243 { 90712a68ed7dfc Peter Zijlstra 2021-12-14 244 if (!regs_irqs_disabled(regs)) { 90712a68ed7dfc Peter Zijlstra 2021-12-14 @245 if (user_mode(regs) && (current->flags & PF_UMCG_WORKER)) 90712a68ed7dfc Peter Zijlstra 2021-12-14 246 umcg_sys_exit(regs); f695568dc39e5b Peter Zijlstra 2022-01-20 247 local_irq_disable(); f695568dc39e5b Peter Zijlstra 2022-01-20 248 } 90712a68ed7dfc Peter Zijlstra 2021-12-14 249 } f695568dc39e5b Peter Zijlstra 2022-01-20 250 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected] _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
