From: kernel test robot <oliver.sang@intel.com>
To: Ard Biesheuvel <ardb@kernel.org>
Cc: <oe-lkp@lists.linux.dev>, <lkp@intel.com>,
<linux-efi@vger.kernel.org>, <oliver.sang@intel.com>
Subject: [ardb:x86-efi-memmap-cleanup-v2] [x86/efi] 28d319c685: RIP:__early_ioremap
Date: Fri, 13 Mar 2026 18:08:18 +0800 [thread overview]
Message-ID: <202603131715.3afc4841-lkp@intel.com> (raw)
Hello,
kernel test robot noticed "RIP:__early_ioremap" on:
commit: 28d319c685b0da78b1823135b60a110d9882259c ("x86/efi: Defer compaction of the EFI memory map")
https://git.kernel.org/cgit/linux/kernel/git/ardb/linux.git x86-efi-memmap-cleanup-v2
in testcase: perf-sanity-tests
version:
with following parameters:
perf_compiler: clang
group: group-01
config: x86_64-rhel-9.4-bpf
compiler: gcc-14
test machine: 16 threads 1 sockets Intel(R) Xeon(R) E-2278G CPU @ 3.40GHz (Coffee Lake-E) with 32G memory
(please refer to attached dmesg/kmsg for entire log/backtrace)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202603131715.3afc4841-lkp@intel.com
[ 3.399684][ T1] Simple Boot Flag at 0x47 set to 0x1
[ 3.404933][ T1] ------------[ cut here ]------------
[ 3.410746][ T1] WARNING: mm/early_ioremap.c:132 at __early_ioremap+0xd8/0x260, CPU#7: swapper/0/1
[ 3.419788][ T1] Modules linked in:
[ 3.424741][ T1] CPU: 7 UID: 0 PID: 1 Comm: swapper/0 Tainted: G S 7.0.0-rc3-00009-g28d319c685b0 #1 PREEMPT(full)
[ 3.436798][ T1] Tainted: [S]=CPU_OUT_OF_SPEC
[ 3.441739][ T1] Hardware name: Intel Corporation Mehlow UP Server Platform/Moss Beach Server, BIOS CNLSE2R1.R00.X188.B13.1903250419 03/25/2019
[ 3.454808][ T1] RIP: 0010:__early_ioremap (mm/early_ioremap.c:132 (discriminator 7))
[ 3.460746][ T1] Code: 60 04 24 83 48 8d 54 24 30 48 89 e9 67 48 0f b9 3a 31 ed e9 3d 01 00 00 4c 8b 7c 24 30 49 8d 0c 2f 48 8d 41 ff 4c 39 f8 73 04 <0f> 0b eb e3 48 85 ed 74 f7 4c 63 e3 48 89 4c 24 08 4a 8d 04 e5 00
All code
========
0: 60 (bad)
1: 04 24 add $0x24,%al
3: 83 48 8d 54 orl $0x54,-0x73(%rax)
7: 24 30 and $0x30,%al
9: 48 89 e9 mov %rbp,%rcx
c: 67 48 0f b9 3a ud1 (%edx),%rdi
11: 31 ed xor %ebp,%ebp
13: e9 3d 01 00 00 jmp 0x155
18: 4c 8b 7c 24 30 mov 0x30(%rsp),%r15
1d: 49 8d 0c 2f lea (%r15,%rbp,1),%rcx
21: 48 8d 41 ff lea -0x1(%rcx),%rax
25: 4c 39 f8 cmp %r15,%rax
28: 73 04 jae 0x2e
2a:* 0f 0b ud2 <-- trapping instruction
2c: eb e3 jmp 0x11
2e: 48 85 ed test %rbp,%rbp
31: 74 f7 je 0x2a
33: 4c 63 e3 movslq %ebx,%r12
36: 48 89 4c 24 08 mov %rcx,0x8(%rsp)
3b: 4a rex.WX
3c: 8d .byte 0x8d
3d: 04 e5 add $0xe5,%al
...
Code starting with the faulting instruction
===========================================
0: 0f 0b ud2
2: eb e3 jmp 0xffffffffffffffe7
4: 48 85 ed test %rbp,%rbp
7: 74 f7 je 0x0
9: 4c 63 e3 movslq %ebx,%r12
c: 48 89 4c 24 08 mov %rcx,0x8(%rsp)
11: 4a rex.WX
12: 8d .byte 0x8d
13: 04 e5 add $0xe5,%al
...
[ 3.480858][ T1] RSP: 0000:ffff888100c7fa80 EFLAGS: 00010246
[ 3.486746][ T1] RAX: ffffffffffffffff RBX: 0000000000000000 RCX: 0000000000000000
[ 3.494781][ T1] RDX: dffffc0000000000 RSI: ffffffff863e4366 RDI: ffffffff86581f80
[ 3.503469][ T1] RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff0b546ca
[ 3.511781][ T1] R10: ffffffff85aa3657 R11: 00000000846ccb1e R12: ffffffff86581f80
[ 3.519796][ T1] R13: 1ffff1102018ff52 R14: 8000000000000163 R15: 0000000000000000
[ 3.529469][ T1] FS: 0000000000000000(0000) GS:ffff8887ffebe000(0000) knlGS:0000000000000000
[ 3.538784][ T1] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3.545468][ T1] CR2: 0000000000000000 CR3: 0000000878672001 CR4: 00000000003706f0
[ 3.553780][ T1] Call Trace:
[ 3.556733][ T1] <TASK>
[ 3.559737][ T1] ? __pfx___early_ioremap (mm/early_ioremap.c:109)
[ 3.565749][ T1] __efi_memmap_init (drivers/firmware/efi/memmap.c:43)
[ 3.570743][ T1] ? __pfx___efi_memmap_init (drivers/firmware/efi/memmap.c:34)
[ 3.576469][ T1] ? rcu_is_watching (arch/x86/include/asm/atomic.h:23 include/linux/atomic/atomic-arch-fallback.h:457 include/linux/context_tracking.h:128 kernel/rcu/tree.c:752)
[ 3.580738][ T1] ? trace_preempt_on (include/trace/events/preemptirq.h:53 (discriminator 2) kernel/trace/trace_preemptirq.c:120 (discriminator 2))
[ 3.585750][ T1] ? __pfx_efi_free_boot_services (arch/x86/platform/efi/quirks.c:433)
[ 3.592469][ T1] efi_free_boot_services (arch/x86/platform/efi/quirks.c:479 (discriminator 1))
[ 3.597744][ T1] ? __pfx_add_device_randomness (drivers/char/random.c:933)
[ 3.603746][ T1] ? __pfx_efi_free_boot_services (arch/x86/platform/efi/quirks.c:433)
[ 3.609748][ T1] do_one_initcall (init/main.c:1382)
[ 3.614741][ T1] ? __pfx_do_one_initcall (init/main.c:1373)
[ 3.619742][ T1] ? parse_one (kernel/params.c:139 (discriminator 10))
[ 3.624740][ T1] ? kasan_save_track (mm/kasan/common.c:70 (discriminator 1) mm/kasan/common.c:79 (discriminator 1))
[ 3.629741][ T1] ? rcu_is_watching (arch/x86/include/asm/atomic.h:23 include/linux/atomic/atomic-arch-fallback.h:457 include/linux/context_tracking.h:128 kernel/rcu/tree.c:752)
[ 3.634743][ T1] ? __kmalloc_noprof (include/trace/events/kmem.h:57 (discriminator 2) mm/slub.c:5264 (discriminator 2) mm/slub.c:5275 (discriminator 2))
[ 3.639741][ T1] ? do_initcalls (init/main.c:1454)
[ 3.644742][ T1] ? rcu_is_watching (arch/x86/include/asm/atomic.h:23 include/linux/atomic/atomic-arch-fallback.h:457 include/linux/context_tracking.h:128 kernel/rcu/tree.c:752)
[ 3.649755][ T1] do_initcalls (init/main.c:1443 (discriminator 3) init/main.c:1460 (discriminator 3))
[ 3.653740][ T1] kernel_init_freeable (init/main.c:1696)
[ 3.659742][ T1] ? __pfx_kernel_init_freeable (init/main.c:1664)
[ 3.665746][ T1] ? _raw_spin_unlock_irq (include/linux/spinlock_api_smp.h:188 (discriminator 3) kernel/locking/spinlock.c:202 (discriminator 3))
[ 3.670748][ T1] ? ret_from_fork (arch/x86/kernel/process.c:157 (discriminator 1))
[ 3.675741][ T1] ? rcu_is_watching (arch/x86/include/asm/atomic.h:23 include/linux/atomic/atomic-arch-fallback.h:457 include/linux/context_tracking.h:128 kernel/rcu/tree.c:752)
[ 3.680741][ T1] ? trace_preempt_on (include/trace/events/preemptirq.h:53 (discriminator 2) kernel/trace/trace_preemptirq.c:120 (discriminator 2))
[ 3.685744][ T1] ? __pfx_kernel_init (init/main.c:1574)
[ 3.690743][ T1] kernel_init (init/main.c:1584)
[ 3.695738][ T1] ? __pfx_kernel_init (init/main.c:1574)
[ 3.700742][ T1] ret_from_fork (arch/x86/kernel/process.c:164)
[ 3.705469][ T1] ? __pfx_ret_from_fork (arch/x86/kernel/process.c:153)
[ 3.710747][ T1] ? __switch_to (include/linux/thread_info.h:142 (discriminator 2) arch/x86/kernel/process.h:17 (discriminator 2) arch/x86/kernel/process_64.c:676 (discriminator 2))
[ 3.715754][ T1] ? __pfx_kernel_init (init/main.c:1574)
[ 3.720744][ T1] ret_from_fork_asm (arch/x86/entry/entry_64.S:255)
[ 3.725750][ T1] </TASK>
[ 3.728732][ T1] irq event stamp: 21465
[ 3.732739][ T1] hardirqs last enabled at (21477): __up_console_sem (arch/x86/include/asm/irqflags.h:42 arch/x86/include/asm/irqflags.h:119 arch/x86/include/asm/irqflags.h:159 kernel/printk/printk.c:347)
[ 3.742785][ T1] hardirqs last disabled at (21488): __up_console_sem (kernel/printk/printk.c:345 (discriminator 3))
[ 3.752468][ T1] softirqs last enabled at (21424): handle_softirqs (kernel/softirq.c:469 (discriminator 2) kernel/softirq.c:650 (discriminator 2))
[ 3.761787][ T1] softirqs last disabled at (21419): __irq_exit_rcu (kernel/softirq.c:657 kernel/softirq.c:496 kernel/softirq.c:723)
[ 3.771784][ T1] ---[ end trace 0000000000000000 ]---
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20260313/202603131715.3afc4841-lkp@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-03-13 10:08 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=202603131715.3afc4841-lkp@intel.com \
--to=oliver.sang@intel.com \
--cc=ardb@kernel.org \
--cc=linux-efi@vger.kernel.org \
--cc=lkp@intel.com \
--cc=oe-lkp@lists.linux.dev \
/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