[alsa-devel] [PATCH v2 3/3] misc: sram: switch to ioremap_wc from ioremap

Philipp Zabel p.zabel at pengutronix.de
Fri Feb 6 17:10:07 CET 2015


Am Freitag, den 06.02.2015, 19:15 +0530 schrieb Abhilash Kesavan:
> Currently, the SRAM allocator returns device memory via ioremap.
> This causes issues on ARM64 when the internal SoC SRAM allocated by
> the generic sram driver is used for audio playback. The destination
> buffer address (which is ioremapped SRAM) is not 64-bit aligned for
> certain streams (e.g. 44.1k sampling rate). In such cases we get
> unhandled alignment faults. Use ioremap_wc in place of ioremap which
> gives us normal non-cacheable memory instead of device memory.
> 
> Signed-off-by: Abhilash Kesavan <a.kesavan at samsung.com>
> Tested-by: Tony Lindgren <tony at atomide.com>
> Tested-by: Heiko Stuebner <heiko at sntech.de>

Acked-by: Philipp Zabel <p.zabel at pengutronix.de>

regards
Philipp




More information about the Alsa-devel mailing list