[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202001211552.cfulXAHP%lkp@intel.com>
Date: Tue, 21 Jan 2020 15:30:21 +0800
From: kbuild test robot <lkp@...el.com>
To: Ard Biesheuvel <ardb@...nel.org>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
x86@...nel.org, Ingo Molnar <mingo@...nel.org>
Subject: [tip:efi/core 62/64] arch/x86/platform/efi/efi_64.c:560: undefined
reference to `__efi64_thunk'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git efi/core
head: 615bf8d9a96b3695eb6bb9b35c2279f5a17fd8c3
commit: 3cc028619e284188cdde652631e1c3c5a83692b9 [62/64] efi/x86: avoid KASAN false positives when accessing the 1: 1 mapping
config: x86_64-randconfig-a002-20200120 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.2-10+deb8u1) 4.9.2
reproduce:
git checkout 3cc028619e284188cdde652631e1c3c5a83692b9
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
ld: arch/x86/platform/efi/efi_64.o: in function `efi_thunk_set_virtual_address_map':
>> arch/x86/platform/efi/efi_64.c:560: undefined reference to `__efi64_thunk'
ld: arch/x86/platform/efi/efi_64.o: in function `efi_set_virtual_address_map':
>> arch/x86/platform/efi/efi_64.c:902: undefined reference to `efi_uv1_memmap_phys_prolog'
>> ld: arch/x86/platform/efi/efi_64.c:921: undefined reference to `efi_uv1_memmap_phys_epilog'
vim +560 arch/x86/platform/efi/efi_64.c
4f9dbcfc40299d Matt Fleming 2014-01-10 545
3cc028619e2841 Ard Biesheuvel 2020-01-18 546 static efi_status_t __init __no_sanitize_address
ea5e1919b44f09 Ard Biesheuvel 2020-01-03 547 efi_thunk_set_virtual_address_map(unsigned long memory_map_size,
4f9dbcfc40299d Matt Fleming 2014-01-10 548 unsigned long descriptor_size,
4f9dbcfc40299d Matt Fleming 2014-01-10 549 u32 descriptor_version,
4f9dbcfc40299d Matt Fleming 2014-01-10 550 efi_memory_desc_t *virtual_map)
4f9dbcfc40299d Matt Fleming 2014-01-10 551 {
4f9dbcfc40299d Matt Fleming 2014-01-10 552 efi_status_t status;
4f9dbcfc40299d Matt Fleming 2014-01-10 553 unsigned long flags;
4f9dbcfc40299d Matt Fleming 2014-01-10 554
4f9dbcfc40299d Matt Fleming 2014-01-10 555 efi_sync_low_kernel_mappings();
4f9dbcfc40299d Matt Fleming 2014-01-10 556 local_irq_save(flags);
4f9dbcfc40299d Matt Fleming 2014-01-10 557
03781e40890c18 Sai Praneeth 2018-03-12 558 efi_switch_mm(&efi_mm);
4f9dbcfc40299d Matt Fleming 2014-01-10 559
ea5e1919b44f09 Ard Biesheuvel 2020-01-03 @560 status = __efi_thunk(set_virtual_address_map, memory_map_size,
ea5e1919b44f09 Ard Biesheuvel 2020-01-03 561 descriptor_size, descriptor_version, virtual_map);
4f9dbcfc40299d Matt Fleming 2014-01-10 562
03781e40890c18 Sai Praneeth 2018-03-12 563 efi_switch_mm(efi_scratch.prev_mm);
4f9dbcfc40299d Matt Fleming 2014-01-10 564 local_irq_restore(flags);
4f9dbcfc40299d Matt Fleming 2014-01-10 565
4f9dbcfc40299d Matt Fleming 2014-01-10 566 return status;
4f9dbcfc40299d Matt Fleming 2014-01-10 567 }
4f9dbcfc40299d Matt Fleming 2014-01-10 568
:::::: The code at line 560 was first introduced by commit
:::::: ea5e1919b44f09fce72d919fbb87f9611fc700a6 efi/x86: Simplify mixed mode call wrapper
:::::: TO: Ard Biesheuvel <ardb@...nel.org>
:::::: CC: Ingo Molnar <mingo@...nel.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (35937 bytes)
Powered by blists - more mailing lists