aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-07-17 15:22:33 +0200
committerTakashi Iwai <tiwai@suse.de>2015-07-17 15:36:54 +0200
commit67756e3191c90e7c0b94b8b2fb63de255b6cd337 (patch)
tree7dbfd888abec6ba2edfeee85967f6a72d55758e4 /tools/perf/scripts/python/netdev-times.py
parentALSA: hda/realtek: Enable HP amp and mute LED on HP Folio 9480m [v3] (diff)
ALSA: pcm: Fix lockdep warning with nonatomic PCM ops
With the nonatomic PCM ops, the system may spew lockdep warnings like: ============================================= [ INFO: possible recursive locking detected ] 4.2.0-rc1-jeejaval3 #12 Not tainted --------------------------------------------- aplay/4029 is trying to acquire lock: (snd_pcm_link_rwsem){.+.+.+}, at: [<ffffffff816fd473>] snd_pcm_stream_lock+0x43/0x60 but task is already holding lock: (snd_pcm_link_rwsem){.+.+.+}, at: [<ffffffff816fcf29>] snd_pcm_action_nonatomic+0x29/0x80 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(snd_pcm_link_rwsem); lock(snd_pcm_link_rwsem); Although this is false-positive as the rwsem is taken always as read-only for these code paths, it's certainly annoying to see this at any occasion. A simple fix is to use down_read_nested() in snd_pcm_stream_lock() that can be called inside another lock. Reported-by: Vinod Koul <vinod.koul@intel.com> Reported-by: Jeeja Kp <jeeja.kp@intel.com> Tested-by: Jeeja Kp <jeeja.kp@intel.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
?s=128&d=retro' />Luis Chamberlain1-6/+6 2018-11-11net: ethernet: Convert phydev advertize and supported from u32 to link modeAndrew Lunn1-1/+1 2018-09-12net: ethernet: Use phy_set_max_speed() to limit advertised speedAndrew Lunn1-2/+2 2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1 2017-06-16networking: introduce and use skb_put_data()Johannes Berg1-1/+2 2017-03-22net: greth: Utilize of_get_mac_address()Tobias Klauser1-5/+5 2017-02-05aeroflex/greth: use napi_complete_done()Eric Dumazet1-1/+1 2016-11-13net: phy: expose phy_aneg_done API for use by driversLendacky, Thomas1-9/+0 2016-08-08net: ethernet: greth: use phy_ethtool_{get|set}_link_ksettingsPhilippe Reynes1-21/+2 2016-08-08net: ethernet: greth: use phydev from struct net_devicePhilippe Reynes2-13/+11 2016-05-20aeroflex/greth: fix warning about unused variableSam Ravnborg1-1/+1 2016-01-07mdio: Move allocation of interrupts into coreAndrew Lunn2-6/+0 2015-10-16drivers/net: get rid of unnecessary initializations in .get_drvinfo()Ivan Vecera1-2/+0 2015-03-17net: greth: constify of_device_id arrayFabian Frederick1-1/+1 2014-10-20net: ethernet: aeroflex: drop owner assignment from platform_driversWolfram Sang1-1/+0