linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* kvm: arm64: WARNING: CPU: 3 PID: 1 at arch/arm64/kvm/hyp/pgtable.c:453 hyp_map_walker+0xa8/0x120
@ 2023-09-13 12:03 Naresh Kamboju
  2023-09-13 16:46 ` Oliver Upton
  0 siblings, 1 reply; 2+ messages in thread
From: Naresh Kamboju @ 2023-09-13 12:03 UTC (permalink / raw)
  To: open list, kvmarm, kvm list, Linux ARM
  Cc: Yu Zhao, Reiji Watanabe, Marc Zyngier, Shaoqin Huang,
	Oliver Upton, rananta, Paolo Bonzini, Arnd Bergmann,
	Anders Roxell

Following kernel warning noticed on arm64 Raspberry Pi 4 Model B and
Juno-r2 devices while booting the mainline 6.6.0-rc1 kernel.

Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>

Boot log:
---------
Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 6.6.0-rc1 (tuxmake@tuxmake)
(aarch64-linux-gnu-gcc (Debian 13.2.0-2) 13.2.0, GNU ld (GNU Binutils
for Debian) 2.41) #1 SMP PREEMPT @1694546723
[    0.000000] KASLR disabled due to lack of seed
[    0.000000] Machine model: Raspberry Pi 4 Model B
...
[    0.181598] kvm [1]: IPA Size Limit: 44 bits
[    0.184681] ------------[ cut here ]------------
[    0.184689] WARNING: CPU: 3 PID: 1 at
arch/arm64/kvm/hyp/pgtable.c:453 hyp_map_walker+0xa8/0x120
[    0.184726] Modules linked in:
[    0.184740] CPU: 3 PID: 1 Comm: swapper/0 Not tainted 6.6.0-rc1 #1
[    0.184753] Hardware name: Raspberry Pi 4 Model B (DT)
[    0.184759] pstate: 00000005 (nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    0.184772] pc : hyp_map_walker+0xa8/0x120
[    0.184787] lr : hyp_map_walker+0x3c/0x120
[    0.184800] sp : ffff80008352b850
[    0.184806] x29: ffff80008352b850 x28: ffff8000823f4008 x27: 0000000000000003
[    0.184829] x26: ffff000040c46000 x25: ffff000040c46000 x24: 0000000000000004
[    0.184849] x23: fffffffffffff000 x22: ffff80008352bbc0 x21: ffff800082ec1b20
[    0.184868] x20: 00400000ff844753 x19: ffff80008352b8e8 x18: ffffffffffffffff
[    0.184888] x17: ffff80008327c990 x16: 0000000083346a16 x15: 0000000000000000
[    0.184907] x14: 0000000000000000 x13: 0000000000000000 x12: ffff80008389ffff
[    0.184927] x11: 0000000000000000 x10: ffff0000fbfff010 x9 : ffff80008008cefc
[    0.184946] x8 : ffff80008352bad8 x7 : ffff80008352bbc0 x6 : ffff80008352bbc0
[    0.184964] x5 : 0000000000000000 x4 : 0000000000002000 x3 : 0000ffffffffffff
[    0.184983] x2 : 00400000feef1090 x1 : 0000000000000003 x0 : 00400000ff844750
[    0.185004] Call trace:
[    0.185009]  hyp_map_walker+0xa8/0x120
[    0.185024]  __kvm_pgtable_walk+0x2e0/0x320
[    0.185038]  __kvm_pgtable_walk+0x100/0x320
[    0.185052]  __kvm_pgtable_walk+0x100/0x320
[    0.185065]  __kvm_pgtable_walk+0x100/0x320
[    0.185077]  kvm_pgtable_walk+0xd0/0x170
[    0.185091]  kvm_pgtable_hyp_map+0x94/0x120
[    0.185105]  __create_hyp_mappings+0x68/0xc0
[    0.185119]  __create_hyp_private_mapping+0xe4/0x140
[    0.185131]  create_hyp_io_mappings+0x94/0x120
[    0.185143]  vgic_v2_probe+0xc4/0x218
[    0.185154]  kvm_vgic_hyp_init+0xcc/0x200
[    0.185163]  kvm_arm_init+0x6c4/0x1068
[    0.185181]  do_one_initcall+0x5c/0x2b8
[    0.185192]  kernel_init_freeable+0x1fc/0x3f8
[    0.185208]  kernel_init+0x2c/0x1f8
[    0.185222]  ret_from_fork+0x10/0x20
[    0.185235] ---[ end trace 0000000000000000 ]---
[    0.185248] ------------[ cut here ]------------
[    0.185252] WARNING: CPU: 3 PID: 1 at
arch/arm64/kvm/hyp/pgtable.c:470 hyp_map_walker+0x100/0x120
[    0.185272] Modules linked in:
[    0.185280] CPU: 3 PID: 1 Comm: swapper/0 Tainted: G        W
   6.6.0-rc1 #1
[    0.185290] Hardware name: Raspberry Pi 4 Model B (DT)
[    0.185296] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    0.185308] pc : hyp_map_walker+0x100/0x120
[    0.185321] lr : hyp_map_walker+0x3c/0x120
[    0.185334] sp : ffff80008352b850
[    0.185339] x29: ffff80008352b850 x28: ffff8000823f4008 x27: 0000000000000003
[    0.185358] x26: ffff000040c46000 x25: ffff000040c46000 x24: 0000000000000004
[    0.185377] x23: fffffffffffff000 x22: ffff80008352bbc0 x21: ffff800082ec1b20
[    0.185396] x20: 00400000ff844753 x19: ffff80008352b8e8 x18: ffffffffffffffff
[    0.185415] x17: ffff80008327c990 x16: 0000000083346a16 x15: 0000000000000000
[    0.185435] x14: 0000000000000000 x13: 0000000000000000 x12: ffff80008389ffff
[    0.185454] x11: 0000000000000000 x10: ffff0000fbfff010 x9 : ffff80008008cefc
[    0.185472] x8 : ffff80008352bad8 x7 : ffff80008352bbc0 x6 : ffff80008352bbc0
[    0.185491] x5 : 0000000000000000 x4 : 0000000000002000 x3 : 0000ffffffffffff
[    0.185510] x2 : 00400000feef1090 x1 : 0000000000000003 x0 : 00400000ff844750
[    0.185529] Call trace:
[    0.185534]  hyp_map_walker+0x100/0x120
[    0.185547]  __kvm_pgtable_walk+0x2e0/0x320
[    0.185561]  __kvm_pgtable_walk+0x100/0x320
[    0.185574]  __kvm_pgtable_walk+0x100/0x320
[    0.185587]  __kvm_pgtable_walk+0x100/0x320
[    0.185600]  kvm_pgtable_walk+0xd0/0x170
[    0.185614]  kvm_pgtable_hyp_map+0x94/0x120
[    0.185627]  __create_hyp_mappings+0x68/0xc0
[    0.185639]  __create_hyp_private_mapping+0xe4/0x140
[    0.185650]  create_hyp_io_mappings+0x94/0x120
[    0.185662]  vgic_v2_probe+0xc4/0x218
[    0.185672]  kvm_vgic_hyp_init+0xcc/0x200
[    0.185681]  kvm_arm_init+0x6c4/0x1068
[    0.185696]  do_one_initcall+0x5c/0x2b8
[    0.185707]  kernel_init_freeable+0x1fc/0x3f8
[    0.185722]  kernel_init+0x2c/0x1f8
[    0.185733]  ret_from_fork+0x10/0x20
[    0.185745] ---[ end trace 0000000000000000 ]---
[    0.185760] kvm [1]: Cannot map VCTRL into hyp


Links,
 - https://lkft.validation.linaro.org/scheduler/job/6780041#L587
 - https://qa-reports.linaro.org/lkft/linux-mainline-master-sanity/build/v6.6-rc1-33-g3669558bdf35/testrun/19913903/suite/log-parser-boot/test/check-kernel-exception/details/
 - https://storage.tuxsuite.com/public/linaro/lkft/builds/2VJFncJcwoozdfQkO3ZUjZq4KTd/
 - https://storage.tuxsuite.com/public/linaro/lkft/builds/2VJFncJcwoozdfQkO3ZUjZq4KTd/config

metadata:
  git_ref: master
  git_repo: https://gitlab.com/Linaro/lkft/mirrors/torvalds/linux-mainline
  git_sha: 3669558bdf354cd352be955ef2764cde6a9bf5ec
  git_describe: v6.6-rc1-33-g3669558bdf35
  kernel_version: 6.6.0-rc1
  kernel-config:
    https://storage.tuxsuite.com/public/linaro/lkft/builds/2VJFncJcwoozdfQkO3ZUjZq4KTd/config
  artifact-location:
    https://storage.tuxsuite.com/public/linaro/lkft/builds/2VJFncJcwoozdfQkO3ZUjZq4KTd/
  toolchain: gcc-13


--
Linaro LKFT
https://lkft.linaro.org

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: kvm: arm64: WARNING: CPU: 3 PID: 1 at arch/arm64/kvm/hyp/pgtable.c:453 hyp_map_walker+0xa8/0x120
  2023-09-13 12:03 kvm: arm64: WARNING: CPU: 3 PID: 1 at arch/arm64/kvm/hyp/pgtable.c:453 hyp_map_walker+0xa8/0x120 Naresh Kamboju
@ 2023-09-13 16:46 ` Oliver Upton
  0 siblings, 0 replies; 2+ messages in thread
From: Oliver Upton @ 2023-09-13 16:46 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: open list, kvm list, Linux ARM, Yu Zhao, Reiji Watanabe,
	Marc Zyngier, Shaoqin Huang, rananta, Paolo Bonzini,
	Arnd Bergmann, Anders Roxell

Hi Naresh,

Can you cc the correct kvmarm mailing list in the future? We had to
migrate a few releases ago but the right address is in MAINTAINERS.

On Wed, Sep 13, 2023 at 05:33:28PM +0530, Naresh Kamboju wrote:
> Following kernel warning noticed on arm64 Raspberry Pi 4 Model B and
> Juno-r2 devices while booting the mainline 6.6.0-rc1 kernel.

Thanks for the report. This came up already and Marc has a fix queued up
that'll find its way to Linus' tree eventually:

https://lore.kernel.org/kvmarm/20230828153121.4179627-1-maz@kernel.org/

-- 
Thanks,
Oliver

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2023-09-13 16:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-13 12:03 kvm: arm64: WARNING: CPU: 3 PID: 1 at arch/arm64/kvm/hyp/pgtable.c:453 hyp_map_walker+0xa8/0x120 Naresh Kamboju
2023-09-13 16:46 ` Oliver Upton

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).