vm_area at addr ffffffffc0800000 is not marked as VM_IOREMAP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi arm64/bpf/pci,

In today's next-20240307 with a defconfig LLVM=1 I am seeing [1] under
QEMU virt, i.e. from
https://lore.kernel.org/all/20240305030516.41519-2-alexei.starovoitov@xxxxxxxxx/
applied to the bpf-next tree.

Cheers,
Miguel

[1]

[    0.425177] pci-host-generic 4010000000.pcie: host bridge
/pcie@10000000 ranges:
[    0.425886] pci-host-generic 4010000000.pcie:       IO
0x003eff0000..0x003effffff -> 0x0000000000
[    0.426534] pci-host-generic 4010000000.pcie:      MEM
0x0010000000..0x003efeffff -> 0x0010000000
[    0.426764] pci-host-generic 4010000000.pcie:      MEM
0x8000000000..0xffffffffff -> 0x8000000000
[    0.427324] ------------[ cut here ]------------
[    0.427456] vm_area at addr ffffffffc0800000 is not marked as VM_IOREMAP
[    0.427944] WARNING: CPU: 0 PID: 1 at mm/vmalloc.c:315
ioremap_page_range+0x25c/0x2bc
[    0.428543] Modules linked in:
[    0.429236] CPU: 0 PID: 1 Comm: swapper/0 Not tainted
6.8.0-rc7-next-20240307 #1
[    0.429513] Hardware name: linux,dummy-virt (DT)
[    0.429751] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    0.429946] pc : ioremap_page_range+0x25c/0x2bc
[    0.430063] lr : ioremap_page_range+0x258/0x2bc
[    0.430178] sp : ffff80008002b670
[    0.430271] x29: ffff80008002b690 x28: 0000000000001820 x27: 0000000000001880
[    0.430556] x26: ffffde390bd7d000 x25: 0000000000000000 x24: ffffde390bce9000
[    0.430729] x23: ffff69958280b0a0 x22: 0000000000000000 x21: 000000003eff0000
[    0.430895] x20: ffff699582805090 x19: ffffffffc0800000 x18: 00000000de69481d
[    0.431060] x17: ffff80008002b1fb x16: 0000000000000108 x15: 0000000000000004
[    0.431245] x14: ffffde390bd19570 x13: 0000000000000fff x12: 0000000000000003
[    0.431421] x11: 0000000000000003 x10: ffffde390bca2008 x9 : 4038d3d4a4dd4200
[    0.431623] x8 : 4038d3d4a4dd4200 x7 : 0773076107200764 x6 : 0765076b07720761
[    0.431774] x5 : ffff699582829f00 x4 : ffff699582829fa0 x3 : 0000000000000000
[    0.431923] x2 : 0000000000000000 x1 : ffff80008002b400 x0 : 00000000ffffffea
[    0.432220] Call trace:
[    0.432462]  ioremap_page_range+0x25c/0x2bc
[    0.432703]  pci_remap_iospace+0x78/0x84
[    0.432854]  devm_pci_remap_iospace+0x54/0x98
[    0.432979]  devm_of_pci_bridge_init+0x2e0/0x48c
[    0.433114]  devm_pci_alloc_host_bridge+0xa4/0xbc
[    0.433254]  pci_host_common_probe+0x48/0x1a4
[    0.433363]  platform_probe+0xa8/0xd0
[    0.433456]  really_probe+0x130/0x2e4
[    0.433545]  __driver_probe_device+0xa0/0x128
[    0.433647]  driver_probe_device+0x3c/0x1f8
[    0.433742]  __driver_attach+0xdc/0x1a4
[    0.433834]  bus_for_each_dev+0xe8/0x140
[    0.433925]  driver_attach+0x24/0x30
[    0.434011]  bus_add_driver+0x154/0x240
[    0.434104]  driver_register+0x68/0x100
[    0.434196]  __platform_driver_register+0x24/0x30
[    0.434306]  gen_pci_driver_init+0x1c/0x28
[    0.434407]  do_one_initcall+0xbc/0x248
[    0.434533]  do_initcall_level+0x94/0xb4
[    0.434632]  do_initcalls+0x54/0x94
[    0.434721]  do_basic_setup+0x50/0x60
[    0.434810]  kernel_init_freeable+0x10c/0x178
[    0.434912]  kernel_init+0x20/0x1a0
[    0.435003]  ret_from_fork+0x10/0x20
[    0.435227] ---[ end trace 0000000000000000 ]---
[    0.435691] pci-host-generic 4010000000.pcie: error -22: failed to
map resource [io  0x0000-0xffff]
[    0.436124] pci-host-generic 4010000000.pcie: Memory resource size
exceeds max for 32 bits
[    0.436713] pci-host-generic 4010000000.pcie: ECAM at [mem
0x4010000000-0x401fffffff] for [bus 00-ff]
[    0.438068] pci-host-generic 4010000000.pcie: PCI host bridge to bus 0000:00
[    0.438414] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.438584] pci_bus 0000:00: root bus resource [mem 0x10000000-0x3efeffff]
[    0.438732] pci_bus 0000:00: root bus resource [mem
0x8000000000-0xffffffffff]
[    0.440126] pci 0000:00:00.0: [1b36:0008] type 00 class 0x060000
conventional PCI endpoint
[    0.443526] pci 0000:00:01.0: [1af4:1000] type 00 class 0x020000
conventional PCI endpoint
[    0.443891] pci 0000:00:01.0: BAR 0 [io  0x0000-0x001f]
[    0.444059] pci 0000:00:01.0: BAR 1 [mem 0x00000000-0x00000fff]
[    0.444227] pci 0000:00:01.0: BAR 4 [mem 0x00000000-0x00003fff 64bit pref]
[    0.444468] pci 0000:00:01.0: ROM [mem 0x00000000-0x0007ffff pref]
[    0.446795] pci 0000:00:01.0: ROM [mem 0x10000000-0x1007ffff pref]: assigned
[    0.447158] pci 0000:00:01.0: BAR 4 [mem 0x8000000000-0x8000003fff
64bit pref]: assigned
[    0.447465] pci 0000:00:01.0: BAR 1 [mem 0x10080000-0x10080fff]: assigned
[    0.447632] pci 0000:00:01.0: BAR 0 [io  size 0x0020]: can't assign; no space
[    0.447945] pci 0000:00:01.0: BAR 0 [io  size 0x0020]: failed to assign




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux