kernel_optimize_test/sound/firewire/tascam
Takashi Sakamoto 04b2d9c9c3 ALSA: firewire-tascam: accessing to user space outside spinlock
In hwdep interface of firewire-tascam driver, accessing to user space is
in a critical section with disabled local interrupt. Depending on
architecture, accessing to user space can cause page fault exception. Then
local processor stores machine status and handle the synchronous event. A
handler corresponding to the event can call task scheduler to wait for
preparing pages. In a case of usage of single core processor, the state to
disable local interrupt is worse because it doesn't handle usual interrupts
from hardware.

This commit fixes this bug, by performing the accessing outside spinlock.

Reported-by: Vaishali Thakkar <vaishali.thakkar@oracle.com>
Cc: stable@vger.kernel.org
Fixes: e5e0c3dd257b('ALSA: firewire-tascam: add hwdep interface')
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2016-08-31 14:24:37 +02:00
..
amdtp-tascam.c ALSA: firewire-tascam: add data block processing layer 2015-10-02 18:17:01 +02:00
Makefile ALSA: firewire-tascam: add support for MIDI functionality 2015-10-12 14:16:18 +02:00
tascam-hwdep.c ALSA: firewire-tascam: accessing to user space outside spinlock 2016-08-31 14:24:37 +02:00
tascam-midi.c ALSA: firewire-tascam: add support for MIDI functionality 2015-10-12 14:16:18 +02:00
tascam-pcm.c ALSA: firewire-tascam: add hwdep interface 2015-10-02 18:17:04 +02:00
tascam-proc.c ALSA: firewire-tascam: add proc node to show firmware information 2015-10-02 18:17:01 +02:00
tascam-stream.c ALSA: firewire-tascam: drop reuse of incoming packet parameter for outgoing packet parameter 2016-05-10 17:03:59 +02:00
tascam-transaction.c ALSA: firewire-tascam: fix NULL pointer dereference when model identification fails 2016-02-05 12:45:59 +01:00
tascam.c ALSA: firewire-tascam: deleyed registration of sound card 2016-04-25 10:40:42 +02:00
tascam.h ALSA: firewire-tascam: deleyed registration of sound card 2016-04-25 10:40:42 +02:00