All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Andrew Lunn <andrew@lunn.ch>, netdev <netdev@vger.kernel.org>
Cc: kbuild-all@lists.01.org, Jakub Kicinski <kuba@kernel.org>,
	Masahiro Yamada <masahiroy@kernel.org>,
	Michal Marek <michal.lkml@markovi.net>,
	Rohit Maheshwari <rohitm@chelsio.com>,
	linux-kbuild@vger.kernel.org, clang-built-linux@googlegroups.com,
	Andrew Lunn <andrew@lunn.ch>
Subject: Re: [PATCH net-next v2 1/2] Makefile.extrawarn: Add symbol for W=1 warnings for today
Date: Fri, 2 Oct 2020 17:04:26 +0800	[thread overview]
Message-ID: <202010021635.K0DTzwtN-lkp@intel.com> (raw)
In-Reply-To: <20201001011232.4050282-2-andrew@lunn.ch>

[-- Attachment #1: Type: text/plain, Size: 10452 bytes --]

Hi Andrew,

I love your patch! Perhaps something to improve:

[auto build test WARNING on net-next/master]

url:    https://github.com/0day-ci/linux/commits/Andrew-Lunn/driver-net-ethernet-W-1-by-default/20201001-091431
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git e13dbc4f41db7f7b86f17a2efd7fbe19fc5b6d7a
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/0day-ci/linux/commit/b50d78df08d105cf0f0f2a1f4d2225656fd531cc
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Andrew-Lunn/driver-net-ethernet-W-1-by-default/20201001-091431
        git checkout b50d78df08d105cf0f0f2a1f4d2225656fd531cc
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

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

All warnings (new ones prefixed by >>):

>> drivers/firmware/efi/libstub/x86-stub.c:669:15: warning: no previous prototype for 'efi_main' [-Wmissing-prototypes]
     669 | unsigned long efi_main(efi_handle_t handle,
         |               ^~~~~~~~

vim +/efi_main +669 drivers/firmware/efi/libstub/x86-stub.c

291f36325f9f252 arch/x86/boot/compressed/eboot.c        Matt Fleming   2011-12-12  663  
9ca8f72a9297f20 arch/x86/boot/compressed/eboot.c        Matt Fleming   2012-07-19  664  /*
8acf63efa1712fa drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  665   * On success, we return the address of startup_32, which has potentially been
8acf63efa1712fa drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  666   * relocated by efi_relocate_kernel.
8acf63efa1712fa drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  667   * On failure, we exit to the firmware via efi_exit instead of returning.
9ca8f72a9297f20 arch/x86/boot/compressed/eboot.c        Matt Fleming   2012-07-19  668   */
8acf63efa1712fa drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08 @669  unsigned long efi_main(efi_handle_t handle,
c3710de5065d63f arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2019-12-24  670  			     efi_system_table_t *sys_table_arg,
796eb8d26a57f91 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-01-13  671  			     struct boot_params *boot_params)
9ca8f72a9297f20 arch/x86/boot/compressed/eboot.c        Matt Fleming   2012-07-19  672  {
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  673  	unsigned long bzimage_addr = (unsigned long)startup_32;
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  674  	unsigned long buffer_start, buffer_end;
9ca8f72a9297f20 arch/x86/boot/compressed/eboot.c        Matt Fleming   2012-07-19  675  	struct setup_header *hdr = &boot_params->hdr;
9ca8f72a9297f20 arch/x86/boot/compressed/eboot.c        Matt Fleming   2012-07-19  676  	efi_status_t status;
54b52d872680348 arch/x86/boot/compressed/eboot.c        Matt Fleming   2014-01-10  677  
ccc27ae77494252 drivers/firmware/efi/libstub/x86-stub.c Ard Biesheuvel 2020-04-16  678  	efi_system_table = sys_table_arg;
9ca8f72a9297f20 arch/x86/boot/compressed/eboot.c        Matt Fleming   2012-07-19  679  
9ca8f72a9297f20 arch/x86/boot/compressed/eboot.c        Matt Fleming   2012-07-19  680  	/* Check if we were booted by the EFI firmware */
ccc27ae77494252 drivers/firmware/efi/libstub/x86-stub.c Ard Biesheuvel 2020-04-16  681  	if (efi_system_table->hdr.signature != EFI_SYSTEM_TABLE_SIGNATURE)
3b8f44fc0810d51 drivers/firmware/efi/libstub/x86-stub.c Ard Biesheuvel 2020-02-16  682  		efi_exit(handle, EFI_INVALID_PARAMETER);
9ca8f72a9297f20 arch/x86/boot/compressed/eboot.c        Matt Fleming   2012-07-19  683  
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  684  	/*
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  685  	 * If the kernel isn't already loaded at a suitable address,
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  686  	 * relocate it.
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  687  	 *
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  688  	 * It must be loaded above LOAD_PHYSICAL_ADDR.
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  689  	 *
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  690  	 * The maximum address for 64-bit is 1 << 46 for 4-level paging. This
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  691  	 * is defined as the macro MAXMEM, but unfortunately that is not a
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  692  	 * compile-time constant if 5-level paging is configured, so we instead
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  693  	 * define our own macro for use here.
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  694  	 *
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  695  	 * For 32-bit, the maximum address is complicated to figure out, for
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  696  	 * now use KERNEL_IMAGE_SIZE, which will be 512MiB, the same as what
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  697  	 * KASLR uses.
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  698  	 *
21cb9b414301c76 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-04-09  699  	 * Also relocate it if image_offset is zero, i.e. the kernel wasn't
21cb9b414301c76 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-04-09  700  	 * loaded by LoadImage, but rather by a bootloader that called the
21cb9b414301c76 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-04-09  701  	 * handover entry. The reason we must always relocate in this case is
21cb9b414301c76 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-04-09  702  	 * to handle the case of systemd-boot booting a unified kernel image,
21cb9b414301c76 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-04-09  703  	 * which is a PE executable that contains the bzImage and an initrd as
21cb9b414301c76 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-04-09  704  	 * COFF sections. The initrd section is placed after the bzImage
21cb9b414301c76 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-04-09  705  	 * without ensuring that there are at least init_size bytes available
21cb9b414301c76 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-04-09  706  	 * for the bzImage, and thus the compressed kernel's startup code may
21cb9b414301c76 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-04-09  707  	 * overwrite the initrd unless it is moved out of the way.
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  708  	 */
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  709  
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  710  	buffer_start = ALIGN(bzimage_addr - image_offset,
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  711  			     hdr->kernel_alignment);
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  712  	buffer_end = buffer_start + hdr->init_size;
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  713  
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  714  	if ((buffer_start < LOAD_PHYSICAL_ADDR)				     ||
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  715  	    (IS_ENABLED(CONFIG_X86_32) && buffer_end > KERNEL_IMAGE_SIZE)    ||
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  716  	    (IS_ENABLED(CONFIG_X86_64) && buffer_end > MAXMEM_X86_64_4LEVEL) ||
21cb9b414301c76 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-04-09  717  	    (image_offset == 0)) {
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  718  		status = efi_relocate_kernel(&bzimage_addr,
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  719  					     hdr->init_size, hdr->init_size,
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  720  					     hdr->pref_address,
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  721  					     hdr->kernel_alignment,
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  722  					     LOAD_PHYSICAL_ADDR);
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  723  		if (status != EFI_SUCCESS) {
36bdd0a78d56831 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-04-30  724  			efi_err("efi_relocate_kernel() failed!\n");
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  725  			goto fail;
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  726  		}
1887c9b653f9957 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  727  		/*
1887c9b653f9957 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  728  		 * Now that we've copied the kernel elsewhere, we no longer
1887c9b653f9957 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  729  		 * have a set up block before startup_32(), so reset image_offset
1887c9b653f9957 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  730  		 * to zero in case it was set earlier.
1887c9b653f9957 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  731  		 */
1887c9b653f9957 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  732  		image_offset = 0;
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  733  	}
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  734  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 74808 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH net-next v2 1/2] Makefile.extrawarn: Add symbol for W=1 warnings for today
Date: Fri, 02 Oct 2020 17:04:26 +0800	[thread overview]
Message-ID: <202010021635.K0DTzwtN-lkp@intel.com> (raw)
In-Reply-To: <20201001011232.4050282-2-andrew@lunn.ch>

[-- Attachment #1: Type: text/plain, Size: 10556 bytes --]

Hi Andrew,

I love your patch! Perhaps something to improve:

[auto build test WARNING on net-next/master]

url:    https://github.com/0day-ci/linux/commits/Andrew-Lunn/driver-net-ethernet-W-1-by-default/20201001-091431
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git e13dbc4f41db7f7b86f17a2efd7fbe19fc5b6d7a
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/0day-ci/linux/commit/b50d78df08d105cf0f0f2a1f4d2225656fd531cc
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Andrew-Lunn/driver-net-ethernet-W-1-by-default/20201001-091431
        git checkout b50d78df08d105cf0f0f2a1f4d2225656fd531cc
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

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

All warnings (new ones prefixed by >>):

>> drivers/firmware/efi/libstub/x86-stub.c:669:15: warning: no previous prototype for 'efi_main' [-Wmissing-prototypes]
     669 | unsigned long efi_main(efi_handle_t handle,
         |               ^~~~~~~~

vim +/efi_main +669 drivers/firmware/efi/libstub/x86-stub.c

291f36325f9f252 arch/x86/boot/compressed/eboot.c        Matt Fleming   2011-12-12  663  
9ca8f72a9297f20 arch/x86/boot/compressed/eboot.c        Matt Fleming   2012-07-19  664  /*
8acf63efa1712fa drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  665   * On success, we return the address of startup_32, which has potentially been
8acf63efa1712fa drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  666   * relocated by efi_relocate_kernel.
8acf63efa1712fa drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  667   * On failure, we exit to the firmware via efi_exit instead of returning.
9ca8f72a9297f20 arch/x86/boot/compressed/eboot.c        Matt Fleming   2012-07-19  668   */
8acf63efa1712fa drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08 @669  unsigned long efi_main(efi_handle_t handle,
c3710de5065d63f arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2019-12-24  670  			     efi_system_table_t *sys_table_arg,
796eb8d26a57f91 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-01-13  671  			     struct boot_params *boot_params)
9ca8f72a9297f20 arch/x86/boot/compressed/eboot.c        Matt Fleming   2012-07-19  672  {
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  673  	unsigned long bzimage_addr = (unsigned long)startup_32;
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  674  	unsigned long buffer_start, buffer_end;
9ca8f72a9297f20 arch/x86/boot/compressed/eboot.c        Matt Fleming   2012-07-19  675  	struct setup_header *hdr = &boot_params->hdr;
9ca8f72a9297f20 arch/x86/boot/compressed/eboot.c        Matt Fleming   2012-07-19  676  	efi_status_t status;
54b52d872680348 arch/x86/boot/compressed/eboot.c        Matt Fleming   2014-01-10  677  
ccc27ae77494252 drivers/firmware/efi/libstub/x86-stub.c Ard Biesheuvel 2020-04-16  678  	efi_system_table = sys_table_arg;
9ca8f72a9297f20 arch/x86/boot/compressed/eboot.c        Matt Fleming   2012-07-19  679  
9ca8f72a9297f20 arch/x86/boot/compressed/eboot.c        Matt Fleming   2012-07-19  680  	/* Check if we were booted by the EFI firmware */
ccc27ae77494252 drivers/firmware/efi/libstub/x86-stub.c Ard Biesheuvel 2020-04-16  681  	if (efi_system_table->hdr.signature != EFI_SYSTEM_TABLE_SIGNATURE)
3b8f44fc0810d51 drivers/firmware/efi/libstub/x86-stub.c Ard Biesheuvel 2020-02-16  682  		efi_exit(handle, EFI_INVALID_PARAMETER);
9ca8f72a9297f20 arch/x86/boot/compressed/eboot.c        Matt Fleming   2012-07-19  683  
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  684  	/*
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  685  	 * If the kernel isn't already loaded at a suitable address,
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  686  	 * relocate it.
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  687  	 *
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  688  	 * It must be loaded above LOAD_PHYSICAL_ADDR.
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  689  	 *
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  690  	 * The maximum address for 64-bit is 1 << 46 for 4-level paging. This
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  691  	 * is defined as the macro MAXMEM, but unfortunately that is not a
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  692  	 * compile-time constant if 5-level paging is configured, so we instead
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  693  	 * define our own macro for use here.
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  694  	 *
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  695  	 * For 32-bit, the maximum address is complicated to figure out, for
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  696  	 * now use KERNEL_IMAGE_SIZE, which will be 512MiB, the same as what
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  697  	 * KASLR uses.
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  698  	 *
21cb9b414301c76 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-04-09  699  	 * Also relocate it if image_offset is zero, i.e. the kernel wasn't
21cb9b414301c76 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-04-09  700  	 * loaded by LoadImage, but rather by a bootloader that called the
21cb9b414301c76 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-04-09  701  	 * handover entry. The reason we must always relocate in this case is
21cb9b414301c76 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-04-09  702  	 * to handle the case of systemd-boot booting a unified kernel image,
21cb9b414301c76 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-04-09  703  	 * which is a PE executable that contains the bzImage and an initrd as
21cb9b414301c76 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-04-09  704  	 * COFF sections. The initrd section is placed after the bzImage
21cb9b414301c76 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-04-09  705  	 * without ensuring that there are@least init_size bytes available
21cb9b414301c76 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-04-09  706  	 * for the bzImage, and thus the compressed kernel's startup code may
21cb9b414301c76 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-04-09  707  	 * overwrite the initrd unless it is moved out of the way.
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  708  	 */
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  709  
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  710  	buffer_start = ALIGN(bzimage_addr - image_offset,
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  711  			     hdr->kernel_alignment);
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  712  	buffer_end = buffer_start + hdr->init_size;
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  713  
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  714  	if ((buffer_start < LOAD_PHYSICAL_ADDR)				     ||
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  715  	    (IS_ENABLED(CONFIG_X86_32) && buffer_end > KERNEL_IMAGE_SIZE)    ||
d5cdf4cfeac9146 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  716  	    (IS_ENABLED(CONFIG_X86_64) && buffer_end > MAXMEM_X86_64_4LEVEL) ||
21cb9b414301c76 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-04-09  717  	    (image_offset == 0)) {
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  718  		status = efi_relocate_kernel(&bzimage_addr,
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  719  					     hdr->init_size, hdr->init_size,
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  720  					     hdr->pref_address,
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  721  					     hdr->kernel_alignment,
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  722  					     LOAD_PHYSICAL_ADDR);
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  723  		if (status != EFI_SUCCESS) {
36bdd0a78d56831 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-04-30  724  			efi_err("efi_relocate_kernel() failed!\n");
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  725  			goto fail;
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  726  		}
1887c9b653f9957 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  727  		/*
1887c9b653f9957 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  728  		 * Now that we've copied the kernel elsewhere, we no longer
1887c9b653f9957 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  729  		 * have a set up block before startup_32(), so reset image_offset
1887c9b653f9957 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  730  		 * to zero in case it was set earlier.
1887c9b653f9957 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  731  		 */
1887c9b653f9957 drivers/firmware/efi/libstub/x86-stub.c Arvind Sankar  2020-03-08  732  		image_offset = 0;
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  733  	}
04a7d0e15606769 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2020-02-10  734  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 74808 bytes --]

  parent reply	other threads:[~2020-10-02  9:05 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-01  1:12 [RFC PATCH net-next v2 0/2] driver/net/ethernet W=1 by default Andrew Lunn
2020-10-01  1:12 ` [PATCH net-next v2 1/2] Makefile.extrawarn: Add symbol for W=1 warnings for today Andrew Lunn
2020-10-01 23:09   ` Nick Desaulniers
2020-10-02  1:44     ` Andrew Lunn
2020-10-02 12:20       ` Arnd Bergmann
2020-10-02 12:51         ` Andrew Lunn
2020-10-02 13:15           ` Arnd Bergmann
2020-10-12  1:00         ` Masahiro Yamada
2020-10-12  8:05           ` Arnd Bergmann
2020-10-05 17:31       ` Nick Desaulniers
2020-10-05 19:49         ` Andrew Lunn
2020-10-05 20:03           ` Arnd Bergmann
2020-10-05 21:08             ` Andrew Lunn
2020-10-11 13:03               ` Masahiro Yamada
2020-10-12  8:11                 ` Arnd Bergmann
2020-10-16 14:12                 ` Andrew Lunn
     [not found]                   ` <CAK8P3a1nBhmf1PQwHHbEjiVgRTXi4UuJAbwuK92CKEbR=yKGWw@mail.gmail.com>
2020-10-17 14:57                     ` Andrew Lunn
2020-10-02  9:04   ` kernel test robot [this message]
2020-10-02  9:04     ` kernel test robot
2020-10-02 11:08   ` kernel test robot
2020-10-02 11:08     ` kernel test robot
2020-10-01  1:12 ` [PATCH net-next v2 2/2] driver/net/ethernet: Sign up for W=1 as defined on 20200930 Andrew Lunn

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=202010021635.K0DTzwtN-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andrew@lunn.ch \
    --cc=clang-built-linux@googlegroups.com \
    --cc=kbuild-all@lists.01.org \
    --cc=kuba@kernel.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=masahiroy@kernel.org \
    --cc=michal.lkml@markovi.net \
    --cc=netdev@vger.kernel.org \
    --cc=rohitm@chelsio.com \
    /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.