{"push_id":928872530,"size":101,"distinct_size":0,"ref":"refs/heads/m","head":"993686e5a989286cc4a3d6c0d14867ab39b40e35","before":"da42ff438b401c1030f6ad461b1c9a09f3edfeef","commits":[{"sha":"958715b113ed5e3cd2650287c4c6117ba98ce8c4","author":{"email":"e90b702c9735d7d8a45d232c2bb099d9e00f5267@codeaurora.org","name":"Archana Sathyakumar"},"message":"msm-core: Supplement scheduler core selection using power estimates\n\nThe msm-core driver provides per-core temperature and power for every\nP-state (frequency/capacity) to the scheduler.\nThe objective of the driver is to compute the power consumed\nat every P-state so as to make power efficient scheduling decisions.\n     Dynamic power = fn (V, f)\n     where V is voltage at the frequency f\n\nThe power computation and temperature read for all cores happen at\nregular intervals (deferrable) unless there is a change in temperature\nor frequency.\n\nChange-Id: I097a2d3a6b5734cb52f5f11d452c089ec04d56d2\nSigned-off-by: Archana Sathyakumar <asathyak@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":false,"url":"https://api.github.com/repos/moepda/android_kernel_moto_shamu/commits/958715b113ed5e3cd2650287c4c6117ba98ce8c4"},{"sha":"fb277fc9220759eeaca8af63884d5c7ce01cb326","author":{"email":"e90b702c9735d7d8a45d232c2bb099d9e00f5267@codeaurora.org","name":"Archana Sathyakumar"},"message":"msm-core: Add debugfs support to the driver\n\nAdd debugfs support to add test p-state power values, enable\nthem for test and disable when the test is complete.\n\nChange-Id: Ie7a0ebad6a7154c672fa410cece50fd088930953\nSigned-off-by: Archana Sathyakumar <asathyak@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":false,"url":"https://api.github.com/repos/moepda/android_kernel_moto_shamu/commits/fb277fc9220759eeaca8af63884d5c7ce01cb326"},{"sha":"a964f40f20ae5c1b413ef157bb78d03422b85de0","author":{"email":"e90b702c9735d7d8a45d232c2bb099d9e00f5267@codeaurora.org","name":"Archana Sathyakumar"},"message":"msm-core: Add additional corner voltage conversion\n\nThe driver converts only 4 corner voltages currently.  Add more voltage\nconversions to the list.\n\nNote: Remove this after OPP interface provides actual voltage instead of\ncorner voltage.\n\nSigned-off-by: Archana Sathyakumar <asathyak@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":false,"url":"https://api.github.com/repos/moepda/android_kernel_moto_shamu/commits/a964f40f20ae5c1b413ef157bb78d03422b85de0"},{"sha":"e80771b9123bdf59daf518db980d1bf706b0af30","author":{"email":"e90b702c9735d7d8a45d232c2bb099d9e00f5267@codeaurora.org","name":"Archana Sathyakumar"},"message":"msm-core: Read frequencies from cpufreq driver\n\nOPP interface provides many more frequencies than those available for\nthe cpus. We generate power numbers for more frequencies than we need,\nand provide these to the scheduler. While this works, it is not required\nto save information of unavailable frequencies.\n\nRead the available frequencies from cpufreq driver and calculate power\nnumbers only for these frequencies.\n\nSigned-off-by: Archana Sathyakumar <asathyak@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":false,"url":"https://api.github.com/repos/moepda/android_kernel_moto_shamu/commits/e80771b9123bdf59daf518db980d1bf706b0af30"},{"sha":"3dd3771ae08ce85afc5d862cf2e905ba58a2bfbb","author":{"email":"e90b702c9735d7d8a45d232c2bb099d9e00f5267@codeaurora.org","name":"Archana Sathyakumar"},"message":"msm-core: Activate ptable only on userspace power update\n\nThe power numbers calculated for cpus during probe are the same between\ndifferent cpus. This might cause the scheduler to incorrectly place\nlittle tasks on big cpus and vice versa. Wait until the userspace\nupdates the device specific power numbers and then update the ptable to\nreflect the non-overlapping power numbers between the clusters.\n\nSigned-off-by: Archana Sathyakumar <asathyak@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":false,"url":"https://api.github.com/repos/moepda/android_kernel_moto_shamu/commits/3dd3771ae08ce85afc5d862cf2e905ba58a2bfbb"},{"sha":"d50c2ea3c9cd9b8a0bf114b09dae299c1c231ff4","author":{"email":"e90b702c9735d7d8a45d232c2bb099d9e00f5267@codeaurora.org","name":"Archana Sathyakumar"},"message":"msm-core: Update frequency table when new policy is created\n\nIf the number of boot cpus is lesser than the total number of possible\ncpus, the driver fails as all the cpus do not have frequency table.\n\nGet the frequency table for online cpus during probe and update the\ntable for the rest when the policy is created for these cpus.\n\nSigned-off-by: Archana Sathyakumar <asathyak@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":false,"url":"https://api.github.com/repos/moepda/android_kernel_moto_shamu/commits/d50c2ea3c9cd9b8a0bf114b09dae299c1c231ff4"},{"sha":"f5dcc63946b632a7ed945904ed1edc5dd8b82194","author":{"email":"e90b702c9735d7d8a45d232c2bb099d9e00f5267@codeaurora.org","name":"Archana Sathyakumar"},"message":"msm-core: Use cpu device to get the voltage plan\n\nClock driver will populate the voltages for the cpu device instead of\nthe regulator device.\n\nUse the cpu device to get the voltage plan instead of the regulator\ndevice.\n\nSigned-off-by: Archana Sathyakumar <asathyak@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":false,"url":"https://api.github.com/repos/moepda/android_kernel_moto_shamu/commits/f5dcc63946b632a7ed945904ed1edc5dd8b82194"},{"sha":"494b63f4e81602eae90ef46f81326a9bc2597291","author":{"email":"e90b702c9735d7d8a45d232c2bb099d9e00f5267@codeaurora.org","name":"Archana Sathyakumar"},"message":"msm-core: Remove world writable access\n\nCurrently the debug node is world writable. Remove read/write access to\nother users.\n\nSigned-off-by: Archana Sathyakumar <asathyak@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":false,"url":"https://api.github.com/repos/moepda/android_kernel_moto_shamu/commits/494b63f4e81602eae90ef46f81326a9bc2597291"},{"sha":"d217ea4ab9009d3054ff5ae3a99be8938d0ce926","author":{"email":"e90b702c9735d7d8a45d232c2bb099d9e00f5267@codeaurora.org","name":"Archana Sathyakumar"},"message":"msm-core: Prevent unnecessary wake up from suspend\n\nIf the temperature threshold crosses for any of the cores during\nsuspend, this causes system wakeup to recompute the stats when it is\nnot necessary.\n\nCancel the scheduled work and stop the kthread that resets the sensor\nthreshold to prevent any race condition with sensor trip cancellation\nduring suspend. Restart kthread after resume to read temperature sensors,\nrefresh the power stats and reset the sensor threshold for all the cpus.\n\nSigned-off-by: Archana Sathyakumar <asathyak@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":false,"url":"https://api.github.com/repos/moepda/android_kernel_moto_shamu/commits/d217ea4ab9009d3054ff5ae3a99be8938d0ce926"},{"sha":"77245dea983d1919a71861734a14e3103f3e95ef","author":{"email":"e90b702c9735d7d8a45d232c2bb099d9e00f5267@codeaurora.org","name":"Archana Sathyakumar"},"message":"msm-core: Fix suspend issue\n\nkthread_stop within suspend notifier callback prevents suspend\nand keeps the system awake. Keep the kthread active, just cancel\nscheduled work.\n\nSigned-off-by: Archana Sathyakumar <asathyak@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":false,"url":"https://api.github.com/repos/moepda/android_kernel_moto_shamu/commits/77245dea983d1919a71861734a14e3103f3e95ef"},{"sha":"e0d5efca6d858d372a20db97035946a92bf263d8","author":{"email":"e90b702c9735d7d8a45d232c2bb099d9e00f5267@codeaurora.org","name":"Archana Sathyakumar"},"message":"msm-core: Fix potential NULL pointer issue\n\nIf argp is NULL, accessing argp without a NULL pointer check\nresults in kernel crash. Add a check before accessing the variable.\n\nSigned-off-by: Archana Sathyakumar <asathyak@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":false,"url":"https://api.github.com/repos/moepda/android_kernel_moto_shamu/commits/e0d5efca6d858d372a20db97035946a92bf263d8"},{"sha":"520b50924e4730a794f6da6c3a1852bd3ec18fad","author":{"email":"e90b702c9735d7d8a45d232c2bb099d9e00f5267@codeaurora.org","name":"Archana Sathyakumar"},"message":"msm-core: Provide information about throttling condition\n\nPrevent scheduler from scheduling tasks on a cpu that is nearing\nthrottling condition. Add a flag that provides this information to the\nscheduler.\n\nChange-Id: Idc6dda8e85a36d17beba89ff0a921cdf28fc9fec\nSigned-off-by: Archana Sathyakumar <asathyak@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":false,"url":"https://api.github.com/repos/moepda/android_kernel_moto_shamu/commits/520b50924e4730a794f6da6c3a1852bd3ec18fad"},{"sha":"4150fd114fb1dbae2a17b4eadf547b283996b84f","author":{"email":"3961c4a724729594167fb8fac9033311446c056d@codeaurora.org","name":"Shiju Mathew"},"message":"msm-core: Disable sensor threshold trip during suspend\n\nDisable sensor threshold trip during suspend rather\nthan a threshold cancel. This is required since cancel\nthreshold would remove the threshold pointer from\nthermal core driver. This would corrupt the sensor\nthreshold list if there is a sensor threshold interrupt\nat the same time.\n\nSigned-off-by: Shiju Mathew <shijum@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":false,"url":"https://api.github.com/repos/moepda/android_kernel_moto_shamu/commits/4150fd114fb1dbae2a17b4eadf547b283996b84f"},{"sha":"da78052e7c8ff64a7292e8b819d5664f5b97b11f","author":{"email":"91104b0007f6ff6276087673c270a144d5ff14a2@codeaurora.org","name":"Praveen Chidambaram"},"message":"msm-core: Set up thresholds only until the hotplug temperature point\n\nCurrently, we set up thermal thresholds to notify of every 5C rise in\ntemperature in the positive direction, to help recalculate energy\nvalues. When temperatures ramp quickly, setting up additional thresholds\nfor EA, seems to interfere with the ability of the thermal sensor\nframework to quickly notify the thermal mitigation handlers of the high\ntemperature, preventing hotplug of the thermally sensitive core.\n\nFix this by allowing thersholds to be set only until the operating range\nof the cpu.\n\nSigned-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":false,"url":"https://api.github.com/repos/moepda/android_kernel_moto_shamu/commits/da78052e7c8ff64a7292e8b819d5664f5b97b11f"},{"sha":"b6f3a06c0034b6d7f98b15dde69eeabf68998098","author":{"email":"e90b702c9735d7d8a45d232c2bb099d9e00f5267@codeaurora.org","name":"Archana Sathyakumar"},"message":"msm-core: Add uio extension for memory mapping\n\nWith /dev/mem node no longer available for userspace IO memory access,\neach driver needs to provide the range of memory it needs access to and\nthe type of memory it is accessing.\n\nAdd this interface to the driver and create a device that allows\nuserspace to access IO memory mapped region. Since userspace access is\nsimple IO memory read, use the generic UIO ops function for mmap and\nopen calls.\n\nSigned-off-by: Archana Sathyakumar <asathyak@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":false,"url":"https://api.github.com/repos/moepda/android_kernel_moto_shamu/commits/b6f3a06c0034b6d7f98b15dde69eeabf68998098"},{"sha":"185e144de09011b513d8e3c51217bb8b933cd5b1","author":{"email":"fbf4ddd114d5f0aa83cb721b7dacab8a264ccf22@codeaurora.org","name":"Olav Haugan"},"message":"msm-core: Ensure polling occurs on schedule\n\nMSM core driver is supposed to update power cost and cpu temperature on a\nfixed interval in addition to when there is a large change in temperature.\nThere is a poll_ms parameter that is set to 50ms by default that should\ncause the driver to poll for updates every 50ms. It has been observed that\nthis polling can stop for up to several minutes.\n\nThe issue is identified with the optimization in the polling code which\nstalls polling if temperature didn't change between two consecutive\nreadings and polling isn't started until after a large temperature change\ntriggers the polling thread. Fix issue by removing the optimization.\n\nSigned-off-by: Olav Haugan <ohaugan@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":false,"url":"https://api.github.com/repos/moepda/android_kernel_moto_shamu/commits/185e144de09011b513d8e3c51217bb8b933cd5b1"},{"sha":"4f86563ef493a80d98757f2c4e5cd072f431946f","author":{"email":"d742c8926136147b41811902e91ce4bd1f5cc0f6@codeaurora.org","name":"Mahesh Sivasubramanian"},"message":"msm-core: Add API to throttle a CPU from thermal framework\n\nScheduler should try not to assign tasks to a CPU which is thermally\nmitigated. To notify scheduler of thermal mitigation, the thermal module\nwould notify the msm-core of a mitigation request. The information is\npassed to the scheduler using existing API to publish energy numbers to the\nscheduler.\n\nSigned-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":false,"url":"https://api.github.com/repos/moepda/android_kernel_moto_shamu/commits/4f86563ef493a80d98757f2c4e5cd072f431946f"},{"sha":"dfa4fb8c855c88e098e122c2eaf50ca83065abe3","author":{"email":"d742c8926136147b41811902e91ce4bd1f5cc0f6@codeaurora.org","name":"Mahesh Sivasubramanian"},"message":"msm-core: Check for NULL pointer deference\n\nIn scenarios, where userspace hasn't populated the power numbers, per-cpu\npointer might be NULL. Add check to prevent any NULL pointer deferences.\n\nSigned-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":false,"url":"https://api.github.com/repos/moepda/android_kernel_moto_shamu/commits/dfa4fb8c855c88e098e122c2eaf50ca83065abe3"},{"sha":"66a9b43508d6ea77549f4e573b4d27d0f65c0fd6","author":{"email":"d742c8926136147b41811902e91ce4bd1f5cc0f6@codeaurora.org","name":"Mahesh Sivasubramanian"},"message":"msm-core: Update temp threshold only if sensor is disabled\n\nThe sensor structure used by the msm-core driver is continuously acted on\nby the thermal driver. Changing the threshold temperatues without disabling\nthem could cause incorrect setting of the temperature at the thermal\nsensor. To ensure thermal framework sees the changes, disable the sensor\nbefore enabling the sensor with the updated values.\n\nSigned-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":false,"url":"https://api.github.com/repos/moepda/android_kernel_moto_shamu/commits/66a9b43508d6ea77549f4e573b4d27d0f65c0fd6"},{"sha":"221205ea54e9ec4eb335f2f8427b1ec65a1fb9bb","author":{"email":"e90b702c9735d7d8a45d232c2bb099d9e00f5267@codeaurora.org","name":"Archana Sathyakumar"},"message":"msm-core: Fix NULL pointer issue while repopulating stats\n\nThere is a small window between when cpu is brought online and when\nCPUFREQ_CREATE_POLICY notification is received. If we end up here within\nthis window for that cpu, we might try to populate stats even before\ncpufreq policy is updated. This could result in a NULL pointer error.\n\nWait for frequency and ptable update before repopulating the stats.\n\nSigned-off-by: Archana Sathyakumar <asathyak@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":false,"url":"https://api.github.com/repos/moepda/android_kernel_moto_shamu/commits/221205ea54e9ec4eb335f2f8427b1ec65a1fb9bb"}]}