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]
Message-ID: <202210140610.iOmw126R-lkp@intel.com>
Date:   Fri, 14 Oct 2022 06:54:54 +0800
From:   kernel test robot <lkp@...el.com>
To:     Mark Rutland <mark.rutland@....com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [mark:arm64/ftrace/per-callsite-ops 2/10]
 arch/powerpc/kernel/vdso.c:402:1: error: 'text_section' attribute directive
 ignored

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git arm64/ftrace/per-callsite-ops
head:   6a9b9a69092588f97ba9a8486fd33b5c54bf3a8c
commit: 6f686ce2c62de43ca39fd219b9e38a2962bb353f [2/10] WIP: arm64: ftrace: use pre-function NOPs
config: powerpc-allnoconfig
compiler: powerpc-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/commit/?id=6f686ce2c62de43ca39fd219b9e38a2962bb353f
        git remote add mark https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
        git fetch --no-tags mark arm64/ftrace/per-callsite-ops
        git checkout 6f686ce2c62de43ca39fd219b9e38a2962bb353f
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash arch/powerpc/kernel/ arch/powerpc/lib/ arch/powerpc/mm/ mm/

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

All error/warnings (new ones prefixed by >>):

>> mm/early_ioremap.c:99:1: warning: 'text_section' attribute directive ignored [-Wattributes]
      99 | late_initcall(check_early_ioremap_leak);
         | ^~~~~~~~~~~~~
--
>> arch/powerpc/kernel/vdso.c:402:1: error: 'text_section' attribute directive ignored [-Werror=attributes]
     402 | arch_initcall(vdso_init);
         | ^~~~~~~~~~~~~
   cc1: all warnings being treated as errors
--
>> arch/powerpc/kernel/process.c:421:1: error: 'text_section' attribute directive ignored [-Werror=attributes]
     421 | early_initcall(init_msr_all_available);
         | ^~~~~~~~~~~~~~
   cc1: all warnings being treated as errors
--
>> arch/powerpc/kernel/idle.c:127:1: error: 'text_section' attribute directive ignored [-Werror=attributes]
     127 | __initcall(register_powersave_nap_sysctl);
         | ^~~~~~~~~~
   cc1: all warnings being treated as errors
--
>> arch/powerpc/kernel/sysfs.c:1175:1: error: 'text_section' attribute directive ignored [-Werror=attributes]
    1175 | subsys_initcall(topology_init);
         | ^~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors
--
>> arch/powerpc/kernel/kdebugfs.c:14:1: error: 'text_section' attribute directive ignored [-Werror=attributes]
      14 | arch_initcall(arch_kdebugfs_init);
         | ^~~~~~~~~~~~~
   cc1: all warnings being treated as errors
--
>> arch/powerpc/kernel/proc_powerpc.c:93:1: error: 'text_section' attribute directive ignored [-Werror=attributes]
      93 | core_initcall(proc_ppc64_create);
         | ^~~~~~~~~~~~~
   cc1: all warnings being treated as errors
--
>> arch/powerpc/kernel/setup_32.c:139:1: error: 'text_section' attribute directive ignored [-Werror=attributes]
     139 | arch_initcall(ppc_init);
         | ^~~~~~~~~~~~~
   cc1: all warnings being treated as errors
--
>> arch/powerpc/lib/feature-fixups.c:708:1: error: 'text_section' attribute directive ignored [-Werror=attributes]
     708 | late_initcall(check_features);
         | ^~~~~~~~~~~~~
   cc1: all warnings being treated as errors
--
>> arch/powerpc/mm/mem.c:383:1: error: 'text_section' attribute directive ignored [-Werror=attributes]
     383 | subsys_initcall(add_system_ram_resources);
         | ^~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors
--
>> arch/powerpc/mm/drmem.c:516:1: error: 'text_section' attribute directive ignored [-Werror=attributes]
     516 | late_initcall(drmem_init);
         | ^~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/text_section +402 arch/powerpc/kernel/vdso.c

fbe481756df576 Olof Johansson         2007-11-20  387  
a7f290dad32ee3 Benjamin Herrenschmidt 2005-11-11  388  	vdso_setup_syscall_map();
0909c8c2d547e4 Benjamin Herrenschmidt 2006-10-20  389  
a4ccd64acb8c08 Christophe Leroy       2020-09-27  390  	vdso_fixup_features();
a7f290dad32ee3 Benjamin Herrenschmidt 2005-11-11  391  
4fe0e3c1724e39 Christophe Leroy       2020-09-27  392  	if (IS_ENABLED(CONFIG_VDSO32))
c1bab64360e685 Christophe Leroy       2020-09-27  393  		vdso32_spec.pages = vdso_setup_pages(&vdso32_start, &vdso32_end);
c13e4ca247311c Roland McGrath         2007-02-08  394  
4fe0e3c1724e39 Christophe Leroy       2020-09-27  395  	if (IS_ENABLED(CONFIG_PPC64))
c1bab64360e685 Christophe Leroy       2020-09-27  396  		vdso64_spec.pages = vdso_setup_pages(&vdso64_start, &vdso64_end);
a7f290dad32ee3 Benjamin Herrenschmidt 2005-11-11  397  
7ac9a13717c10c Benjamin Herrenschmidt 2007-02-12  398  	smp_wmb();
7ac9a13717c10c Benjamin Herrenschmidt 2007-02-12  399  
7ac9a13717c10c Benjamin Herrenschmidt 2007-02-12  400  	return 0;
a7f290dad32ee3 Benjamin Herrenschmidt 2005-11-11  401  }
7ac9a13717c10c Benjamin Herrenschmidt 2007-02-12 @402  arch_initcall(vdso_init);

:::::: The code at line 402 was first introduced by commit
:::::: 7ac9a13717c10c5ee074a6b23096c8d277fa5712 [POWERPC] Fix vDSO page count calculation

:::::: TO: Benjamin Herrenschmidt <benh@...nel.crashing.org>
:::::: CC: Paul Mackerras <paulus@...ba.org>

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

View attachment "config" of type "text/plain" (30688 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ