AnsweredAssumed Answered

How enable cache on PCIe in i.MX6?

Question asked by mas sohy on Sep 2, 2018
Latest reply on Sep 3, 2018 by igorpadykov

Dear All,


I am using i.MX6 as PCIe RC. I will write data via PCIe to EP device by ARM CPU.

I want to write with as much as possible large TLP packet by ARM CPU in i.MX6, but I can only 8 byte with memcpy() in yocto linux.

I referred the community, I found that i.MX6 can write by 32 byte unit at PCIe cached.


I referred to patch code attached to

I thought it will be ok that I modify pci-imx6.c , but this patch had many different from my driver. And, I thought many codes of modification of its patch was for EP side.  


Please tell me, how can I enable cache on PCIe? If cache is enable, then can I write over 8 bytes unit TLP packet from ARM CPU in RC side i.MX6?


And, if I use PCIe with cached, is that system able to use stable?


Best Regards,