* [tip:efi/core 62/64] arch/x86/platform/efi/efi_64.c:560: undefined reference to `__efi64_thunk'
@ 2020-01-21 7:30 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-01-21 7:30 UTC (permalink / raw)
To: Ard Biesheuvel; +Cc: kbuild-all, linux-kernel, x86, Ingo Molnar
[-- Attachment #1: Type: text/plain, Size: 3216 bytes --]
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@intel.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@kernel.org>
:::::: CC: Ingo Molnar <mingo@kernel.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 35937 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-01-21 7:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-21 7:30 [tip:efi/core 62/64] arch/x86/platform/efi/efi_64.c:560: undefined reference to `__efi64_thunk' kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).