Tool/software: Linux
Hi,
a customer is getting an error
omap_l3_noc 44000000.ocp: L3 application error: target 5 mod:1 (unclearable)
the error message that we are seeing with an FPGA connected via PCIe.
Immediately after the FPGA is programmed, we load the driver and it accesses the first 32-bit word of BAR 0. We call pci_iomap (so it is noncached) on the BAR before reading the word by calling ioread32. The relevant parts of /proc/iomem are below. We are reading the first word of the BAR at 24400000 which is mapped to kernel address d5f18000.
20013000-2fffffff : MEM
20020000-2002ffff : 0000:00:00.0
20100000-201fffff : 0000:00:00.0
24000000-2fffffff : PCI Bus 0000:01
24000000-243fffff : 0000:01:00.0
24000000-243fffff : plda
24400000-24403fff : 0000:01:00.0
24400000-24403fff : plda
28000000-2fffffff : 0000:01:00.0
28000000-2fffffff : plda
…
80000000-feffffff : System RAM
80008000-80dfffff : Kernel code
81000000-81098bab : Kernel data
200000000-27fcfffff : System RAM
We have a logic analyzer connected to a board and do not see anything wrong with the PCI reads/writes.
I think this is different from the last time we were getting omap_l3_noc errors - that was user space accesses to the BARs through cached mappings which was probably causing bursting on the PCIE bus. The error back then was solved by making sure the BARs are uncached.
This time it is kernel space access.
We have been looking at the end of this e2e thread, where I similar error occurs. There are some hints but finding a root cause to these errors is difficult.
Could you let us know if you have seen these omap_l3_noc errors in combination with PCIe accesses? How should we best trace down this error?
Regards,
--Gunter