From: Alexey Brodkin alexey.brod...@synopsys.com
Up until now this driver only worked with data cache disabled.
To make it work with enabled data cache following changes were required:
* Flush Tx/Rx buffer descriptors their modification
* Invalidate Tx/Rx buffer descriptors before reading its
Hi Alexey,
On 22.01.2014 17:49, Alexey Brodkin wrote:
From: Alexey Brodkin alexey.brod...@synopsys.com
Up until now this driver only worked with data cache disabled.
To make it work with enabled data cache following changes were required:
* Flush Tx/Rx buffer descriptors their modification
Hello Alexey,
In general, a very nice, clean patch.
+ /* Flush modified buffer descriptor */
+ flush_dcache_range((unsigned long)desc_p,
+(unsigned long)desc_p + sizeof(struct dmamacdescr));
+
If I remember correctly, there is some bit that tells you if the
Hi Mischa,
On Wed, 2014-01-22 at 17:10 +, Mischa Jonker wrote:
Hello Alexey,
In general, a very nice, clean patch.
+ /* Flush modified buffer descriptor */
+ flush_dcache_range((unsigned long)desc_p,
+ (unsigned long)desc_p + sizeof(struct dmamacdescr));
4 matches
Mail list logo