6 Feb
2015
6 Feb
'15
5:10 p.m.
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@samsung.com Tested-by: Tony Lindgren tony@atomide.com Tested-by: Heiko Stuebner heiko@sntech.de
Acked-by: Philipp Zabel p.zabel@pengutronix.de
regards Philipp