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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202208310435.G07HW3ZF-lkp@intel.com>
Date:   Wed, 31 Aug 2022 04:36:48 +0800
From:   kernel test robot <lkp@...el.com>
To:     Matija Glavinic Pecotic <matija.glavinic-pecotic.ext@...ia.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        "Russell King (Oracle)" <rmk+kernel@...linux.org.uk>
Subject: [rmk-arm:for-next 5/7] arch/arm/mm/init.c:219: undefined reference
 to `phys_initrd_start'

tree:   git://git.armlinux.org.uk/~rmk/linux-arm for-next
head:   a72b4b3ba681398a3ac1c1384efb949bef3ac846
commit: b35b2736b43d7124e7da6a8050b8fd9e02f9f734 [5/7] ARM: 9230/1: Support initrd with address in boot alias region
config: arm-lubbock_defconfig (https://download.01.org/0day-ci/archive/20220831/202208310435.G07HW3ZF-lkp@intel.com/config)
compiler: arm-linux-gnueabi-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
        git remote add rmk-arm git://git.armlinux.org.uk/~rmk/linux-arm
        git fetch --no-tags rmk-arm for-next
        git checkout b35b2736b43d7124e7da6a8050b8fd9e02f9f734
        # 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=arm SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

   arm-linux-gnueabi-ld: arch/arm/mm/init.o: in function `arm_memblock_init':
>> arch/arm/mm/init.c:219: undefined reference to `phys_initrd_start'


vim +219 arch/arm/mm/init.c

b35b2736b43d71 Matija Glavinic Pecotic 2022-08-19  197  
3928624812dcfa Russell King            2017-01-16  198  void __init arm_memblock_init(const struct machine_desc *mdesc)
3928624812dcfa Russell King            2017-01-16  199  {
3928624812dcfa Russell King            2017-01-16  200  	/* Register the kernel text, kernel data and initrd with memblock. */
3928624812dcfa Russell King            2017-01-16  201  	memblock_reserve(__pa(KERNEL_START), KERNEL_END - KERNEL_START);
3928624812dcfa Russell King            2017-01-16  202  
b35b2736b43d71 Matija Glavinic Pecotic 2022-08-19  203  	sanitize_initrd_address();
e46e45f00d9ea5 Wang Kefeng             2021-12-22  204  	reserve_initrd_mem();
2778f62056ada4 Russell King            2010-07-09  205  
2778f62056ada4 Russell King            2010-07-09  206  	arm_mm_memblock_reserve();
2778f62056ada4 Russell King            2010-07-09  207  
8d717a52d1b095 Russell King            2010-05-22  208  	/* reserve any platform specific memblock areas */
8d717a52d1b095 Russell King            2010-05-22  209  	if (mdesc->reserve)
8d717a52d1b095 Russell King            2010-05-22  210  		mdesc->reserve();
8d717a52d1b095 Russell King            2010-05-22  211  
bcedb5f9bd7466 Marek Szyprowski        2014-02-28  212  	early_init_fdt_scan_reserved_mem();
bcedb5f9bd7466 Marek Szyprowski        2014-02-28  213  
99a468d779f685 George G. Davis         2015-01-16  214  	/* reserve memory for DMA contiguous allocations */
95b0e655f91488 Marek Szyprowski        2014-10-09  215  	dma_contiguous_reserve(arm_dma_limit);
c79095092834a1 Marek Szyprowski        2011-12-29  216  
716a3dc20084da Russell King            2012-01-13  217  	arm_memblock_steal_permitted = false;
2778f62056ada4 Russell King            2010-07-09  218  	memblock_dump_all();
2778f62056ada4 Russell King            2010-07-09 @219  }
2778f62056ada4 Russell King            2010-07-09  220  

:::::: The code at line 219 was first introduced by commit
:::::: 2778f62056ada442414392d7ccd41188bb631619 ARM: initial LMB trial

:::::: TO: Russell King <rmk+kernel@....linux.org.uk>
:::::: CC: Russell King <rmk+kernel@....linux.org.uk>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ