Re: [patch added to the 3.12 stable tree] ALSA: hda - Fix possible races in HDMI driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/12/2014 11:45 AM, Takashi Iwai wrote:
> At Wed, 12 Mar 2014 11:29:38 +0100,
> Jiri Slaby wrote:
>>
>> From: Takashi Iwai <tiwai@xxxxxxx>
>>
>> This patch has been added to the 3.12 stable tree. If you have any
>> objections, please let us know.
>>
>> ===============
>>
>> commit cbbaa603a03cc46681e24d6b2804b62fde95a2af upstream.
>>
>> Some per_pin fields and ELD contents might be changed dynamically in
>> multiple ways where the concurrent accesses are still opened in the
>> current code.  This patch fixes such possible races by using eld->lock
>> in appropriate places.
>>
>> Reported-by: Anssi Hannula <anssi.hannula@xxxxxx>
>> Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
>> Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
> 
> This alone leads to a mutex deadlock, and it needs a few more series
> of enhancements and fixes.  So, either take the whole patches or drop
> this.
> 
> a4e9a38b40a0e2f7dad1a0b355896d23fbdd16e0
>   ALSA: hda - Move mutex from hda_eld to per_pin in HDMI codec driver
> b55447a7301b12d509df4b2909ed38d125ad83d4
>   ALSA: hda - Fix typos in patch_hdmi.c
> da4a7a3926d09c13ae052ede67feb7285e01e3f5
>   ALSA: hda - Explicitly keep codec powered up in hdmi_present_sense

Thanks a lot. I added also
8b21f921b5c919b3cf3b0d6a0d3410076b2fd639
  ALSA: hda - Delay HDMI presence

So that the last one applies cleanly.

-- 
js
suse labs
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]