Hello,
I am trying to port/cross compile a pcie driver for a XILINX FPGA endpoint device to our DM8148 EVM Board (TMDXEVM8148 from Mistral), but for some reason, when a PCI read is performed, the error below occurs. This driver runs well on Ubuntu 10.04, but on Arago, it's failing whenever a read is performed.
Unhandled fault: Precise External Abort on non-linefetch (0x1018)
Writes can be executed without issue, but when a read is attempted, regardless of whether the interface is file I/O or mmap, the error listed above results. In this particular kernel configuration, I deactivated MSI, but the error will occur when MSI is activated as well.
I've activated PCI debugging in the kernel and when the error occurs, the following debug data is provided:
ti81xx_pcie: Data abort: address = 0x4056d000 fsr = 0x1018 PC =0x00008efc LR = 0x402c99e4
There's a lot of data printed to the screen when PCI debugging is activated, so in order to provide the output from "lspci -v" minus the debug print statements, I rebuilt the kernel with PCI DEBUG deactivated, and rebooted the DM8148EVM Board.
root@dm814x-evm:~/Linux_Driver# ./lspci -v
00:00.0 Class 0604: Device 104c:8888 (rev 01)
Flags: bus master, fast devsel, latency 0
Memory at <ignored> (32-bit, non-prefetchable)
Memory at <ignored> (32-bit, prefetchable)
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: 20000000-200fffff
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Root Port (Slot-), MSI 00
Capabilities: [100] Advanced Error Reporting
01:00.0 Class 0580: Device 10ee:0505
Flags: fast devsel, IRQ 48
Memory at 20000000 (32-bit, non-prefetchable) [size=64K]
Memory at 20010000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [60] Express Endpoint, MSI 00
Capabilities: [100] Device Serial Number 00-00-00-00-00-00-00-00
root@dm814x-evm:~/Linux_Driver#
Any help with this issue would be greatly appreciated,
Thanks,
Dave