Sample Header Ad - 728x90

Why does /proc/vmallocinfo show userspace-like addreses?

1 vote
2 answers
76 views
I expected to see a list of address ranges starting with 0xffff..., but /proc/vmallocinfo gives some crazy unpadded values. I'm cooking Mali GPU drivers for OrangePi Zero 2W, and was wondering why the driver can't ioremap the GPU register. Are these values correct? What does it mean to the kernel config?
root@raspberrypi:/home/pi/Downloads/driver/product/kernel/drivers/gpu/arm/midgard# cat /proc/vmallocinfo |grep ioremap
0x0000000055eaf8a7-0x00000000680cafe7    8192 of_iomap+0x64/0xb8 phys=0x0000000003021000 ioremap
0x0000000093fa4f7c-0x00000000214cd459   12288 of_iomap+0x64/0xb8 phys=0x0000000003022000 ioremap
0x000000008eec5156-0x00000000c43cb5a6    8192 __devm_ioremap+0xb8/0x138 phys=0x0000000007010000 ioremap
0x00000000174c6b4f-0x000000009417e241    8192 __devm_ioremap+0xb8/0x138 phys=0x0000000003001000 ioremap
0x00000000fca5d78c-0x00000000d225ad14    8192 __devm_ioremap+0xb8/0x138 phys=0x0000000003002000 ioremap
0x00000000fea45371-0x00000000241ac42c    8192 __devm_ioremap+0xb8/0x138 phys=0x0000000003000000 ioremap
0x00000000f804cc7a-0x0000000020504d6e    8192 __devm_ioremap+0xb8/0x138 phys=0x0000000007000000 ioremap
0x00000000e57e5643-0x000000006a214d35    8192 __devm_ioremap+0xb8/0x138 phys=0x0000000007081000 ioremap
0x000000000f5b5f9e-0x00000000f80492c0    8192 __devm_ioremap+0xb8/0x138 phys=0x0000000003009000 ioremap
0x000000008c82c7bc-0x00000000c0c6ed56    8192 __devm_ioremap+0xb8/0x138 phys=0x0000000003006000 ioremap
0x00000000242d3c9a-0x00000000fc05ac58    8192 __devm_ioremap+0xb8/0x138 phys=0x0000000005096000 ioremap
0x0000000043081299-0x00000000bff3c2ad    8192 of_iomap+0x64/0xb8 phys=0x000000000300a000 ioremap
0x000000009dbe0019-0x00000000e27ad0b1    8192 __devm_ioremap+0xb8/0x138 phys=0x0000000001008000 ioremap
0x0000000050c3c171-0x00000000bcb5b6d7    8192 __devm_ioremap+0xb8/0x138 phys=0x0000000005100000 ioremap
0x000000007e5c4b8e-0x00000000c1db3d7c    8192 __devm_ioremap+0xb8/0x138 phys=0x0000000005101000 ioremap
0x000000003cb701c7-0x00000000955c3e4b    8192 __devm_ioremap+0xb8/0x138 phys=0x0000000005200000 ioremap
...
Also this from dmesg:
[    0.000000] Machine model: OrangePi Zero2 W
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x000000013fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x13f7bf040-0x13f7c0fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000013fffffff]
[    0.000000] Movable zone start for each node
Asked by user758485 (23 rep)
Jul 4, 2025, 09:54 PM
Last activity: Jul 5, 2025, 04:51 PM