1. 09 Jan, 2018 1 commit
  2. 08 Jan, 2018 3 commits
    • Takashi Iwai's avatar
      ALSA: pcm: Allow aborting mutex lock at OSS read/write loops · 900498a3
      Takashi Iwai authored
      PCM OSS read/write loops keep taking the mutex lock for the whole
      read/write, and this might take very long when the exceptionally high
      amount of data is given.  Also, since it invokes with mutex_lock(),
      the concurrent read/write becomes unbreakable.
      
      This patch tries to address these issues by replacing mutex_lock()
      with mutex_lock_interruptible(), and also splits / re-takes the lock
      at each read/write period chunk, so that it can switch the context
      more finely if requested.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      900498a3
    • Takashi Iwai's avatar
      ALSA: pcm: Abort properly at pending signal in OSS read/write loops · 29159a4e
      Takashi Iwai authored
      The loops for read and write in PCM OSS emulation have no proper check
      of pending signals, and they keep processing even after user tries to
      break.  This results in a very long delay, often seen as RCU stall
      when a huge unprocessed bytes remain queued.  The bug could be easily
      triggered by syzkaller.
      
      As a simple workaround, this patch adds the proper check of pending
      signals and aborts the loop appropriately.
      
      Reported-by: syzbot+993cb4cfcbbff3947c21@syzkaller.appspotmail.com
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      29159a4e
    • Kailang Yang's avatar
      ALSA: hda/realtek - update ALC225 depop optimize · da911b1f
      Kailang Yang authored
      Add ALC225 its own depop functions for alc_init and alc_shutup.
      Add depop optimize step for headset mode functions.
      Signed-off-by: default avatarKailang Yang <kailang@realtek.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      da911b1f
  3. 05 Jan, 2018 31 commits
  4. 04 Jan, 2018 5 commits