On Tue, 29 May 2018 09:55:44 +0200, Daniel Danzberger wrote:
On 05/27/2018 01:08 PM, Takashi Iwai wrote:
On Sun, 27 May 2018 11:34:07 +0200, Daniel Danzberger wrote:
On 05/25/2018 02:20 PM, Takashi Iwai wrote:> It's likely because of the cache coherency issue on ARM.
Currently USB-audio driver uses the buffer via vmalloc() for the intermediate buffer, and this may go out of sync on non-coherent arch like ARM.
Does the patch below help? Not sure whether it works on ARM at all, as I've tested only on x86.
Your patch works. I cannot reproduce the issue anymore. Thanks.
Good to hear. Below is the revised version, so that the behavior can be controlled via use_vmalloc option for snd-usb-audio module. Could you check whether this still works?
it works.
OK, I'll queue the patch for 4.18.
thanks,
Takashi