Wind River Support Network

HomeDefectsLIN5-18819
Fixed

LIN5-18819 : [wrLinux501 Async BSP altera-socfpga] There are call trace when booting cyclone target with PCIe enabled and show PCI info with command "lspci -v"

Created: May 29, 2014    Updated: Dec 19, 2017
Resolved Date: May 29, 2014
Found In Version: 5.0.1
Fix Version: 5.0.1.16
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: BSP - Async

Description

On wrLinux501 Async BSP altera-socfpga, there are call trace when booting cyclone target with PCIe enabled and show PCI info with command "lspci -v" as follow:

root@localhost:/opt/wr-test/testcases/bts/PCI# lspci -v
BUG: sleeping function called from invalid context at /altera-socfpga-std-git/bitbake_build/tmp/work/altera_socfpga-wrs-linux-gnueabi/linux-windrive3
in_atomic(): 1, irqs_disabled(): 128, pid: 1014, name: lspci
3 locks held by lspci/1014:
 #0:  (&bb->mutex){......}, at: [<801a5280>] read+0x84/0x1ec
 #1:  (s_active#41){......}, at: [<801a52a8>] read+0xac/0x1ec
 #2:  (pci_lock){......}, at: [<803a708c>] pci_user_read_config_dword+0x44/0xb4
[<80018218>] (unwind_backtrace+0x0/0x104) from [<8068fb98>] (dump_stack+0x20/0x24)
[<8068fb98>] (dump_stack+0x20/0x24) from [<80059fac>] (__might_sleep+0x130/0x134)
[<80059fac>] (__might_sleep+0x130/0x134) from [<80130104>] (kmem_cache_alloc_trace+0x158/0x268)
[<80130104>] (kmem_cache_alloc_trace+0x158/0x268) from [<803bb644>] (tlp_cfg_dword_read+0x70/0x164)
[<803bb644>] (tlp_cfg_dword_read+0x70/0x164) from [<803bb9ac>] (altera_pcie_cfg_read+0x74/0xa0)
[<803bb9ac>] (altera_pcie_cfg_read+0x74/0xa0) from [<803a70c4>] (pci_user_read_config_dword+0x7c/0xb4)
[<803a70c4>] (pci_user_read_config_dword+0x7c/0xb4) from [<803b12c0>] (pci_read_config+0x108/0x3ec)
[<803b12c0>] (pci_read_config+0x108/0x3ec) from [<801a52dc>] (read+0xe0/0x1ec)
[<801a52dc>] (read+0xe0/0x1ec) from [<8013dca4>] (vfs_read+0xb4/0x144)
[<8013dca4>] (vfs_read+0xb4/0x144) from [<8013e000>] (sys_pread64+0x84/0x14c)
[<8013e000>] (sys_pread64+0x84/0x14c) from [<8000e7e0>] (ret_fast_syscall+0x0/0x48)
00:00.0 PCI bridge: Altera Corporation Device e000 (rev 01) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 00000000-00000fff
        Memory behind bridge: c0000000-c02fffff
        Prefetchable memory behind bridge: 00000000-000fffff
        Capabilities: [50] MSI: Enable- Count=1/4 Maskable- 64bit+
        Capabilities: [78] Power Management version 3
        Capabilities: [80] Express Root Port (Slot-), MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [200] Vendor Specific Information: ID=1172 Rev=0 Len=044 <?>
        Kernel driver in use: pcieport

01:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
        Subsystem: Intel Corporation Ethernet Server Adapter I210-T1
        Flags: bus master, fast devsel, latency 0, IRQ 72
        Memory at c0000000 (32-bit, non-prefetchable) [size=1M]
        Memory at c0200000 (32-bit, non-prefetchable) [size=16K]
        [virtual] Expansion ROM at c0100000 [disabled] [size=1M]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
        Capabilities: [70] MSI-X: Enable- Count=5 Masked-
        Capabilities: [a0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number a0-36-9f-ff-ff-1d-d0-4a
        Capabilities: [1a0] Transaction Processing Hints
        Kernel driver in use: igb

Other Downloads


Live chat
Online