lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sat, 14 May 2022 23:53:10 +0800
From:   kernel test robot <lkp@...el.com>
To:     Nicolas Saenz Julienne <nsaenzju@...hat.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [nsaenz-rpi:ct-work-defer-wip 25/25]
 arch/x86/mm/pat/set_memory.c:351:61: error: 'CONTEXT_WORK_CACHEI' undeclared

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/nsaenz/linux-rpi.git ct-work-defer-wip
head:   ed63029652239a6befad96dd473b16332913f889
commit: ed63029652239a6befad96dd473b16332913f889 [25/25] context_tracking,x86: Fix Kernel cachei vs NOHZ_FULL
config: i386-randconfig-a001 (https://download.01.org/0day-ci/archive/20220514/202205142340.HRC7ItUJ-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/nsaenz/linux-rpi.git/commit/?id=ed63029652239a6befad96dd473b16332913f889
        git remote add nsaenz-rpi https://git.kernel.org/pub/scm/linux/kernel/git/nsaenz/linux-rpi.git
        git fetch --no-tags nsaenz-rpi ct-work-defer-wip
        git checkout ed63029652239a6befad96dd473b16332913f889
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

   arch/x86/mm/pat/set_memory.c: In function '__cpa_flush_all_cond':
   arch/x86/mm/pat/set_memory.c:351:41: error: 'CONTEXT_WORK_TLBI' undeclared (first use in this function)
     351 |                                         CONTEXT_WORK_TLBI | CONTEXT_WORK_CACHEI);
         |                                         ^~~~~~~~~~~~~~~~~
   arch/x86/mm/pat/set_memory.c:351:41: note: each undeclared identifier is reported only once for each function it appears in
>> arch/x86/mm/pat/set_memory.c:351:61: error: 'CONTEXT_WORK_CACHEI' undeclared (first use in this function)
     351 |                                         CONTEXT_WORK_TLBI | CONTEXT_WORK_CACHEI);
         |                                                             ^~~~~~~~~~~~~~~~~~~
   arch/x86/mm/pat/set_memory.c: In function '__cpa_flush_tlb_cond':
   arch/x86/mm/pat/set_memory.c:373:47: error: 'CONTEXT_WORK_TLBI' undeclared (first use in this function)
     373 |                                               CONTEXT_WORK_TLBI);
         |                                               ^~~~~~~~~~~~~~~~~
   arch/x86/mm/pat/set_memory.c: In function '__cpa_flush_all_cond':
   arch/x86/mm/pat/set_memory.c:352:1: error: control reaches end of non-void function [-Werror=return-type]
     352 | }
         | ^
   arch/x86/mm/pat/set_memory.c: In function '__cpa_flush_tlb_cond':
   arch/x86/mm/pat/set_memory.c:374:1: error: control reaches end of non-void function [-Werror=return-type]
     374 | }
         | ^
   cc1: some warnings being treated as errors


vim +/CONTEXT_WORK_CACHEI +351 arch/x86/mm/pat/set_memory.c

   347	
   348	static bool __cpa_flush_all_cond(int cpu, void *info)
   349	{
   350		return !context_tracking_set_cpu_work(cpu, CONTEXT_USER | CONTEXT_GUEST,
 > 351						CONTEXT_WORK_TLBI | CONTEXT_WORK_CACHEI);
   352	}
   353	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ