{"push_id":790330002,"size":7,"distinct_size":7,"ref":"refs/heads/lp511","head":"0ef723ff39e808001a7a0029cd42715eed41696e","before":"bdea093b6edc3c79286e5b22fe37bf0c1e7806a7","commits":[{"sha":"443f8a0f8645ba9f41987bd953032cb18ae73054","author":{"email":"bb05168246ed1a6b66d0e7b1ffb0c5e3707764ca@codeaurora.org","name":"Junjie Wu"},"message":"cpufreq: Protect against hotplug in cpufreq_register_driver()\n\ncpufreq_register_driver() could race with CPU hotplug during\nbootup. Since hotplug notification is not registered when\nsubsys_interface_register() is being executed, it's possible\ncpufreq's view of online CPUs becomes stale before it registers\nfor hotplug notification.\n\nRegister for hotplug notification first and protect\nsubsys_interface_register() against hotplug using\nget/put_online_cpus().\n\nChange-Id: I26b2908f1d167c2becc4e8664c357bb7c6162406\nSigned-off-by: Junjie Wu <junjiew@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/HealthyHoney/kernel/commits/443f8a0f8645ba9f41987bd953032cb18ae73054"},{"sha":"acc109769f35babb6686b98ff677e073788dcb70","author":{"email":"e98e52dd3c6c9ef83e2bc9c8a1300c68656fbdca@codeaurora.org","name":"Hanumath Prasad"},"message":"cpufreq: interactive: Call __cpufreq_driver_target() for cur frequency\n\nThere is a race window as explained below when governor tries to change\nthe cpu frequency and some other thread (say thermal mitigation) try to\nchange the policy limits simultaneously.\n\nspeedchange task (ThreadA)\t\t\tThread B(say Thermal)\n\ncpufreq_interactive_speedchange_task()\n\t|\n__cpufreq_driver_target()\n\t|\nset_cpu_freq()\n\t|\n\t\t\t\t\t\tcpufreq_update_policy()\n\t\t\t\t\t\t\t|\n\t\t\t\t\t\tmodified policy_max\n\t\t\t\t\t\t\t|\n\t\t\t\t\t\tcheck policy->curr against\n\t\t\t\t\t\tnew policy limits,return\n\t\t\t\t\t\twithout calling\n\t\t\t\t\t\t__cpufreq_driver_target as\n\t\t\t\t\t\tpolicy->curr(which is not\n\t\t\t\t\t\tupdated by ThreadA) is still\n\t\t\t\t\t\twithin the new policy limits.\n\n\t|\nsent CPUFREQ_POSTCHANGE notification\n\t|\nupdated policy->cur which happens to be higher than policy->max\n\nThis results the current frequency being higher than the policy->max and\nviolating the policy limits. This causes thermal impact and in turn high\npower consumption. So Fix this by calling __cpufreq_driver_target() always\nwith current frequency and leave it to __cpufreq_driver_target() to\nguarantee there is no race condition when multiple threads are changing\nfrequencies.\n\nChange-Id: I9136e9245677e8fc90a628d3099aca8d63d3677c\nSigned-off-by: Hanumath Prasad <hpprasad@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/HealthyHoney/kernel/commits/acc109769f35babb6686b98ff677e073788dcb70"},{"sha":"3bfbc71a73c4bfdd8ad7f252b7d4a58af51d9a8d","author":{"email":"8765ed69255fb4fd05f2d83f19421193f38dbccb@codeaurora.org","name":"Rama Krishna Phani A"},"message":"msm: sps: Handle low memory condition in SPS driver\n\nIn low memory condition some bam client is sensitive to timing\nand may get time out while allocating memory through kzalloc.\n\nAdd support to hold memory during connect and disconnect\nand to release memory during client driver's deregistration\nof its BAM.\n\nChange-Id: Iaf89dc542b62c95f055e7b06d788d896809b0bf8\nSigned-off-by: Rama Krishna Phani A <rphani@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/HealthyHoney/kernel/commits/3bfbc71a73c4bfdd8ad7f252b7d4a58af51d9a8d"},{"sha":"5cbd870fc75ebe18847bdd43c99766058049ca0a","author":{"email":"8765ed69255fb4fd05f2d83f19421193f38dbccb@codeaurora.org","name":"Rama Krishna Phani A"},"message":"soc: qcom: bam_dmux: Use SPS hold mem flag\n\nBam_dmux sometimes calls sps_connect() during time sensitive operations.\nSps_connect() internally has some memory allocations which may stall\nduring low memory conditions and can cause a timeout in bam_dmux.\nSPS supports a configuration flag which changes these memory allocations\nto hold memory.\nUse this flag to prevent allocations from stalling and\nleading to timeouts.\n\nChange-Id: I506d5664e07baf56f4caa10d1868b1795a4439d9\nSigned-off-by: Rama Krishna Phani A <rphani@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/HealthyHoney/kernel/commits/5cbd870fc75ebe18847bdd43c99766058049ca0a"},{"sha":"847a2fca9843888ec5eb5dc77dd285afe68736ee","author":{"email":"2c98d18550b6e94ee93faf6d92fa2bedb58842c9@codeaurora.org","name":"Patrick Daly"},"message":"power: wakeup: Use rcu callbacks for better performance\n\nUse rcu to free objects in wakeup_source_unregister(). These objects must\nbe allocated through wakeup_source_register().\n\nReplacing synchronize_rcu() with call_rcu() allows multiple calls to\nwakeup_source_unregister() to be combined into a single grace period.\n\nCRs-Fixed: 845110\nChange-Id: Ib4002db042cf63abb28e6b3df6e3c70c97043bd9\nSigned-off-by: Patrick Daly <pdaly@codeaurora.org>\nSigned-off-by: Zdrowy Gosciu <ZdrowyGosciu+GITHUB@gmail.com>","distinct":true,"url":"https://api.github.com/repos/HealthyHoney/kernel/commits/847a2fca9843888ec5eb5dc77dd285afe68736ee"},{"sha":"56960ee1aea768746179d0766e636d4b8cd4294d","author":{"email":"168a6a722f36cbfb19d9b32bbc952ac3ffb3b983@codeaurora.org","name":"Ujwal Patel"},"message":"msm: mdss: wake up threads relying on shutdown notice\n\nIn the current framebuffer driver, user context may be put to sleep\nto serialize certain operations. These contexts are woken up on certain\nconditions, one of which is system shutdown notification. Current api\nused, wait_event_timeout, relies on wait queue to be woken up if any\nvariable that could change the result of the sleep condition. So when\nshutdown context is active, it needs to wake up threads waiting on\nshutdown notification else they will timeout and may delay the shutdown\nprocess.\n\nChange-Id: I11b97e4c65b434c5f35d455a5040f407a1460516\nSigned-off-by: Ujwal Patel <ujwalp@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/HealthyHoney/kernel/commits/56960ee1aea768746179d0766e636d4b8cd4294d"},{"sha":"0ef723ff39e808001a7a0029cd42715eed41696e","author":{"email":"23e2075104ba5d5498e757aac686ff4496794be6@gmail.com","name":"Zdrowy Gosciu"},"message":"Version 3.0","distinct":true,"url":"https://api.github.com/repos/HealthyHoney/kernel/commits/0ef723ff39e808001a7a0029cd42715eed41696e"}]}