Hi,
I'm facing a problem with the PCI on the DM816x evm.
I have a PCI device with 2 BARs. Those BARs are mapped to user-space with mmap(). I then make 32-bits read/write accesses from my driver and from user-space. On x86 platforms, this works perfectly.
However, on the DM816x, the read operations from user-space generate a 64 bytes length read request on the PCI bus (verified using a hardware PCIe analyzer). This seems to happen only from user-space, not from the kernel, so I guess this has something to do with mmap().
Doing 32-bits accesses is important for me because those reads/writes have side effects. Of course the PREFETCHABLE PCI flag is not set.
Any help is welcome,
Julien.