All of lore.kernel.org
 help / color / mirror / Atom feed
* ioremap WARN on 32-bit kernel
@ 2020-03-03 23:40 Arvind Sankar
  2020-03-04  7:10 ` Ard Biesheuvel
  0 siblings, 1 reply; 2+ messages in thread
From: Arvind Sankar @ 2020-03-03 23:40 UTC (permalink / raw)
  To: Ard Biesheuvel; +Cc: linux-efi

I consistently get this splat when booting 32-bit kernel on QEMU+OVMF,
with at least 1024Mb. Seems to have been there for quite a while (before
v5.0). Any ideas/can you repro?

[    0.227718] ------------[ cut here ]------------                                                                                                                                                                                                                            
[    0.227998] ioremap on RAM at 0x3f251000 - 0x3fa1afff                                                                                                                                                                                                                       
[    0.228421] WARNING: CPU: 0 PID: 0 at arch/x86/mm/ioremap.c:166 __ioremap_caller.constprop.0+0x249/0x260                                                                                                                                                                    
[    0.228570] Modules linked in:                                                                                                                                                                                                                                              
[    0.228570] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.20.0 #48                                                                                                                                                                                                            
[    0.228570] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 0.0.0 02/06/2015                                                                                                                                                                                    
[    0.228570] EIP: __ioremap_caller.constprop.0+0x249/0x260                                                                                                                                                                                                                   
[    0.228570] Code: 90 0f b7 05 4e 38 40 de 09 45 e0 e9 09 ff ff ff 90 8d 45 ec c6 05 a1 52 4a de 01 50 8d 45 e4 50 68 b4 7b 2d de e8 3e bb 00 00 <0f> 0b 31 ff 83 c4 0c e9 66 ff ff ff 8d b4 26 00 00 00 00 8d 74 26                                                         
[    0.228570] EAX: 00000029 EBX: 00000000 ECX: de59c228 EDX: 00000001                                                                                                                                                                                                         
[    0.228570] ESI: 3f250fff EDI: 00000000 EBP: de3edf20 ESP: de3edee0                                                                                                                                                                                                         
[    0.228570] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 EFLAGS: 00200296                                                                                                                                                                                                   
[    0.228570] CR0: 80050033 CR2: ffd17000 CR3: 1e58c000 CR4: 00040690                                                                                                                                                                                                         
[    0.228570] Call Trace:                                                                                                                                                                                                                                                     
[    0.228570]  ioremap_cache+0xd/0x10                                                                                                                                                                                                                                         
[    0.228570]  ? old_map_region+0x72/0x9d                                                                                                                                                                                                                                     
[    0.228570]  old_map_region+0x72/0x9d                                                                                                                                                                                                                                       
[    0.228570]  efi_map_region+0x8/0xa                                                                                                                                                                                                                                         
[    0.228570]  efi_enter_virtual_mode+0x260/0x43b                                                                                                                                                                                                                             
[    0.228570]  start_kernel+0x329/0x3aa                                                                                                                                                                                                                                       
[    0.228570]  i386_start_kernel+0xa7/0xab                                                                                                                                                                                                                                    
[    0.228570]  startup_32_smp+0x164/0x168                                                                                                                                                                                                                                     
[    0.228570] ---[ end trace e15ccf6b9f356833 ]---

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ioremap WARN on 32-bit kernel
  2020-03-03 23:40 ioremap WARN on 32-bit kernel Arvind Sankar
@ 2020-03-04  7:10 ` Ard Biesheuvel
  0 siblings, 0 replies; 2+ messages in thread
From: Ard Biesheuvel @ 2020-03-04  7:10 UTC (permalink / raw)
  To: Arvind Sankar; +Cc: linux-efi

On Wed, 4 Mar 2020 at 00:40, Arvind Sankar <nivedita@alum.mit.edu> wrote:
>
> I consistently get this splat when booting 32-bit kernel on QEMU+OVMF,
> with at least 1024Mb. Seems to have been there for quite a while (before
> v5.0). Any ideas/can you repro?

Yes, I have seen it too. Won't have time to look at it for a while though.

>
> [    0.227718] ------------[ cut here ]------------
> [    0.227998] ioremap on RAM at 0x3f251000 - 0x3fa1afff
> [    0.228421] WARNING: CPU: 0 PID: 0 at arch/x86/mm/ioremap.c:166 __ioremap_caller.constprop.0+0x249/0x260
> [    0.228570] Modules linked in:
> [    0.228570] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.20.0 #48
> [    0.228570] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 0.0.0 02/06/2015
> [    0.228570] EIP: __ioremap_caller.constprop.0+0x249/0x260
> [    0.228570] Code: 90 0f b7 05 4e 38 40 de 09 45 e0 e9 09 ff ff ff 90 8d 45 ec c6 05 a1 52 4a de 01 50 8d 45 e4 50 68 b4 7b 2d de e8 3e bb 00 00 <0f> 0b 31 ff 83 c4 0c e9 66 ff ff ff 8d b4 26 00 00 00 00 8d 74 26
> [    0.228570] EAX: 00000029 EBX: 00000000 ECX: de59c228 EDX: 00000001
> [    0.228570] ESI: 3f250fff EDI: 00000000 EBP: de3edf20 ESP: de3edee0
> [    0.228570] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 EFLAGS: 00200296
> [    0.228570] CR0: 80050033 CR2: ffd17000 CR3: 1e58c000 CR4: 00040690
> [    0.228570] Call Trace:
> [    0.228570]  ioremap_cache+0xd/0x10
> [    0.228570]  ? old_map_region+0x72/0x9d
> [    0.228570]  old_map_region+0x72/0x9d
> [    0.228570]  efi_map_region+0x8/0xa
> [    0.228570]  efi_enter_virtual_mode+0x260/0x43b
> [    0.228570]  start_kernel+0x329/0x3aa
> [    0.228570]  i386_start_kernel+0xa7/0xab
> [    0.228570]  startup_32_smp+0x164/0x168
> [    0.228570] ---[ end trace e15ccf6b9f356833 ]---

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-04  7:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-03 23:40 ioremap WARN on 32-bit kernel Arvind Sankar
2020-03-04  7:10 ` Ard Biesheuvel

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.