[U-Boot] [PATCH v4] nios2: convert dma_alloc_coherent to use malloc_cache_aligned

Marek Vasut
2015-10-17T11:52:40Z

On Saturday, October 17, 2015 at 04:59:06 AM, Thomas Chou wrote:
> On 10/17/2015 06:56 AM, Marek Vasut wrote:
> >> But nios2 cpu with 4 bytes
> >> dcache line size does not support this instruction. So we don't
> >> implement the invalidate_dcache_range/all() in u-boot yet.
> >
> > Where did you find this information ?
>
> Please find it on the foot note of table 7, page 8 of "Nios II Core
> Implementation Detail" manual,
>
> The 4-byte line data cache implementation substitutes the flushd
> instruction for the flushda
> instruction and triggers an unimplemented instruction exception for the
> initda instruction. The
> 16-byte and 32-byte line data cache implementations fully support the
> flushda and initda
> instructions.

I see, thank you for looking it up for me. This inconsistency is sad :-(

Best regards,
Marek Vasut