[alsa-devel] Question on arm64 unaligned faults during playback
Clemens Ladisch
clemens at ladisch.de
Tue Dec 9 09:19:55 CET 2014
Abhilash Kesavan wrote:
> Currently, if I continue to use the SRAM allocation driver, two
> options are working:
> 1) ioremap to ioremap_wc in drivers/misc/sram.c.
> 2) copy_from_user to copy_from_user_toio in sound/core/pcm_lib.c
>
> Which would be the preferred option ?
I don't know how to tell the SRAM allocator to hand out WC memory, but
copy_from_user_toio() is what you would put into your .copy callback.
Regards,
Clemens
More information about the Alsa-devel
mailing list