{"push_id":701455321,"size":66,"distinct_size":0,"ref":"refs/heads/linux-linaro-stable/linux-linaro-lsk-v3.18-test","head":"dc8470615c5e36cfc2223d9325b381210a2aad47","before":"a7d2ec7f5c4fadde745c8f4354a60d2ed4e61f35","commits":[{"sha":"5f83f89b5f4e465bf6cf3b3b5b98a6f23099c88c","author":{"email":"977df7d8e3020f3c4acf757f6ad9c6cf2bc8f2d7@ti.com","name":"Eduardo Valentin"},"message":"thermal: introduce clock cooling device\n\nThis patch introduces a new thermal cooling device based on common clock\nframework. The original motivation to write this cooling device is to be\nable to cool down thermal zones using clocks that feed co-processors, such\nas GPUs, DSPs, Image Processing Co-processors, etc. But it is written\nin a way that it can be used on top of any clock.\n\nThe implementation is pretty straight forward. The code creates\na thermal cooling device based on a pair of a struct device and a clock name.\nThe struct device is assumed to be usable by the OPP layer. The OPP layer\nis used as source of the list of possible frequencies. The (cpufreq) frequency\ntable is then used as a map from frequencies to cooling states. Cooling\nstates are indexes to the frequency table.\n\nThe logic sits on top of common clock framework, specifically on clock\npre notifications. Any PRE_RATE_CHANGE is hijacked, and the transition is\nonly allowed when the new rate is within the thermal limit (cooling state -> freq).\n\nWhen a thermal cooling device state transition is requested, the clock\nis also checked to verify if the current clock rate is within the new\nthermal limit.\n\nCc: Zhang Rui <rui.zhang@intel.com>\nCc: Mike Turquette <mturquette@linaro.org>\nCc: Nishanth Menon <nm@ti.com>\nCc: Pavel Machek <pavel@ucw.cz>\nCc: \"Rafael J. Wysocki\" <rjw@sisk.pl>\nCc: Len Brown <len.brown@intel.com>\nCc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nCc: linux-pm@vger.kernel.org\nCc: linux-arm-kernel@lists.infradead.org\nCc: linux-kernel@vger.kernel.org\nSigned-off-by: Eduardo Valentin <eduardo.valentin@ti.com>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>\n(cherry picked from commit f9df89d897ee0928aa4e03b30250e87f5d1e788a)\nSigned-off-by: Kevin Hilman <khilman@linaro.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/5f83f89b5f4e465bf6cf3b3b5b98a6f23099c88c"},{"sha":"411cfa310bb078140dbaae77d9673e2316257927","author":{"email":"4d1e97e91f33be8fb70fd1f552f766fdcea04bd3@nvidia.com","name":"Mikko Perttunen"},"message":"thermal: Add Tegra SOCTHERM thermal management driver\n\nThis adds support for the Tegra SOCTHERM thermal sensing and management\nsystem found in the Tegra124 system-on-chip. This initial driver supports\ntemperature polling for four thermal zones.\n\nSigned-off-by: Mikko Perttunen <mperttunen@nvidia.com>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>\n(cherry picked from commit 66fb84805134c39f00d7c2054c881faa50910390)\nSigned-off-by: Kevin Hilman <khilman@linaro.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/411cfa310bb078140dbaae77d9673e2316257927"},{"sha":"fa6ae46e372f10ffc162fb5c64016a701e0e4adf","author":{"email":"19583d7f5a73f900a77b3924aabdcb631a4c7608@gmail.com","name":"Eduardo Valentin"},"message":"thermal: of: improve of-thermal sensor registration API\n\nDifferent drivers request API extensions in of-thermal. For this reason,\nadditional callbacks are required to fit the new drivers needs.\n\nThe current API implementation expects the registering sensor driver\nto provide a get_temp and get_trend callbacks as function parameters.\nAs the amount of callbacks is growing, this patch changes the existing\nimplementation to use a .ops field to hold all the of thermal callbacks\nto sensor drivers.\n\nThis patch also changes the existing of-thermal users to fit the new\nAPI design. No functional change is introduced in this patch.\n\nCc: Alexandre Courbot <gnurou@gmail.com>\nCc: devicetree@vger.kernel.org\nCc: Grant Likely <grant.likely@linaro.org>\nCc: Guenter Roeck <linux@roeck-us.net>\nCc: Jean Delvare <jdelvare@suse.de>\nCc: linux-kernel@vger.kernel.org\nCc: linux-pm@vger.kernel.org\nCc: linux-tegra@vger.kernel.org\nCc: lm-sensors@lm-sensors.org\nCc: Rob Herring <robh+dt@kernel.org>\nCc: Stephen Warren <swarren@wwwdotorg.org>\nCc: Thierry Reding <thierry.reding@gmail.com>\nCc: Zhang Rui <rui.zhang@intel.com>\nAcked-by: Guenter Roeck <linux@roeck-us.net>\nTested-by: Mikko Perttunen <mikko.perttunen@kapsi.fi>\nReviewed-by: Mikko Perttunen <mikko.perttunen@kapsi.fi>\nReviewed-by: Alexandre Courbot <acourbot@nvidia.com>\nReviewed-by: Lukasz Majewski <l.majewski@samsung.com>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>\n(cherry picked from commit 2251aef64a38db60f4ae7a4a83f9203c6791f196)\nSigned-off-by: Kevin Hilman <khilman@linaro.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/fa6ae46e372f10ffc162fb5c64016a701e0e4adf"},{"sha":"604b9b1606390d99782790e3a4133d7f52bd6231","author":{"email":"910e550f1c830a1d246b6c3ed4d6ca559ba95c19@linux.intel.com","name":"Srinivas Pandruvada"},"message":"thermal: core: ignore invalid trip temperature\n\nIgnore invalid trip temperature less or equal to zero. Some\nbuggy systems have invalid trips, causing system shutdown.\n\nSigned-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>\nSigned-off-by: Zhang Rui <rui.zhang@intel.com>\n(cherry picked from commit 84ffe3ecc2c8b3effc41c0babd2cc24f1edb2aab)\nSigned-off-by: Kevin Hilman <khilman@linaro.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/604b9b1606390d99782790e3a4133d7f52bd6231"},{"sha":"2565094fbf51d60bf7cc78f0c6960d27799e7c35","author":{"email":"cc0c468e3dcd5ee425259d298d905a60f8330bcf@arm.com","name":"Javi Merino"},"message":"thermal: lock the thermal zone when switching governors\n\nCurrently, userspace can request a governor change while the governor\nitself is running.  Grab the thermal zone lock when changing the\ngovernor to prevent this race.\n\nSigned-off-by: Javi Merino <javi.merino@arm.com>\nSigned-off-by: Zhang Rui <rui.zhang@intel.com>\n(cherry picked from commit b6cc772f64ac7d1917770406844b73a94ca5ef06)\nSigned-off-by: Kevin Hilman <khilman@linaro.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/2565094fbf51d60bf7cc78f0c6960d27799e7c35"},{"sha":"8ead86710c69cc91f84e0e9b5fa260d8063fea51","author":{"email":"4e624af203c18e164acadf5da06f2c9f36828cb4@canonical.com","name":"Luis Henriques"},"message":"thermal: Fix error path in thermal_init()\n\nthermal_unregister_governors() and class_unregister() were being called in\nthe wrong order.\n\nFixes: 80a26a5c22b9 (\"Thermal: build thermal governors into thermal_sys module\")\nCc: stable@vger.kernel.org\nSigned-off-by: Luis Henriques <luis.henriques@canonical.com>\nSigned-off-by: Zhang Rui <rui.zhang@intel.com>\n(cherry picked from commit 9d367e5e7b05c71a8c1ac4e9b6e00ba45a79f2fc)\nSigned-off-by: Kevin Hilman <khilman@linaro.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/8ead86710c69cc91f84e0e9b5fa260d8063fea51"},{"sha":"aa4ffb2ffd2bac19c52c330a1f07fbc9dfe14c05","author":{"email":"19583d7f5a73f900a77b3924aabdcb631a4c7608@gmail.com","name":"Eduardo Valentin"},"message":"thermal: cpu_cooling: check for the readiness of cpufreq layer\n\nIn this patch, the cpu_cooling code checks for the usability of cpufreq\nlayer before proceeding with the CPU cooling device registration. The\nmain reason is: CPU cooling device is not usable if cpufreq cannot\nswitch frequencies.\n\nSimilar checks are spread in thermal drivers. Thus, the advantage now\nis to have the check in a single place: cpu cooling device registration.\nFor this reason, this patch also updates the existing drivers that\ndepend on CPU cooling to simply propagate the error code of the cpu\ncooling registration call. Therefore, in case cpufreq is not ready, the\nthermal drivers will still return -EPROBE_DEFER, in an attempt to try\nagain when cpufreq layer gets ready.\n\nCc: devicetree@vger.kernel.org\nCc: Grant Likely <grant.likely@linaro.org>\nCc: Kukjin Kim <kgene.kim@samsung.com>\nCc: linux-arm-kernel@lists.infradead.org\nCc: linux-kernel@vger.kernel.org\nCc: linux-pm@vger.kernel.org\nCc: linux-samsung-soc@vger.kernel.org\nCc: Naveen Krishna Chatradhi <ch.naveen@samsung.com>\nCc: Rob Herring <robh+dt@kernel.org>\nCc: Zhang Rui <rui.zhang@intel.com>\nAcked-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>\n(cherry picked from commit 0f1be51c358f740fe5183bd0bcd60076fdfb53d0)\nSigned-off-by: Kevin Hilman <khilman@linaro.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/aa4ffb2ffd2bac19c52c330a1f07fbc9dfe14c05"},{"sha":"666660516539450b55f24821edc69d531312e8fc","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: cpu_cooling: random comment fixups\n\ns/give/given\n\nAcked-by: Eduardo Valentin <edubezval@gmail.com>\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>\n(cherry picked from commit 728c03c9592198717fed3e9fbae7260cff300175)\nSigned-off-by: Kevin Hilman <khilman@linaro.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/666660516539450b55f24821edc69d531312e8fc"},{"sha":"50b525a1fd0b5ee9bc67bcf9cdd4d541dede0109","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: cpu_cooling: fix doc comment over struct cpufreq_cooling_device\n\ncooling_cpufreq_lock isn't used to protect this structure and so the comment\nover it is outdated. Fix it.\n\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>\n(cherry picked from commit beca6053fc21bbe0ed0242a3f79c0cca5749a90f)\nSigned-off-by: Kevin Hilman <khilman@linaro.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/50b525a1fd0b5ee9bc67bcf9cdd4d541dede0109"},{"sha":"a288067ecfe0cf0a608ef3b7f73164922f668954","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: cpu_cooling: Add comment to clarify relation between cooling state and frequency\n\nThis wasn't explained well anywhere and should be clearly specified. Lets add a\ntop level comment for this.\n\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>\n(cherry picked from commit 07d888d831b038c01c5415f8945f41c743f49fb2)\nSigned-off-by: Kevin Hilman <khilman@linaro.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/a288067ecfe0cf0a608ef3b7f73164922f668954"},{"sha":"40852f669b1405c700e90862cf5d90fcfcdd2b84","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: cpu_cooling: Pass variable instead of its type to sizeof()\n\nJust following coding guidelines here.\n\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>\n(cherry picked from commit 98d522f056568007557867d53833770dee9d8fe8)\nSigned-off-by: Kevin Hilman <khilman@linaro.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/40852f669b1405c700e90862cf5d90fcfcdd2b84"},{"sha":"2942d914260f33c108136defce355f8c6e9c9694","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: cpu_cooling: no need to set cpufreq_state to zero\n\nIts already zero, we allocated cpufreq_dev with kzalloc.\n\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>\n(cherry picked from commit 92e615ec82c0314fb480eeb19396f4ac15bf97ef)\nSigned-off-by: Kevin Hilman <khilman@linaro.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/2942d914260f33c108136defce355f8c6e9c9694"},{"sha":"944cac03d1c35cd96cb6ed1f4057f7b52deef919","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: cpu_cooling: no need to set cpufreq_dev to NULL\n\nIt will be overwritten soon with return value of kzalloc().\n\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>\n(cherry picked from commit 5d3bdb8998e066fe270f2f71db7163d5ac40d989)\nSigned-off-by: Kevin Hilman <khilman@linaro.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/944cac03d1c35cd96cb6ed1f4057f7b52deef919"},{"sha":"257a06de77cd1959ed59bfa1df2500143339da3f","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: cpu_cooling: no need to initialze 'ret'\n\nret is initialized before it is used, so no need to set it to 0 in its declaration.\n\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>\n(cherry picked from commit 8e54d442fe3cdd1ffe5f563ee843b4d48e14ef6e)\nSigned-off-by: Kevin Hilman <khilman@linaro.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/257a06de77cd1959ed59bfa1df2500143339da3f"},{"sha":"f9715f8642d8bd67c08b0b95098e570ca5b03df6","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: cpu_cooling: propagate error returned by idr_alloc()\n\nWe aren't supposed to return our own error type here. Return what we got.\n\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>\n(cherry picked from commit 268ac445ee1b2b7c2806e7a21076e6d94aca1ca3)\nSigned-off-by: Kevin Hilman <khilman@linaro.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/f9715f8642d8bd67c08b0b95098e570ca5b03df6"},{"sha":"b3ee49fd5bf6cff7aef51981a4d394289c7495f2","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: cpu_cooling: Don't match min/max frequencies for all CPUs on cooling register\n\nIn __cpufreq_cooling_register() we try to match min/max frequencies for all CPUs\npassed in 'clip_cpus' mask. This mask is the cpumask of cpus where the frequency\nconstraints will be applied.\n\nSame frequency constraint can be applied only to the CPUs belonging to the same\ncluster (i.e. CPUs sharing clock line). For all such CPUs we have a single\n'struct cpufreq_policy' structure managing them and so getting policies for all\nCPUs wouldn't make any sense as they will all return the same pointer.\n\nSo, remove this useless check of checking min/max for all CPUs. Also update doc\ncomment to make this more obvious that clip_cpus should be same as\npolicy->related_cpus.\n\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>\n(cherry picked from commit 405fb8256226ad68cf6ba5172d289a70cb447c81)\nSigned-off-by: Kevin Hilman <khilman@linaro.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/b3ee49fd5bf6cff7aef51981a4d394289c7495f2"},{"sha":"64eb8eb27a1219607c3b3612ecfe567947f4b872","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: cpu_cooling: don't iterate over all allowed_cpus to update cpufreq policy\n\nAll CPUs present in 'allowed_cpus' share the same 'struct cpufreq_policy'\nstructure and so calling cpufreq_update_policy() for each of them doesn't make\nsense.\n\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>\n(cherry picked from commit e1fae554fb69b8869acbea9397d15758a93d1204)\nSigned-off-by: Kevin Hilman <khilman@linaro.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/64eb8eb27a1219607c3b3612ecfe567947f4b872"},{"sha":"ca69f5ed098685c95d181b0f864d9338edee04d0","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: cpu_cooling: Don't check is_cpufreq_valid()\n\nBecause get_cpu_frequency() has returned a valid frequency, it means that the\ncpufreq policy is surely valid and so no point checking that again with\nis_cpufreq_valid(). Get rid of the routine as well as there are no more users.\n\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>\n(cherry picked from commit c9ca319f0579cd51b07a666683157233c2cf720d)\nSigned-off-by: Kevin Hilman <khilman@linaro.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/ca69f5ed098685c95d181b0f864d9338edee04d0"},{"sha":"353ec245f2bf5dd2cda3a72e20a8f1405cd43850","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: cpu_cooling: do error handling at the bottom in __cpufreq_cooling_register()\n\nThis makes life easy and bug free. And is scalable for future resource\nallocations.\n\nAcked-by: Javi Merino <javi.merino@arm.com>\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>\n(cherry picked from commit 730abe064b6f8860302b75a689ceed059c08e0b1)\nSigned-off-by: Kevin Hilman <khilman@linaro.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/353ec245f2bf5dd2cda3a72e20a8f1405cd43850"},{"sha":"9e31ee49bbcf1fb2e11ff191816fd3508988da21","author":{"email":"5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","name":"Viresh Kumar"},"message":"thermal: cpu_cooling: initialize 'cpufreq_val' on registration\n\nThere is no point checking for validity of 'cpufreq_val' from\ncpufreq_thermal_notifier() every time the routine is called. Its guaranteed to\nbe 0 on the first call but will be valid otherwise.\n\nLets update it once while the device registers.\n\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Eduardo Valentin <edubezval@gmail.com>\n(cherry picked from commit 7adb635b3cd790e4e0d7e9d0b3dd30574ae36596)\nSigned-off-by: Kevin Hilman <khilman@linaro.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.18/commits/9e31ee49bbcf1fb2e11ff191816fd3508988da21"}]}