BUG: using __this_cpu_read() in preemptible/iommu_range_alloc+0x98/0x3e0

Sachin Sant sachinp at linux.vnet.ibm.com
Thu Feb 16 22:12:02 AEDT 2017


While booting latest mainline kernel on a POWER8 PowerVM
LPAR with CONFIG_PREEMPT=y, following messages are observed

[    7.834713] ibmveth 30000002 ibmveth2: renamed from eth0
[    7.850025] BUG: using __this_cpu_read() in preemptible [00000000] code: systemd-udevd/266
[    7.850068] caller is iommu_range_alloc+0x98/0x3e0
[    7.850078] CPU: 4 PID: 266 Comm: systemd-udevd Not tainted 4.10.0-rc8 #1
[    7.850085] Call Trace:
[    7.850095] [c00000023df632d0] [c00000000235ff24] dump_stack+0xb4/0xf4 (unreliable)
[    7.850109] [c00000023df63310] [c000000001e06754] check_preemption_disabled+0x164/0x170
[    7.850120] [c00000023df633a0] [c000000001832508] iommu_range_alloc+0x98/0x3e0
[    7.850131] [c00000023df63450] [c000000001832ad4] iommu_alloc+0x64/0x170
[    7.850141] [c00000023df634a0] [c000000001833fe0] iommu_map_page+0xd0/0x1d0
[    7.850150] [c00000023df63530] [c0000000018320d8] dma_iommu_map_page+0x58/0xa0
[    7.850163] [c00000023df63550] [d0000000049a3c78] ibmvscsi_probe+0x138/0xa94 [ibmvscsi]
[    7.850175] [c00000023df63630] [c0000000018951c4] vio_bus_probe+0x1a4/0x460
[    7.850186] [c00000023df636d0] [c000000001f3a490] driver_probe_device+0x300/0x5a0
[    7.850196] [c00000023df63760] [c000000001f3a89c] __driver_attach+0x16c/0x170
[    7.850207] [c00000023df637e0] [c000000001f3701c] bus_for_each_dev+0x8c/0xf0
[    7.850217] [c00000023df63830] [c000000001f398d8] driver_attach+0x38/0x50
[    7.850228] [c00000023df63850] [c000000001f39118] bus_add_driver+0x308/0x390
[    7.850238] [c00000023df638e0] [c000000001f3bb60] driver_register+0xa0/0x180
[    7.850248] [c00000023df63950] [c000000001892848] __vio_register_driver+0x68/0xc0
[    7.850262] [c00000023df639d0] [d0000000049a4664] init_module+0x90/0xcc [ibmvscsi]
[    7.850273] [c00000023df63a00] [c0000000017fd24c] do_one_initcall+0x6c/0x1d0
[    7.850284] [c00000023df63ac0] [c00000000235e8f4] do_init_module+0x98/0x264
[    7.850295] [c00000023df63b50] [c00000000198a248] load_module+0x25d8/0x28b0
[    7.850306] [c00000023df63d30] [c00000000198a860] SyS_finit_module+0xf0/0x170
[    7.850318] [c00000023df63e30] [c0000000017fb184] system_call+0x38/0xe0

There are several such traces during boot. Have attached the dmesg.log.

Thanks
-Sachin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg.log
Type: application/octet-stream
Size: 34989 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20170216/f1cbd766/attachment-0001.obj>


More information about the Linuxppc-dev mailing list