{"push_id":984278634,"size":1000,"distinct_size":0,"ref":"refs/heads/caf/3.10/caf/korg/master","head":"388f7b1d6e8ca06762e2454d28d6c3c55ad0fe95","before":"4ef7675344d687a0ef5b0d7c0cee12da005870c0","commits":[{"sha":"378f956e3f93b7862d89f93411953758491b42cc","author":{"email":"4e9e44ed62740eb0069a3048b48d1aa14bc5154a@intel.com","name":"Souvik Kumar Chakravarty"},"message":"platform/x86: Add Intel Telemetry Core Driver\n\nIntel PM Telemetry is a software mechanism via which various SoC\nPM and performance related parameters like PM counters, firmware\ntrace verbosity, the status of different devices inside the SoC, etc.\ncan be monitored and analyzed. The different samples that may be\nmonitored can be configured at runtime via exported APIs.\n\nThis patch adds the telemetry core driver that implements basic\nexported APIs.\n\nSigned-off-by: Souvik Kumar Chakravarty <souvik.k.chakravarty@intel.com>\nSigned-off-by: Darren Hart <dvhart@linux.intel.com>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/378f956e3f93b7862d89f93411953758491b42cc"},{"sha":"9d16b482b059d784137881f3ec4bb121c5a2e6ee","author":{"email":"4e9e44ed62740eb0069a3048b48d1aa14bc5154a@intel.com","name":"Souvik Kumar Chakravarty"},"message":"platform:x86: Add Intel telemetry platform driver\n\nTelemetry platform driver implements the telemetry interfaces.\nCurrently it supports ApolloLake. It uses the PUNIT and PMC IPC\ninterfaces to configure the telemetry samples to read.\nThe samples are read from a Secure SRAM region.\n\nSigned-off-by: Souvik Kumar Chakravarty <souvik.k.chakravarty@intel.com>\nSigned-off-by: Darren Hart <dvhart@linux.intel.com>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/9d16b482b059d784137881f3ec4bb121c5a2e6ee"},{"sha":"48c1917088ba00af25a0afc13de7403d6a80b06d","author":{"email":"4e9e44ed62740eb0069a3048b48d1aa14bc5154a@intel.com","name":"Souvik Kumar Chakravarty"},"message":"platform:x86: Add Intel telemetry platform device\n\nTelemetry Device is created by the pmc_ipc driver. Resources\nare populated according SSRAM region as indicated by the BIOS tables.\n\nSigned-off-by: Souvik Kumar Chakravarty <souvik.k.chakravarty@intel.com>\nSigned-off-by: Darren Hart <dvhart@linux.intel.com>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/48c1917088ba00af25a0afc13de7403d6a80b06d"},{"sha":"87bee290998d062937eecf40ad409480e7281b0e","author":{"email":"4e9e44ed62740eb0069a3048b48d1aa14bc5154a@intel.com","name":"Souvik Kumar Chakravarty"},"message":"platform:x86: Add Intel Telemetry Debugfs interfaces\n\nThis implements debugfs interfaces for reading the telemetry\nsamples from SSRAM and configuring firmware trace verbosity.\nInterface created under /sys/kernel/debug/telemetry\nsoc_states: SoC Device and Low Power States\npss_info: Info from the Primary SubSystem\nioss_info: Info from IO SubSusytem\npss_trace_verbosity: Read/Modify PSS F/W trace verbosity\nioss_trace_verbosity: Read/Modify IOSS F/W trace verbosity.\n\nSigned-off-by: Souvik Kumar Chakravarty <souvik.k.chakravarty@intel.com>\nSigned-off-by: Darren Hart <dvhart@linux.intel.com>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/87bee290998d062937eecf40ad409480e7281b0e"},{"sha":"6d5ac6e1771e30137ba1a2898885102b8bc21851","author":{"email":"d2a83b77f1b9239cf0d5985a38beaa4d6540624d@gmail.com","name":"Weng Xuetian"},"message":"surface pro 4: Add support for Surface Pro 4 Buttons\n\nSurface Pro 4 buttons are managed by a device with _HID \"MSHW0040\"\ndifferent from Surface Pro 3.\n\nThis commit adds MSHW0040 to id list to support the Surface Pro 4.\n\nBugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=109871\nSigned-off-by: Weng Xuetian <wengxt@gmail.com>\nAcked-by: Chen Yu <yu.c.chen@intel.com>\nSigned-off-by: Darren Hart <dvhart@linux.intel.com>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/6d5ac6e1771e30137ba1a2898885102b8bc21851"},{"sha":"4bef0a27e414f79e0200f33ab23adeb07965272e","author":{"email":"018ee4f95fc49739477deedb13d2cd210889e607@lip6.fr","name":"Julia Lawall"},"message":"surface pro 4: fix compare_const_fl.cocci warnings\n\nMove constants to the right of binary operators.\n\nGenerated by: scripts/coccinelle/misc/compare_const_fl.cocci\n\nCC: Weng Xuetian <wengxt@gmail.com>\nSigned-off-by: Fengguang Wu <fengguang.wu@intel.com>\nSigned-off-by: Julia Lawall <julia.lawall@lip6.fr>\nSigned-off-by: Darren Hart <dvhart@linux.intel.com>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/4bef0a27e414f79e0200f33ab23adeb07965272e"},{"sha":"2b4015e9fb335aa6982a68dbe6e4158d6c1b10ee","author":{"email":"69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org","name":"Linus Torvalds"},"message":"Merge tag 'platform-drivers-x86-v4.5-1' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86\n\nPull x86 platform driver updates from Darren Hart:\n \"Add intel punit and telemetry driver for APL SoCs.\n  Add intel-hid driver for various laptop hotkey support.\n  Add asus-wireless radio control driver.\n  Keyboard backlight support/improvements for ThinkPads, Vaio, and Toshiba.\n  Several hotkey related fixes and improvements for dell and toshiba.\n  Fix oops on dual GPU Macs in apple-gmux.\n  A few new device IDs and quirks.\n  Various minor config related build issues and cleanups.\n\n  surface pro 4:\n   - fix compare_const_fl.cocci warnings\n   - Add support for Surface Pro 4 Buttons\n\n  platform/x86:\n   - Add Intel Telemetry Debugfs interfaces\n   - Add Intel telemetry platform device\n   - Add Intel telemetry platform driver\n   - Add Intel Telemetry Core Driver\n   - add NULL check for input parameters\n   - add Intel P-Unit mailbox IPC driver\n   - update acpi resource structure for Punit\n\n  thinkpad_acpi:\n   - Add support for keyboard backlight\n\n  dell-wmi:\n   - Process only one event on devices with interface version 0\n   - Check if Dell WMI descriptor structure is valid\n   - Improve unknown hotkey handling\n   - Use a C99-style array for bios_to_linux_keycode\n\n  tc1100-wmi:\n   - fix build warning when CONFIG_PM not enabled\n\n  asus-wireless:\n   - Add ACPI HID ATK4001\n   - Add Asus Wireless Radio Control driver\n\n  asus-wmi:\n   - drop to_platform_driver macro\n\n  intel-hid:\n   - new hid event driver for hotkeys\n\n  sony-laptop:\n   - Keyboard backlight control for some Vaio Fit models\n\n  ideapad-laptop:\n   - Add Lenovo ideapad Y700-17ISK to no_hw_rfkill dmi list\n\n  apple-gmux:\n   - Assign apple_gmux_data before registering\n\n  toshiba_acpi:\n   - Add rfkill dependency to ACPI_TOSHIBA entry\n   - Fix keyboard backlight sysfs entries not being updated\n   - Add WWAN RFKill support\n   - Add support for WWAN devices\n   - Fix blank screen at boot if transflective backlight is supported\n   - Propagate the hotkey value via genetlink\n\n  toshiba_bluetooth:\n   - Add missing newline in toshiba_bluetooth_present function\"\n\n* tag 'platform-drivers-x86-v4.5-1' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86: (29 commits)\n  surface pro 4: fix compare_const_fl.cocci warnings\n  surface pro 4: Add support for Surface Pro 4 Buttons\n  platform:x86: Add Intel Telemetry Debugfs interfaces\n  platform:x86: Add Intel telemetry platform device\n  platform:x86: Add Intel telemetry platform driver\n  platform/x86: Add Intel Telemetry Core Driver\n  intel_punit_ipc: add NULL check for input parameters\n  thinkpad_acpi: Add support for keyboard backlight\n  dell-wmi: Process only one event on devices with interface version 0\n  dell-wmi: Check if Dell WMI descriptor structure is valid\n  tc1100-wmi: fix build warning when CONFIG_PM not enabled\n  asus-wireless: Add ACPI HID ATK4001\n  platform/x86: Add Asus Wireless Radio Control driver\n  asus-wmi: drop to_platform_driver macro\n  intel-hid: new hid event driver for hotkeys\n  Keyboard backlight control for some Vaio Fit models\n  platform/x86: Add rfkill dependency to ACPI_TOSHIBA entry\n  platform:x86: add Intel P-Unit mailbox IPC driver\n  intel_pmc_ipc: update acpi resource structure for Punit\n  ideapad-laptop: Add Lenovo ideapad Y700-17ISK to no_hw_rfkill dmi list\n  ...","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/2b4015e9fb335aa6982a68dbe6e4158d6c1b10ee"},{"sha":"acc308556c812485462b6b43843c3f64530dd843","author":{"email":"e2e8c5702d8ed5f565988a1cf5bb35c9ce199e5e@fb.com","name":"Chris Mason"},"message":"Merge branch 'misc-cleanups-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux into for-linus-4.5","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/acc308556c812485462b6b43843c3f64530dd843"},{"sha":"326f784281fbbdcd91bb401b2a3e32132c0f5c72","author":{"email":"e2e8c5702d8ed5f565988a1cf5bb35c9ce199e5e@fb.com","name":"Chris Mason"},"message":"Merge branch 'misc-for-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux into for-linus-4.5","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/326f784281fbbdcd91bb401b2a3e32132c0f5c72"},{"sha":"fedc00455ccc1f928066528da87b0c7b143de647","author":{"email":"e0fcd583df77ec6c08e6d1257619cc1216ddc994@suse.com","name":"Filipe Manana"},"message":"Btrfs: fix typo in log message when starting a balance\n\nThe recent change titled \"Btrfs: Check metadata redundancy on balance\"\n(already in linux-next) left a typo in a message for users:\nmetatdata -> metadata.\n\nSigned-off-by: Filipe Manana <fdmanana@suse.com>\nSigned-off-by: Chris Mason <clm@fb.com>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/fedc00455ccc1f928066528da87b0c7b143de647"},{"sha":"c2d6cb1636d235257086f939a8194ef0bf93af6e","author":{"email":"e0fcd583df77ec6c08e6d1257619cc1216ddc994@suse.com","name":"Filipe Manana"},"message":"Btrfs: fix deadlock running delayed iputs at transaction commit time\n\nWhile running a stress test I ran into a deadlock when running the delayed\niputs at transaction time, which produced the following report and trace:\n\n[  886.399989] =============================================\n[  886.400871] [ INFO: possible recursive locking detected ]\n[  886.401663] 4.4.0-rc6-btrfs-next-18+ #1 Not tainted\n[  886.402384] ---------------------------------------------\n[  886.403182] fio/8277 is trying to acquire lock:\n[  886.403568]  (&fs_info->delayed_iput_sem){++++..}, at: [<ffffffffa0538823>] btrfs_run_delayed_iputs+0x36/0xbf [btrfs]\n[  886.403568]\n[  886.403568] but task is already holding lock:\n[  886.403568]  (&fs_info->delayed_iput_sem){++++..}, at: [<ffffffffa0538823>] btrfs_run_delayed_iputs+0x36/0xbf [btrfs]\n[  886.403568]\n[  886.403568] other info that might help us debug this:\n[  886.403568]  Possible unsafe locking scenario:\n[  886.403568]\n[  886.403568]        CPU0\n[  886.403568]        ----\n[  886.403568]   lock(&fs_info->delayed_iput_sem);\n[  886.403568]   lock(&fs_info->delayed_iput_sem);\n[  886.403568]\n[  886.403568]  *** DEADLOCK ***\n[  886.403568]\n[  886.403568]  May be due to missing lock nesting notation\n[  886.403568]\n[  886.403568] 3 locks held by fio/8277:\n[  886.403568]  #0:  (sb_writers#11){.+.+.+}, at: [<ffffffff81174c4c>] __sb_start_write+0x5f/0xb0\n[  886.403568]  #1:  (&sb->s_type->i_mutex_key#15){+.+.+.}, at: [<ffffffffa054620d>] btrfs_file_write_iter+0x73/0x408 [btrfs]\n[  886.403568]  #2:  (&fs_info->delayed_iput_sem){++++..}, at: [<ffffffffa0538823>] btrfs_run_delayed_iputs+0x36/0xbf [btrfs]\n[  886.403568]\n[  886.403568] stack backtrace:\n[  886.403568] CPU: 6 PID: 8277 Comm: fio Not tainted 4.4.0-rc6-btrfs-next-18+ #1\n[  886.403568] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS by qemu-project.org 04/01/2014\n[  886.403568]  0000000000000000 ffff88009f80f770 ffffffff8125d4fd ffffffff82af1fc0\n[  886.403568]  ffff88009f80f830 ffffffff8108e5f9 0000000200000000 ffff88009fd92290\n[  886.403568]  0000000000000000 ffffffff82af1fc0 ffffffff829cfb01 00042b216d008804\n[  886.403568] Call Trace:\n[  886.403568]  [<ffffffff8125d4fd>] dump_stack+0x4e/0x79\n[  886.403568]  [<ffffffff8108e5f9>] __lock_acquire+0xd42/0xf0b\n[  886.403568]  [<ffffffff810c22db>] ? __module_address+0xdf/0x108\n[  886.403568]  [<ffffffff8108eb77>] lock_acquire+0x10d/0x194\n[  886.403568]  [<ffffffff8108eb77>] ? lock_acquire+0x10d/0x194\n[  886.403568]  [<ffffffffa0538823>] ? btrfs_run_delayed_iputs+0x36/0xbf [btrfs]\n[  886.489542]  [<ffffffff8148556b>] down_read+0x3e/0x4d\n[  886.489542]  [<ffffffffa0538823>] ? btrfs_run_delayed_iputs+0x36/0xbf [btrfs]\n[  886.489542]  [<ffffffffa0538823>] btrfs_run_delayed_iputs+0x36/0xbf [btrfs]\n[  886.489542]  [<ffffffffa0533953>] btrfs_commit_transaction+0x8f5/0x96e [btrfs]\n[  886.489542]  [<ffffffffa0521d7a>] flush_space+0x435/0x44a [btrfs]\n[  886.489542]  [<ffffffffa052218b>] ? reserve_metadata_bytes+0x26a/0x384 [btrfs]\n[  886.489542]  [<ffffffffa05221ae>] reserve_metadata_bytes+0x28d/0x384 [btrfs]\n[  886.489542]  [<ffffffffa052256c>] ? btrfs_block_rsv_refill+0x58/0x96 [btrfs]\n[  886.489542]  [<ffffffffa0522584>] btrfs_block_rsv_refill+0x70/0x96 [btrfs]\n[  886.489542]  [<ffffffffa053d747>] btrfs_evict_inode+0x394/0x55a [btrfs]\n[  886.489542]  [<ffffffff81188e31>] evict+0xa7/0x15c\n[  886.489542]  [<ffffffff81189878>] iput+0x1d3/0x266\n[  886.489542]  [<ffffffffa053887c>] btrfs_run_delayed_iputs+0x8f/0xbf [btrfs]\n[  886.489542]  [<ffffffffa0533953>] btrfs_commit_transaction+0x8f5/0x96e [btrfs]\n[  886.489542]  [<ffffffff81085096>] ? signal_pending_state+0x31/0x31\n[  886.489542]  [<ffffffffa0521191>] btrfs_alloc_data_chunk_ondemand+0x1d7/0x288 [btrfs]\n[  886.489542]  [<ffffffffa0521282>] btrfs_check_data_free_space+0x40/0x59 [btrfs]\n[  886.489542]  [<ffffffffa05228f5>] btrfs_delalloc_reserve_space+0x1e/0x4e [btrfs]\n[  886.489542]  [<ffffffffa053620a>] btrfs_direct_IO+0x10c/0x27e [btrfs]\n[  886.489542]  [<ffffffff8111d9a1>] generic_file_direct_write+0xb3/0x128\n[  886.489542]  [<ffffffffa05463c3>] btrfs_file_write_iter+0x229/0x408 [btrfs]\n[  886.489542]  [<ffffffff8108ae38>] ? __lock_is_held+0x38/0x50\n[  886.489542]  [<ffffffff8117279e>] __vfs_write+0x7c/0xa5\n[  886.489542]  [<ffffffff81172cda>] vfs_write+0xa0/0xe4\n[  886.489542]  [<ffffffff811734cc>] SyS_write+0x50/0x7e\n[  886.489542]  [<ffffffff814872d7>] entry_SYSCALL_64_fastpath+0x12/0x6f\n[ 1081.852335] INFO: task fio:8244 blocked for more than 120 seconds.\n[ 1081.854348]       Not tainted 4.4.0-rc6-btrfs-next-18+ #1\n[ 1081.857560] \"echo 0 > /proc/sys/kernel/hung_task_timeout_secs\" disables this message.\n[ 1081.863227] fio        D ffff880213f9bb28     0  8244   8240 0x00000000\n[ 1081.868719]  ffff880213f9bb28 00ffffff810fc6b0 ffffffff0000000a ffff88023ed55240\n[ 1081.872499]  ffff880206b5d400 ffff880213f9c000 ffff88020a4d5318 ffff880206b5d400\n[ 1081.876834]  ffffffff00000001 ffff880206b5d400 ffff880213f9bb40 ffffffff81482ba4\n[ 1081.880782] Call Trace:\n[ 1081.881793]  [<ffffffff81482ba4>] schedule+0x7f/0x97\n[ 1081.883340]  [<ffffffff81485eb5>] rwsem_down_write_failed+0x2d5/0x325\n[ 1081.895525]  [<ffffffff8108d48d>] ? trace_hardirqs_on_caller+0x16/0x1ab\n[ 1081.897419]  [<ffffffff81269723>] call_rwsem_down_write_failed+0x13/0x20\n[ 1081.899251]  [<ffffffff81269723>] ? call_rwsem_down_write_failed+0x13/0x20\n[ 1081.901063]  [<ffffffff81089fae>] ? __down_write_nested.isra.0+0x1f/0x21\n[ 1081.902365]  [<ffffffff814855bd>] down_write+0x43/0x57\n[ 1081.903846]  [<ffffffffa05211b0>] ? btrfs_alloc_data_chunk_ondemand+0x1f6/0x288 [btrfs]\n[ 1081.906078]  [<ffffffffa05211b0>] btrfs_alloc_data_chunk_ondemand+0x1f6/0x288 [btrfs]\n[ 1081.908846]  [<ffffffff8108d461>] ? mark_held_locks+0x56/0x6c\n[ 1081.910409]  [<ffffffffa0521282>] btrfs_check_data_free_space+0x40/0x59 [btrfs]\n[ 1081.912482]  [<ffffffffa05228f5>] btrfs_delalloc_reserve_space+0x1e/0x4e [btrfs]\n[ 1081.914597]  [<ffffffffa053620a>] btrfs_direct_IO+0x10c/0x27e [btrfs]\n[ 1081.919037]  [<ffffffff8111d9a1>] generic_file_direct_write+0xb3/0x128\n[ 1081.920754]  [<ffffffffa05463c3>] btrfs_file_write_iter+0x229/0x408 [btrfs]\n[ 1081.922496]  [<ffffffff8108ae38>] ? __lock_is_held+0x38/0x50\n[ 1081.923922]  [<ffffffff8117279e>] __vfs_write+0x7c/0xa5\n[ 1081.925275]  [<ffffffff81172cda>] vfs_write+0xa0/0xe4\n[ 1081.926584]  [<ffffffff811734cc>] SyS_write+0x50/0x7e\n[ 1081.927968]  [<ffffffff814872d7>] entry_SYSCALL_64_fastpath+0x12/0x6f\n[ 1081.985293] INFO: lockdep is turned off.\n[ 1081.986132] INFO: task fio:8249 blocked for more than 120 seconds.\n[ 1081.987434]       Not tainted 4.4.0-rc6-btrfs-next-18+ #1\n[ 1081.988534] \"echo 0 > /proc/sys/kernel/hung_task_timeout_secs\" disables this message.\n[ 1081.990147] fio        D ffff880218febbb8     0  8249   8240 0x00000000\n[ 1081.991626]  ffff880218febbb8 00ffffff81486b8e ffff88020000000b ffff88023ed75240\n[ 1081.993258]  ffff8802120a9a00 ffff880218fec000 ffff88020a4d5318 ffff8802120a9a00\n[ 1081.994850]  ffffffff00000001 ffff8802120a9a00 ffff880218febbd0 ffffffff81482ba4\n[ 1081.996485] Call Trace:\n[ 1081.997037]  [<ffffffff81482ba4>] schedule+0x7f/0x97\n[ 1081.998017]  [<ffffffff81485eb5>] rwsem_down_write_failed+0x2d5/0x325\n[ 1081.999241]  [<ffffffff810852a5>] ? finish_wait+0x6d/0x76\n[ 1082.000306]  [<ffffffff81269723>] call_rwsem_down_write_failed+0x13/0x20\n[ 1082.001533]  [<ffffffff81269723>] ? call_rwsem_down_write_failed+0x13/0x20\n[ 1082.002776]  [<ffffffff81089fae>] ? __down_write_nested.isra.0+0x1f/0x21\n[ 1082.003995]  [<ffffffff814855bd>] down_write+0x43/0x57\n[ 1082.005000]  [<ffffffffa05211b0>] ? btrfs_alloc_data_chunk_ondemand+0x1f6/0x288 [btrfs]\n[ 1082.007403]  [<ffffffffa05211b0>] btrfs_alloc_data_chunk_ondemand+0x1f6/0x288 [btrfs]\n[ 1082.008988]  [<ffffffffa0545064>] btrfs_fallocate+0x7c1/0xc2f [btrfs]\n[ 1082.010193]  [<ffffffff8108a1ba>] ? percpu_down_read+0x4e/0x77\n[ 1082.011280]  [<ffffffff81174c4c>] ? __sb_start_write+0x5f/0xb0\n[ 1082.012265]  [<ffffffff81174c4c>] ? __sb_start_write+0x5f/0xb0\n[ 1082.013021]  [<ffffffff811712e4>] vfs_fallocate+0x170/0x1ff\n[ 1082.013738]  [<ffffffff81181ebb>] ioctl_preallocate+0x89/0x9b\n[ 1082.014778]  [<ffffffff811822d7>] do_vfs_ioctl+0x40a/0x4ea\n[ 1082.015778]  [<ffffffff81176ea7>] ? SYSC_newfstat+0x25/0x2e\n[ 1082.016806]  [<ffffffff8118b4de>] ? __fget_light+0x4d/0x71\n[ 1082.017789]  [<ffffffff8118240e>] SyS_ioctl+0x57/0x79\n[ 1082.018706]  [<ffffffff814872d7>] entry_SYSCALL_64_fastpath+0x12/0x6f\n\nThis happens because we can recursively acquire the semaphore\nfs_info->delayed_iput_sem when attempting to allocate space to satisfy\na file write request as shown in the first trace above - when committing\na transaction we acquire (down_read) the semaphore before running the\ndelayed iputs, and when running a delayed iput() we can end up calling\nan inode's eviction handler, which in turn commits another transaction\nand attempts to acquire (down_read) again the semaphore to run more\ndelayed iput operations.\nThis results in a deadlock because if a task acquires multiple times a\nsemaphore it should invoke down_read_nested() with a different lockdep\nclass for each level of recursion.\n\nFix this by simplifying the implementation and use a mutex instead that\nis acquired by the cleaner kthread before it runs the delayed iputs\ninstead of always acquiring a semaphore before delayed references are\nrun from anywhere.\n\nFixes: d7c151717a1e (btrfs: Fix NO_SPACE bug caused by delayed-iput)\nCc: stable@vger.kernel.org   # 4.1+\nSigned-off-by: Filipe Manana <fdmanana@suse.com>\nSigned-off-by: Chris Mason <clm@fb.com>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/c2d6cb1636d235257086f939a8194ef0bf93af6e"},{"sha":"319e4d0661e5323c9f9945f0f8fb5905e5fe74c3","author":{"email":"f41a7033a6382ce00d6b717e37d942dbe3c9a107@cn.fujitsu.com","name":"Qu Wenruo"},"message":"btrfs: Enhance super validation check\n\nEnhance btrfs_check_super_valid() function by the following points:\n1) Restrict sector/node size check\n   Not the old max/min valid check, but also check if it's a power of 2.\n   So some bogus number like 12K node size won't pass now.\n\n2) Super flag check\n   For now, there is still some inconsistency between kernel and\n   btrfs-progs super flags.\n   And considering btrfs-progs may add new flags for super block, this\n   check will only output warning.\n\n3) Better root alignment check\n   Now root bytenr is checked against sector size.\n\n4) Move some check into btrfs_check_super_valid().\n   Like node size vs leaf size check, and PAGESIZE vs sectorsize check.\n   And magic number check.\n\nReported-by: Vegard Nossum <vegard.nossum@oracle.com>\nSigned-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>\nReviewed-by: David Sterba <dsterba@suse.com>\nSigned-off-by: Chris Mason <clm@fb.com>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/319e4d0661e5323c9f9945f0f8fb5905e5fe74c3"},{"sha":"f04b772bfc17f502703794f4d100d12155c1a1a9","author":{"email":"f41a7033a6382ce00d6b717e37d942dbe3c9a107@cn.fujitsu.com","name":"Qu Wenruo"},"message":"btrfs: Enhance chunk validation check\n\nEnhance chunk validation:\n1) Num_stripes\n   We already have such check but it's only in super block sys chunk\n   array.\n   Now check all on-disk chunks.\n\n2) Chunk logical\n   It should be aligned to sector size.\n   This behavior should be *DOUBLE CHECKED* for 64K sector size like\n   PPC64 or AArch64.\n   Maybe we can found some hidden bugs.\n\n3) Chunk length\n   Same as chunk logical, should be aligned to sector size.\n\n4) Stripe length\n   It should be power of 2.\n\n5) Chunk type\n   Any bit out of TYPE_MAS | PROFILE_MASK is invalid.\n\nWith all these much restrict rules, several fuzzed image reported in\nmail list should no longer cause kernel panic.\n\nReported-by: Vegard Nossum <vegard.nossum@oracle.com>\nSigned-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>\nSigned-off-by: Chris Mason <clm@fb.com>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/f04b772bfc17f502703794f4d100d12155c1a1a9"},{"sha":"94a97dfeb61e32a213ca5519b063076c5201c5b2","author":{"email":"aacdd228f50c574b28b524b23f12fb9d52d6e0e3@cn.fujitsu.com","name":"Zhao Lei"},"message":"btrfs: Small cleanup for get index_srcdev loop\n\n1: Adjust condition in loop to make less TAB\n2: Move btrfs_put_bbio()'s line for combine, and makes logic clean.\n\nSigned-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>\nSigned-off-by: Chris Mason <clm@fb.com>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/94a97dfeb61e32a213ca5519b063076c5201c5b2"},{"sha":"ad1ba2a0c453db255f04b17101db6d05c44d8467","author":{"email":"aacdd228f50c574b28b524b23f12fb9d52d6e0e3@cn.fujitsu.com","name":"Zhao Lei"},"message":"btrfs: Use direct way to determine raid56 write/recover mode\n\nOld code used bbio->raid_map to determine whether in raid56\nwrite/recover operation, because we didn't't have bbio->map_type.\n\nNow we have direct way for this condition, rid of using\nthe function-relative data, and make the code more readable.\n\nSigned-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>\nSigned-off-by: Chris Mason <clm@fb.com>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/ad1ba2a0c453db255f04b17101db6d05c44d8467"},{"sha":"3568459a51136f418ca8cad48a0db3803010148a","author":{"email":"2c609ffb4e3675cc825ffc138f42668aebf8267d@mansr.com","name":"Mans Rullgard"},"message":"ALSA: at73c213: manage SSC clock\n\nSince commit 49af54ff0fc7 (\"misc: atmel-ssc: prepare clock only when\nrequest\") the SSC driver expects clients to manage the SSC clock.\nThis updates the at73c213 driver to enable the SSC clock whenever it is\nneeded.\n\nSigned-off-by: Mans Rullgard <mans@mansr.com>\nSigned-off-by: Takashi Iwai <tiwai@suse.de>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/3568459a51136f418ca8cad48a0db3803010148a"},{"sha":"26a99c19f810b2593410899a5b304b21b47428a6","author":{"email":"978acd1567d5598152161fdf8bf3ca568f950c9b@linux-iscsi.org","name":"Nicholas Bellinger"},"message":"iscsi-target: Fix potential dead-lock during node acl delete\n\nThis patch is a iscsi-target specific bug-fix for a dead-lock\nthat can occur during explicit struct se_node_acl->acl_group\nse_session deletion via configfs rmdir(2), when iscsi-target\ntime2retain timer is still active.\n\nIt changes iscsi-target to obtain se_portal_group->session_lock\ninternally using spin_in_locked() to check for the specific\nse_node_acl configfs shutdown rmdir(2) case.\n\nNote this patch is intended for stable, and the subsequent\nv4.5-rc patch converts target_core_tpg.c to use proper\nse_sess->sess_kref reference counting for both se_node_acl\ndeletion + se_node_acl->queue_depth se_session restart.\n\nReported-by:: Sagi Grimberg <sagig@mellanox.com>\nCc: Christoph Hellwig <hch@lst.de>\nCc: Hannes Reinecke <hare@suse.de>\nCc: Andy Grover <agrover@redhat.com>\nCc: Mike Christie <michaelc@cs.wisc.edu>\nCc: stable@vger.kernel.org # 3.10+\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/26a99c19f810b2593410899a5b304b21b47428a6"},{"sha":"d36ad77f702356afb1009d2987b0ab55da4c7d57","author":{"email":"978acd1567d5598152161fdf8bf3ca568f950c9b@linux-iscsi.org","name":"Nicholas Bellinger"},"message":"target: Convert ACL change queue_depth se_session reference usage\n\nThis patch converts core_tpg_set_initiator_node_queue_depth()\nto use struct se_node_acl->acl_sess_list when performing\nexplicit se_tpg_tfo->shutdown_session() for active sessions,\nin order for new se_node_acl->queue_depth to take effect.\n\nThis follows how core_tpg_del_initiator_node_acl() currently\nworks when invoking se_tpg_tfo->shutdown-session(), and ahead\nof the next patch to take se_node_acl->acl_kref during lookup,\nthe extra get_initiator_node_acl() can go away. In order to\nachieve this, go ahead and change target_get_session() to use\nkref_get_unless_zero() and propigate up the return value\nto know when a session is already being released.\n\nThis is because se_node_acl->acl_group is already protecting\nse_node_acl->acl_group reference via configfs, and shutdown\nwithin core_tpg_del_initiator_node_acl() won't occur until\nsys_write() to core_tpg_set_initiator_node_queue_depth()\nattribute returns back to user-space.\n\nAlso, drop the left-over iscsi-target hack, and obtain\nse_portal_group->session_lock in lio_tpg_shutdown_session()\ninternally. Remove iscsi-target wrapper and unused se_tpg +\nforce parameters and associated code.\n\nReported-by: Christoph Hellwig <hch@lst.de>\nCc: Sagi Grimberg <sagig@mellanox.com>\nCc: Hannes Reinecke <hare@suse.de>\nCc: Andy Grover <agrover@redhat.com>\nCc: Mike Christie <michaelc@cs.wisc.edu>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/d36ad77f702356afb1009d2987b0ab55da4c7d57"},{"sha":"21aaa23b0ebbd19334fa461370c03cbb076b3295","author":{"email":"978acd1567d5598152161fdf8bf3ca568f950c9b@linux-iscsi.org","name":"Nicholas Bellinger"},"message":"target: Obtain se_node_acl->acl_kref during get_initiator_node_acl\n\nThis patch addresses a long standing race where obtaining\nse_node_acl->acl_kref in __transport_register_session()\nhappens a bit too late, and leaves open the potential\nfor core_tpg_del_initiator_node_acl() to hit a NULL\npointer dereference.\n\nInstead, take ->acl_kref in core_tpg_get_initiator_node_acl()\nwhile se_portal_group->acl_node_mutex is held, and move the\nfinal target_put_nacl() from transport_deregister_session()\ninto transport_free_session() so that fabric driver login\nfailure handling using the modern method to still work\nas expected.\n\nAlso, update core_tpg_get_initiator_node_acl() to take\nan extra reference for dynamically generated acls for\ndemo-mode, before returning to fabric caller.  Also\nupdate iscsi-target sendtargets special case handling\nto use target_tpg_has_node_acl() when checking if\ndemo_mode_discovery == true during discovery lookup.\n\nNote the existing wait_for_completion(&acl->acl_free_comp)\nin core_tpg_del_initiator_node_acl() does not change.\n\nCc: Sagi Grimberg <sagig@mellanox.com>\nCc: Christoph Hellwig <hch@lst.de>\nCc: Hannes Reinecke <hare@suse.de>\nCc: Andy Grover <agrover@redhat.com>\nCc: Mike Christie <michaelc@cs.wisc.edu>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/21aaa23b0ebbd19334fa461370c03cbb076b3295"},{"sha":"20c08b362f4b0c41103fe9d75c61ca348d021441","author":{"email":"72968c211adb68bbedf8fc6c85be24c9cd49b112@yasker.org","name":"Sheng Yang"},"message":"target/user: Make sure netlink would reach all network namespaces\n\nThe current code only allow netlink to reach the initial network namespace,\nwhich caused trouble for any client running inside container.\n\nThis patch would make sure TCMU netlink would work for all network\nnamespaces.\n\nSigned-off-by: Sheng Yang <sheng@yasker.org>\nAcked-by: Andy Grover <agrover@redhat.com>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/20c08b362f4b0c41103fe9d75c61ca348d021441"}]}