{"push_id":1488560254,"size":3,"distinct_size":3,"ref":"refs/heads/mi5","head":"72d6b21693d3f9309ac639f32c8630d51848656b","before":"dfca99db247eb29312f78514adb85db85274af71","commits":[{"sha":"87897c82cd97586049621baaaef164fc53f22af4","author":{"name":"Axel Lin","email":"439824e56c03fefbb279ae8bcff31e6846195d73@ingics.com"},"message":"PM / devfreq: Add proper locking around list_del()\n\nUse devfreq_list_lock around list_del() to prevent list corruption.\n\nSigned-off-by: Axel Lin <axel.lin@ingics.com>\nAcked-by: MyungJoo Ham <myungjoo.ham@samsung.com>\nSigned-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>","distinct":true,"url":"https://api.github.com/repos/hohoxu/n5kernel/commits/87897c82cd97586049621baaaef164fc53f22af4"},{"sha":"3acc3141acf6a16e3f91749af489ddf06d381123","author":{"name":"Chanwoo Choi","email":"9a03868aa5d2a52e5bbb29bca55272c78d72581a@samsung.com"},"message":"PM / devfreq: Fix the bug of devfreq_add_device when governor is NULL\n\nThis patch fixes the bug of devfreq_add_device(). The devfreq device must\nhave the default governor. If find_devfreq_governor() returns error,\ndevfreq_add_device() fail to add the devfreq instance.\n\nFixes: 1b5c1be2c88e (PM / devfreq: map devfreq drivers to governor using name)\nSigned-off-by: Chanwoo Choi <cw00.choi@samsung.com>\nSigned-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>","distinct":true,"url":"https://api.github.com/repos/hohoxu/n5kernel/commits/3acc3141acf6a16e3f91749af489ddf06d381123"},{"sha":"72d6b21693d3f9309ac639f32c8630d51848656b","author":{"name":"Ioan-Adrian Ratiu","email":"a46998b0b8da1bfb9915a608af880075c963865e@adirat.com"},"message":"ALSA: usb-audio: Fix irq/process data synchronization\n\nCommit 16200948d83 (\"ALSA: usb-audio: Fix race at stopping the stream\") was\nincomplete causing another more severe kernel panic, so it got reverted.\nThis fixes both the original problem and its fallout kernel race/crash.\n\nThe original fix is to move the endpoint member NULL clearing logic inside\nwait_clear_urbs() so the irq triggering the urb completion doesn't call\nretire_capture/playback_urb() after the NULL clearing and generate a panic.\n\nHowever this creates a new race between snd_usb_endpoint_start()'s call\nto wait_clear_urbs() and the irq urb completion handler which again calls\nretire_capture/playback_urb() leading to a new NULL dereference.\n\nWe keep the EP deactivation code in snd_usb_endpoint_start() because\nremoving it will break the EP reference counting (see [1] [2] for info),\nhowever we don't need the \"can_sleep\" mechanism anymore because a new\nfunction was introduced (snd_usb_endpoint_sync_pending_stop()) which\nsynchronizes pending stops and gets called inside the pcm prepare callback.\n\nIt also makes sense to remove can_sleep because it was also removed from\ndeactivate_urbs() signature in [3] so we benefit from more simplification.\n\n[1] commit 015618b90 (\"ALSA: snd-usb: Fix URB cancellation at stream start\")\n[2] commit e9ba389c5 (\"ALSA: usb-audio: Fix scheduling-while-atomic bug in PCM capture stream\")\n[3] commit ccc1696d5 (\"ALSA: usb-audio: simplify endpoint deactivation code\")\n\nFixes: f8114f8583bb (\"Revert \"ALSA: usb-audio: Fix race at stopping the stream\"\")\n\nSigned-off-by: Ioan-Adrian Ratiu <adi@adirat.com>\nSigned-off-by: Takashi Iwai <tiwai@suse.de>","distinct":true,"url":"https://api.github.com/repos/hohoxu/n5kernel/commits/72d6b21693d3f9309ac639f32c8630d51848656b"}]}
{"actor":{"display_login":"hohoxu"}}