<feed xmlns='http://www.w3.org/2005/Atom'>
<title>android_kernel_zuk_msm8996.git/drivers/devfreq, branch master</title>
<subtitle>null
</subtitle>
<link rel='alternate' type='text/html' href='http://git.compromyse.xyz/android/android_kernel_zuk_msm8996.git/'/>
<entry>
<title>Merge branch 'android-4.4-p' of https://android.googlesource.com/kernel/common into lineage-17.1-caf-msm8998</title>
<updated>2020-10-23T15:21:25+00:00</updated>
<author>
<name>Michael Bestas</name>
<email>mkbestas@lineageos.org</email>
</author>
<published>2020-10-23T15:21:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.compromyse.xyz/android/android_kernel_zuk_msm8996.git/commit/?id=794b42a9a5fd60bd14413abedafdd2a9b07b1308'/>
<id>794b42a9a5fd60bd14413abedafdd2a9b07b1308</id>
<content type='text'>
This brings LA.UM.8.4.r1-06000-8x98.0 up to date with
https://android.googlesource.com/kernel/common/ android-4.4-p at commit:
7a9986e91f909 UPSTREAM: binder: fix UAF when releasing todo list

Conflicts:
	fs/eventpoll.c

Change-Id: I77260d03cb539d7e7eefcea360aee2d59bb9e0cb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This brings LA.UM.8.4.r1-06000-8x98.0 up to date with
https://android.googlesource.com/kernel/common/ android-4.4-p at commit:
7a9986e91f909 UPSTREAM: binder: fix UAF when releasing todo list

Conflicts:
	fs/eventpoll.c

Change-Id: I77260d03cb539d7e7eefcea360aee2d59bb9e0cb
</pre>
</div>
</content>
</entry>
<entry>
<title>PM / devfreq: tegra30: Fix integer overflow on CPU's freq max out</title>
<updated>2020-10-01T09:11:50+00:00</updated>
<author>
<name>Dmitry Osipenko</name>
<email>digetx@gmail.com</email>
</author>
<published>2019-11-04T21:56:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.compromyse.xyz/android/android_kernel_zuk_msm8996.git/commit/?id=9fa1b9fed8ec4cc46a1f7763eda306e2389b3e3f'/>
<id>9fa1b9fed8ec4cc46a1f7763eda306e2389b3e3f</id>
<content type='text'>
[ Upstream commit 53b4b2aeee26f42cde5ff2a16dd0d8590c51a55a ]

There is another kHz-conversion bug in the code, resulting in integer
overflow. Although, this time the resulting value is 4294966296 and it's
close to ULONG_MAX, which is okay in this case.

Reviewed-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Tested-by: Peter Geis &lt;pgwipeout@gmail.com&gt;
Signed-off-by: Dmitry Osipenko &lt;digetx@gmail.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[ Upstream commit 53b4b2aeee26f42cde5ff2a16dd0d8590c51a55a ]

There is another kHz-conversion bug in the code, resulting in integer
overflow. Although, this time the resulting value is 4294966296 and it's
close to ULONG_MAX, which is okay in this case.

Reviewed-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Tested-by: Peter Geis &lt;pgwipeout@gmail.com&gt;
Signed-off-by: Dmitry Osipenko &lt;digetx@gmail.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'android-4.4-p' of https://android.googlesource.com/kernel/common into lineage-17.1-caf-msm8998</title>
<updated>2020-03-07T22:00:18+00:00</updated>
<author>
<name>Michael Bestas</name>
<email>mkbestas@lineageos.org</email>
</author>
<published>2020-03-07T22:00:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.compromyse.xyz/android/android_kernel_zuk_msm8996.git/commit/?id=3010be7cfa594aac6134887b8505b3f1bd619ad4'/>
<id>3010be7cfa594aac6134887b8505b3f1bd619ad4</id>
<content type='text'>
This brings LA.UM.8.4.r1-05200-8x98.0 up to date with
https://android.googlesource.com/kernel/common/ android-4.4-p at commit:
4db1ebdd40ec0 FROMLIST: HID: nintendo: add nintendo switch controller driver

Conflicts:
	arch/arm64/boot/Makefile
	arch/arm64/kernel/psci.c
	arch/x86/configs/x86_64_cuttlefish_defconfig
	drivers/md/dm.c
	drivers/of/Kconfig
	drivers/thermal/thermal_core.c
	fs/proc/meminfo.c
	kernel/locking/spinlock_debug.c
	kernel/time/hrtimer.c
	net/wireless/util.c

Change-Id: I5b5163497b7c6ab8487ffbb2d036e4cda01ed670
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This brings LA.UM.8.4.r1-05200-8x98.0 up to date with
https://android.googlesource.com/kernel/common/ android-4.4-p at commit:
4db1ebdd40ec0 FROMLIST: HID: nintendo: add nintendo switch controller driver

Conflicts:
	arch/arm64/boot/Makefile
	arch/arm64/kernel/psci.c
	arch/x86/configs/x86_64_cuttlefish_defconfig
	drivers/md/dm.c
	drivers/of/Kconfig
	drivers/thermal/thermal_core.c
	fs/proc/meminfo.c
	kernel/locking/spinlock_debug.c
	kernel/time/hrtimer.c
	net/wireless/util.c

Change-Id: I5b5163497b7c6ab8487ffbb2d036e4cda01ed670
</pre>
</div>
</content>
</entry>
<entry>
<title>PM / devfreq: Don't fail devfreq_dev_release if not in list</title>
<updated>2020-01-12T10:22:37+00:00</updated>
<author>
<name>Leonard Crestez</name>
<email>leonard.crestez@nxp.com</email>
</author>
<published>2019-11-13T23:21:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.compromyse.xyz/android/android_kernel_zuk_msm8996.git/commit/?id=c7afc27fd963e88f927c992739a5bb5e7b4ac249'/>
<id>c7afc27fd963e88f927c992739a5bb5e7b4ac249</id>
<content type='text'>
[ Upstream commit 42a6b25e67df6ee6675e8d1eaf18065bd73328ba ]

Right now devfreq_dev_release will print a warning and abort the rest of
the cleanup if the devfreq instance is not part of the global
devfreq_list. But this is a valid scenario, for example it can happen if
the governor can't be found or on any other init error that happens
after device_register.

Initialize devfreq-&gt;node to an empty list head in devfreq_add_device so
that list_del becomes a safe noop inside devfreq_dev_release and we can
continue the rest of the cleanup.

Signed-off-by: Leonard Crestez &lt;leonard.crestez@nxp.com&gt;
Reviewed-by: Matthias Kaehlcke &lt;mka@chromium.org&gt;
Reviewed-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[ Upstream commit 42a6b25e67df6ee6675e8d1eaf18065bd73328ba ]

Right now devfreq_dev_release will print a warning and abort the rest of
the cleanup if the devfreq instance is not part of the global
devfreq_list. But this is a valid scenario, for example it can happen if
the governor can't be found or on any other init error that happens
after device_register.

Initialize devfreq-&gt;node to an empty list head in devfreq_add_device so
that list_del becomes a safe noop inside devfreq_dev_release and we can
continue the rest of the cleanup.

Signed-off-by: Leonard Crestez &lt;leonard.crestez@nxp.com&gt;
Reviewed-by: Matthias Kaehlcke &lt;mka@chromium.org&gt;
Reviewed-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>devfreq: Don't force compilation of userspace governor</title>
<updated>2019-12-23T21:43:37+00:00</updated>
<author>
<name>Sultanxda</name>
<email>sultanxda@gmail.com</email>
</author>
<published>2018-01-01T05:34:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.compromyse.xyz/android/android_kernel_zuk_msm8996.git/commit/?id=382b3804ce5f38c299ee01c7a4a3477c4694e82d'/>
<id>382b3804ce5f38c299ee01c7a4a3477c4694e82d</id>
<content type='text'>
Change-Id: I540ed4fe4bef8f059e577c59a839b27ddee78345
Signed-off-by: Sultanxda &lt;sultanxda@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I540ed4fe4bef8f059e577c59a839b27ddee78345
Signed-off-by: Sultanxda &lt;sultanxda@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>PM / devfreq: bw_hwmon: Add missing mutex unlock</title>
<updated>2019-12-23T21:43:32+00:00</updated>
<author>
<name>Michael Bestas</name>
<email>mkbestas@lineageos.org</email>
</author>
<published>2019-03-04T17:47:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.compromyse.xyz/android/android_kernel_zuk_msm8996.git/commit/?id=33665da8699e2a1c6570c323f27409ea40764f9c'/>
<id>33665da8699e2a1c6570c323f27409ea40764f9c</id>
<content type='text'>
Fixes 28aab0311cfcd9b279f41f2f4da0085a660d5ed5
"PM/devfreq: bw_hwmon: add mutex lock in polling interval case"

Change-Id: I84ccefedbc9d9c0d25806799451346b6a46bae90
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes 28aab0311cfcd9b279f41f2f4da0085a660d5ed5
"PM/devfreq: bw_hwmon: add mutex lock in polling interval case"

Change-Id: I84ccefedbc9d9c0d25806799451346b6a46bae90
</pre>
</div>
</content>
</entry>
<entry>
<title>PM / devfreq: memlat: Don't ignore extremely latency sensitive workloads</title>
<updated>2019-12-23T21:43:32+00:00</updated>
<author>
<name>Saravana Kannan</name>
<email>skannan@codeaurora.org</email>
</author>
<published>2017-09-08T05:22:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.compromyse.xyz/android/android_kernel_zuk_msm8996.git/commit/?id=fda65df1352a3c4c369adbac41b428415b4f1258'/>
<id>fda65df1352a3c4c369adbac41b428415b4f1258</id>
<content type='text'>
The ratio value that's compared against ratio_ceil tunable can be 0 for
workloads that are extremely latency sensitive. So, we can't ignore cores
that have a ratio of 0 (which was done to ignore idle cores). So, stop
ignoring cores with a ratio of 0 and instead check for instruction or
frequency being 0 to identify idle cores.

Change-Id: I8c6c14f374f016e6612c3b834589d065bad8f488
Signed-off-by: Saravana Kannan &lt;skannan@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The ratio value that's compared against ratio_ceil tunable can be 0 for
workloads that are extremely latency sensitive. So, we can't ignore cores
that have a ratio of 0 (which was done to ignore idle cores). So, stop
ignoring cores with a ratio of 0 and instead check for instruction or
frequency being 0 to identify idle cores.

Change-Id: I8c6c14f374f016e6612c3b834589d065bad8f488
Signed-off-by: Saravana Kannan &lt;skannan@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>PM / devfreq: bw_hwmon: use unsigned parameter for bytes_to_mbps</title>
<updated>2019-12-23T21:43:32+00:00</updated>
<author>
<name>Maria Yu</name>
<email>aiquny@codeaurora.org</email>
</author>
<published>2018-03-02T08:23:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.compromyse.xyz/android/android_kernel_zuk_msm8996.git/commit/?id=30cd8e406300627bc05bf2c53666aef37946fea2'/>
<id>30cd8e406300627bc05bf2c53666aef37946fea2</id>
<content type='text'>
In bytes_to_mbps function, the parameter is all unsigned,
so change the decleration of the function to include unsigned long
long to avoid compilation errors in 32 bit environment.
Also changed the return value as unsigned long to avoid
any data loss possible in 64 bit environment.

Change-Id: Ib3906bb4bc16086ae343764c5a718f6f005428c5
Signed-off-by: Maria Yu &lt;aiquny@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In bytes_to_mbps function, the parameter is all unsigned,
so change the decleration of the function to include unsigned long
long to avoid compilation errors in 32 bit environment.
Also changed the return value as unsigned long to avoid
any data loss possible in 64 bit environment.

Change-Id: Ib3906bb4bc16086ae343764c5a718f6f005428c5
Signed-off-by: Maria Yu &lt;aiquny@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>adreno_tz: Correct acc_relative_busy calculation</title>
<updated>2019-10-23T11:51:16+00:00</updated>
<author>
<name>Harshitha Sai Neelati</name>
<email>hsaine@codeaurora.org</email>
</author>
<published>2019-09-04T12:02:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.compromyse.xyz/android/android_kernel_zuk_msm8996.git/commit/?id=04024ee16495c8cf184c444a0edaf6aa68fda357'/>
<id>04024ee16495c8cf184c444a0edaf6aa68fda357</id>
<content type='text'>
Current acc_relative_busy calculation is causing integer overflow
in 32 bit system. "stats-&gt;busy_time * stats-&gt;current_frequency"
results in a value which is beyond the 32 bit range.

Typecasting the value to u64 to avoid overflow.

Change-Id: Id97da02bef608787ceb7c9751bbfc203af56deb1
Signed-off-by: Harshitha Sai Neelati &lt;hsaine@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Current acc_relative_busy calculation is causing integer overflow
in 32 bit system. "stats-&gt;busy_time * stats-&gt;current_frequency"
results in a value which is beyond the 32 bit range.

Typecasting the value to u64 to avoid overflow.

Change-Id: Id97da02bef608787ceb7c9751bbfc203af56deb1
Signed-off-by: Harshitha Sai Neelati &lt;hsaine@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>PM / devfreq: gpubw_mon: Add null check for governor private data</title>
<updated>2019-09-23T06:56:21+00:00</updated>
<author>
<name>Archana Sriram</name>
<email>apsrir@codeaurora.org</email>
</author>
<published>2018-11-21T12:53:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.compromyse.xyz/android/android_kernel_zuk_msm8996.git/commit/?id=10bf308dd8e498c7b36aa420f110e6922140e57c'/>
<id>10bf308dd8e498c7b36aa420f110e6922140e57c</id>
<content type='text'>
During SUSPEND event, check the pointer for governor
private data is not NULL before updating bus parameters
to zero.

Change-Id: I1a37173e8ae7ad4bcd5f8497c5956302e647c862
Signed-off-by: Archana Sriram &lt;apsrir@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
During SUSPEND event, check the pointer for governor
private data is not NULL before updating bus parameters
to zero.

Change-Id: I1a37173e8ae7ad4bcd5f8497c5956302e647c862
Signed-off-by: Archana Sriram &lt;apsrir@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
