Wind River Support Network

HomeDefectsLIN5-18841
Fixed

LIN5-18841 : [wrLinux501 Async BSP altera-socfpga] There are call trace with kernel option MSI enabled when booting cyclone target with PCIe enabled on preempt-rt kernel

Created: May 29, 2014    Updated: Dec 19, 2017
Resolved Date: May 30, 2014
Found In Version: 5.0.1.16
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 with kernel option MSI enabled when booting cyclone target with PCIe enabled on preempt-rt kernel as follow:

-----------[ cut here ]------------
WARNING: at /buildarea3/fast_build/BUILD/build-socfpga-pcie-rt/bitbake_build/tmp/work/altera_socfpga-wrs-linux-gnueabi/linux-windriver-3.4-r0/linux/kernel/irq/handle.c:154 handle_irq_event_percpu+0x42c/0x43c()
irq 258 handler irq_default_primary_handler+0x0/0x1c enabled interrupts
Modules linked in:
[<800181ac>] (unwind_backtrace+0x0/0x104) from [<80655b28>] (dump_stack+0x20/0x24)
[<80655b28>] (dump_stack+0x20/0x24) from [<80025920>] (warn_slowpath_common+0x64/0x74)
[<80025920>] (warn_slowpath_common+0x64/0x74) from [<800259ec>] (warn_slowpath_fmt+0x40/0x48)
[<800259ec>] (warn_slowpath_fmt+0x40/0x48) from [<800a6a58>] (handle_irq_event_percpu+0x42c/0x43c)
[<800a6a58>] (handle_irq_event_percpu+0x42c/0x43c) from [<800a6ab4>] (handle_irq_event+0x4c/0x6c)
[<800a6ab4>] (handle_irq_event+0x4c/0x6c) from [<800a9270>] (handle_simple_irq+0xa4/0xc4)
[<800a9270>] (handle_simple_irq+0xa4/0xc4) from [<800a5f2c>] (generic_handle_irq+0x30/0x40)
[<800a5f2c>] (generic_handle_irq+0x30/0x40) from [<803b1cb8>] (altera_pci_msi_isr+0xb4/0xc8)
[<803b1cb8>] (altera_pci_msi_isr+0xb4/0xc8) from [<800a77f8>] (irq_forced_thread_fn+0x30/0x74)
[<800a77f8>] (irq_forced_thread_fn+0x30/0x74) from [<800a758c>] (irq_thread+0x1a8/0x1d4)
[<800a758c>] (irq_thread+0x1a8/0x1d4) from [<8004c4b0>] (kthread+0x98/0x9c)
[<8004c4b0>] (kthread+0x98/0x9c) from [<8000faec>] (kernel_thread_exit+0x0/0x8)
---[ end trace 0000000000000002 ]---
IP-Config: Complete:
     device=eth0, addr=128.224.163.2, mask=255.255.254.0, gw=128.224.162.1
     host=128.224.163.2, domain=, nis-domain=(none)
     bootserver=128.224.165.20, rootserver=128.224.165.20, rootpath=
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect 

Steps to Reproduce

1. configure and build project

--enable-board=altera-socfpga --enable-kernel=preempt-rt+altera-socfpga-pcie.scc --enable-rootfs=glibc-std --enable-jobs=8 --enable-parallel-pkgbuilds=8 --enable-test

2. boot the target with the following uboot command

SOCFPGA_CYCLONE5 # tftp $fpgadata soc_system.rbf (or pcie_rp_ed_5csxfc6.rbf)
SOCFPGA_CYCLONE5 # fpga load 0 $fpgadata $filesize;run bridge_enable_handoff
SOCFPGA_CYCLONE5 # tftp $loadaddr zImage
SOCFPGA_CYCLONE5 # tftp $fdtaddr socfpga_cyclone5.dtb
SOCFPGA_CYCLONE5 # setenv bootargs 'xxx'
SOCFPGA_CYCLONE5 # bootz $loadaddr - $fdtaddr

Other Downloads


Live chat
Online