[PATCH v2 2/2] Documentation: DT: Exynos: Bind SRAM though DT

Arnd Bergmann arnd at arndb.de
Fri May 2 01:53:44 PDT 2014

On Friday 02 May 2014 10:36:20 Sachin Kamat wrote:
> +       sram at 02020000 {
> +               compatible = "mmio-sram";
> +               reg = <0x02020000 0x54000>;
> +               #address-cells = <1>;
> +               #size-cells = <1>;
> +               ranges = <0 0x02020000 0x54000>;
> +

That is actually quite a lot of unused SRAM. Since it came up this
morning in another thread, there may be value in using this for
coherent DMA allocations for some devices. Not sure about how
to best hook this up, but there could be some serious performance
improvements. A typical case would be DMA descriptors for a
gigabit ethernet adapter, which are a pain to maintain on platforms
without cache-coherent DMA.

You could check what drivers you have that call dma_alloc_coherent,
and see if any of them are performance-critical, then hack them
up to use this memory instead as an experiment.


More information about the linux-arm-kernel mailing list