[alsa-devel] [PATCH 0/2] ALSA: fireworks/firewire-tascam: accessing to user space outside spinlock

Takashi Sakamoto o-takashi at sakamocchi.jp
Fri Aug 26 22:50:07 CEST 2016


Hi,

In ALSA fireworks driver and firewire-tascam driver, current implementation
for hwdep interface have issues for page fault handling. For example,
when using single core processor, after executing lock_page() in page fault
handler and call task scheduler, then the context never run again, because
any interrupts are disabled by these drivers and the context can't catch
waiting event. This patchset fixes the issues.

The issues were reported by Vaishali Thakkar, with a help of coccinelle.
Thanks a lot for his care to these minor drivers.
http://mailman.alsa-project.org/pipermail/alsa-devel/2016-August/111887.html

Takashi Sakamoto (2):
  ALSA: fireworks: accessing to user space outside spinlock
  ALSA: firewire-tascam: accessing to user space outside spinlock

 sound/firewire/fireworks/fireworks_hwdep.c | 20 ++++++++++++++-----
 sound/firewire/tascam/tascam-hwdep.c       | 32 ++++++++++--------------------
 2 files changed, 25 insertions(+), 27 deletions(-)

-- 
2.7.4



More information about the Alsa-devel mailing list