<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/drivers/thermal/st, branch v5.13</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v5.13</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v5.13'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2020-10-12T10:08:35Z</updated>
<entry>
<title>thermal: stm32: simplify the return expression of stm_thermal_prepare()</title>
<updated>2020-10-12T10:08:35Z</updated>
<author>
<name>Qinglang Miao</name>
<email>miaoqinglang@huawei.com</email>
</author>
<published>2020-09-21T13:11:07Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=be52a1963f8333a0ca1bba3d3c28e6332114432a'/>
<id>urn:sha1:be52a1963f8333a0ca1bba3d3c28e6332114432a</id>
<content type='text'>
Simplify the return expression.

Signed-off-by: Qinglang Miao &lt;miaoqinglang@huawei.com&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
Link: https://lore.kernel.org/r/20200921131107.93273-1-miaoqinglang@huawei.com
</content>
</entry>
<entry>
<title>drivers: thermal: Kconfig: fix spelling mistake "acces" -&gt; "access"</title>
<updated>2020-10-12T10:08:34Z</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2020-08-10T08:27:39Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=c071cde00bd52a0b8ca0024eb8b5dbe2430c2c3c'/>
<id>urn:sha1:c071cde00bd52a0b8ca0024eb8b5dbe2430c2c3c</id>
<content type='text'>
There is a spelling mistake in the Kconfig text, fix it.

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
Link: https://lore.kernel.org/r/20200810082739.48007-1-colin.king@canonical.com
</content>
</entry>
<entry>
<title>thermal: Explicitly enable non-changing thermal zone devices</title>
<updated>2020-06-29T18:26:37Z</updated>
<author>
<name>Andrzej Pietrasiewicz</name>
<email>andrzej.p@collabora.com</email>
</author>
<published>2020-06-29T12:29:22Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=bbcf90c0646ac797700269fa6645a6a46466c79f'/>
<id>urn:sha1:bbcf90c0646ac797700269fa6645a6a46466c79f</id>
<content type='text'>
Some thermal zone devices never change their state, so they should be
always enabled.

Signed-off-by: Andrzej Pietrasiewicz &lt;andrzej.p@collabora.com&gt;
Reviewed-by: Bartlomiej Zolnierkiewicz &lt;b.zolnierkie@samsung.com&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
Link: https://lore.kernel.org/r/20200629122925.21729-9-andrzej.p@collabora.com
</content>
</entry>
<entry>
<title>thermal: Delete an error message in four functions</title>
<updated>2020-04-14T09:41:12Z</updated>
<author>
<name>Markus Elfring</name>
<email>elfring@users.sourceforge.net</email>
</author>
<published>2020-04-05T16:35:16Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=8cb775bb005c568857ba7909a1c5a297ed4c33ee'/>
<id>urn:sha1:8cb775bb005c568857ba7909a1c5a297ed4c33ee</id>
<content type='text'>
The function “platform_get_irq” can log an error already.
Thus omit redundant messages for the exception handling in the
calling functions.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring &lt;elfring@users.sourceforge.net&gt;
Reviewed-by: Amit Kucheria &lt;amit.kucheria@linaro.org&gt;
Reviewed-by: Keerthy &lt;j-keerthy@ti.com&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
Link: https://lore.kernel.org/r/05f49ae7-5cc7-d6a0-fc3d-abaf2a0b373c@web.de
</content>
</entry>
<entry>
<title>thermal/x86_pkg_temp: Make pkg_temp_lock a raw_spinlock_t</title>
<updated>2020-03-21T09:01:02Z</updated>
<author>
<name>Clark Williams</name>
<email>williams@redhat.com</email>
</author>
<published>2019-10-08T11:00:21Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=afa58b49ac52dff053e1bb363a425f09dbebc0a3'/>
<id>urn:sha1:afa58b49ac52dff053e1bb363a425f09dbebc0a3</id>
<content type='text'>
The spinlock pkg_temp_lock has the potential of being taken in atomic
context because it can be acquired from the thermal IRQ vector.
It's static and limited scope so go ahead and make it a raw spinlock.

Signed-off-by: Clark Williams &lt;williams@redhat.com&gt;
Signed-off-by: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Signed-off-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
Link: https://lore.kernel.org/r/20191008110021.2j44ayunal7fkb7i@linutronix.de
</content>
</entry>
<entry>
<title>thermal: stm32: fix spelling mistake "preprare" -&gt; "prepare"</title>
<updated>2020-01-31T09:52:13Z</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2020-01-30T10:05:37Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=8c173d5e044d7e7fc9f6070c0fc1c79c0f8256a6'/>
<id>urn:sha1:8c173d5e044d7e7fc9f6070c0fc1c79c0f8256a6</id>
<content type='text'>
There is a spelling mistake in a dev_err error message. Fix it.

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
Link: https://lore.kernel.org/r/20200130100537.18069-1-colin.king@canonical.com
</content>
</entry>
<entry>
<title>thermal: stm32: Fix low threshold interrupt flood</title>
<updated>2020-01-27T14:40:26Z</updated>
<author>
<name>Pascal Paillet</name>
<email>p.paillet@st.com</email>
</author>
<published>2020-01-10T10:16:05Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=2f23e319b133c7392493e77f515a237c8e1e6dd6'/>
<id>urn:sha1:2f23e319b133c7392493e77f515a237c8e1e6dd6</id>
<content type='text'>
With the STM32 thermal peripheral, it is not possible to dump the
temperature that has caused the interrupt.
When the temperature reaches the low threshold, we generally read
a temperature that is a little bit higher than the low threshold.
This maybe due to sampling precision, and also because the CPU becomes
hotter when it quits WFI mode.
In that case, the framework does not change the trip points. This leads
to a lot of low threshold interrupts.

The fix is to set the low threshold value 0.5 degrees Celsius
below the actual request.

The problem is not so frequent with the high threshold and it would
no be a good idea to set the threshold value higher than the request.

Signed-off-by: Pascal Paillet &lt;p.paillet@st.com&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
Link: https://lore.kernel.org/r/20200110101605.24984-7-p.paillet@st.com
</content>
</entry>
<entry>
<title>thermal: stm32: Improve temperature computing</title>
<updated>2020-01-27T14:40:21Z</updated>
<author>
<name>Pascal Paillet</name>
<email>p.paillet@st.com</email>
</author>
<published>2020-01-10T10:16:04Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=9d8593f22ea33a88f89075b14fc58a95fc15b8ae'/>
<id>urn:sha1:9d8593f22ea33a88f89075b14fc58a95fc15b8ae</id>
<content type='text'>
Change the way of computing to avoid rounds by 1 or 2 degrees.
Also simplify the sampling time management that is hard-coded
to maximum value during probe.

Signed-off-by: Pascal Paillet &lt;p.paillet@st.com&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
Link: https://lore.kernel.org/r/20200110101605.24984-6-p.paillet@st.com
</content>
</entry>
<entry>
<title>thermal: stm32: Handle multiple trip points</title>
<updated>2020-01-27T14:40:16Z</updated>
<author>
<name>Pascal Paillet</name>
<email>p.paillet@st.com</email>
</author>
<published>2020-01-10T10:16:03Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=dd4c3919a83074683aab3c1950c69e1131f3c46e'/>
<id>urn:sha1:dd4c3919a83074683aab3c1950c69e1131f3c46e</id>
<content type='text'>
Let the thermal framework handle the trip points instead
of custom code inside the driver. This is backward compatible,
simplifies the driver and offers the possibility to the user
to set any trip point he needs.

stm_thermal_set_trips callback that is registered to
set_trips ops to handle the low and high thresholds and replaces
stm_thermal_set_threshold and stm_thermal_update_threshold functions.
modify irq enable to handle the thresholds.

Signed-off-by: Pascal Paillet &lt;p.paillet@st.com&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
Link: https://lore.kernel.org/r/20200110101605.24984-5-p.paillet@st.com
</content>
</entry>
<entry>
<title>thermal: stm32: Disable interrupts at probe</title>
<updated>2020-01-27T14:40:12Z</updated>
<author>
<name>Pascal Paillet</name>
<email>p.paillet@st.com</email>
</author>
<published>2020-01-10T10:16:02Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=1f64fa365148f003e39b28a86ce3ada020ea3eec'/>
<id>urn:sha1:1f64fa365148f003e39b28a86ce3ada020ea3eec</id>
<content type='text'>
In case of CPU reset, the interrupts could be enabled at boot time.
Disable interrupts and clear flags.

Signed-off-by: Pascal Paillet &lt;p.paillet@st.com&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
Link: https://lore.kernel.org/r/20200110101605.24984-4-p.paillet@st.com
</content>
</entry>
</feed>
