From: kbuild test robot <lkp@intel.com>
To: Ard Biesheuvel <ardb@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
x86@kernel.org, Ingo Molnar <mingo@kernel.org>
Subject: [tip:efi/core 62/64] arch/x86/platform/efi/efi_64.c:560: undefined reference to `__efi64_thunk'
Date: Tue, 21 Jan 2020 15:30:21 +0800 [thread overview]
Message-ID: <202001211552.cfulXAHP%lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2020-01-21 7:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202001211552.cfulXAHP%lkp@intel.com \
--to=lkp@intel.com \
--cc=ardb@kernel.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=x86@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®