On Wed, 1 Jul 2020 13:25:07 +0100 (BST) Mark Hills <mark@xxxxxxxx> wrote: > On Mon, 29 Jun 2020, Giuliano Pochini wrote: > > > Since I could not reproduce that problem before, except in some rare > > random circumstances, I'm not a good tester at all. At most I can say > > that your patch does not make things worse :) > > What software are you using on the device, and are you using x86_64 and > dmix? > > I think some issues might be exaggerated by dmix which has a unique way > of opening the device several times. And then chromium exercises dmix a > lot with all of its threads/forks. That would I presume be how it > exercises races between pcm_pointer and interrupts. x86_64 now. When I wrote the driver I had a powermac. I also can test it on a x86_32 laptop with an Indigo-IO card. I tested both plughw and dmix, but I don't use the latter often. -- Giuliano.