<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvidia-tegra-modules.git/drivers/thermal/userspace_alert.c, branch gpu-paging</title>
<subtitle>NVIDIA's kernel modules to support tegra chips (used in Jetson boards)</subtitle>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/'/>
<entry>
<title>thermal: userspace_alert: Fix automatic loading of userspace_alert</title>
<updated>2021-04-16T15:10:28+00:00</updated>
<author>
<name>Jon Hunter</name>
<email>jonathanh@nvidia.com</email>
</author>
<published>2021-04-13T13:30:12+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=1eceeacf73b14e3684457e4e828bd572077e6ad6'/>
<id>1eceeacf73b14e3684457e4e828bd572077e6ad6</id>
<content type='text'>
The userspace_alert driver is not automatically loaded on boot because
the MODULE_DEVICE_TABLE definition for the driver is missing. Add the
MODULE_DEVICE_TABLE for the userspace_alert driver so that the modalias
is created and the driver is automatically loaded on boot.

JIRA LS-32
Bug 200721211

Change-Id: I2cca5bd4118ab593b5aa9ceea606eddcf190ca7d
Signed-off-by: Jon Hunter &lt;jonathanh@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2514231
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The userspace_alert driver is not automatically loaded on boot because
the MODULE_DEVICE_TABLE definition for the driver is missing. Add the
MODULE_DEVICE_TABLE for the userspace_alert driver so that the modalias
is created and the driver is automatically loaded on boot.

JIRA LS-32
Bug 200721211

Change-Id: I2cca5bd4118ab593b5aa9ceea606eddcf190ca7d
Signed-off-by: Jon Hunter &lt;jonathanh@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2514231
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>thermal: userspace_alert: print state transition</title>
<updated>2020-10-30T12:39:51+00:00</updated>
<author>
<name>Leon Yu</name>
<email>leoyu@nvidia.com</email>
</author>
<published>2020-10-29T07:25:42+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=e3111950da098ab031a0928c3b4749786c444ceb'/>
<id>e3111950da098ab031a0928c3b4749786c444ceb</id>
<content type='text'>
On systems where userspace_alert is enabled and configured, it is
desirable to print out cooling state transition of these cooling
devices. Doing so can be informative and ease debugging cases where
alert is configured to signal thermal throttling.

Bug 1688327

Signed-off-by: Leon Yu &lt;leoyu@nvidia.com&gt;
Change-Id: I8b20b9807950c09240c3275c8551e8d76862870b
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2438326
Reviewed-by: automaticguardword &lt;automaticguardword@nvidia.com&gt;
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rajkumar Kasirajan &lt;rkasirajan@nvidia.com&gt;
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On systems where userspace_alert is enabled and configured, it is
desirable to print out cooling state transition of these cooling
devices. Doing so can be informative and ease debugging cases where
alert is configured to signal thermal throttling.

Bug 1688327

Signed-off-by: Leon Yu &lt;leoyu@nvidia.com&gt;
Change-Id: I8b20b9807950c09240c3275c8551e8d76862870b
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2438326
Reviewed-by: automaticguardword &lt;automaticguardword@nvidia.com&gt;
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rajkumar Kasirajan &lt;rkasirajan@nvidia.com&gt;
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>thermal: userspace_alert: fix false positive alert</title>
<updated>2020-10-28T10:38:43+00:00</updated>
<author>
<name>Leon Yu</name>
<email>leoyu@nvidia.com</email>
</author>
<published>2020-10-20T07:24:21+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=0cfefd7fd7c86cab5232e03a4b4d3294af0282f9'/>
<id>0cfefd7fd7c86cab5232e03a4b4d3294af0282f9</id>
<content type='text'>
The driver can send false alert during suspend where kernel will send
signal to userspace processes in order to freeze them. Therefore we
should check if the waking condition is indeed met, otherwise
-ERESTARTSYS should be returned so that the syscall can restarted
transparently after resume.

Bug 200666953

Signed-off-by: Leon Yu &lt;leoyu@nvidia.com&gt;
Change-Id: I5e3736edbc0093551ef4242e4c5350786bdbb830
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2430413
Reviewed-by: automaticguardword &lt;automaticguardword@nvidia.com&gt;
Reviewed-by: Rajkumar Kasirajan &lt;rkasirajan@nvidia.com&gt;
Reviewed-by: Karthik Mantravadi &lt;mkarthik@nvidia.com&gt;
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The driver can send false alert during suspend where kernel will send
signal to userspace processes in order to freeze them. Therefore we
should check if the waking condition is indeed met, otherwise
-ERESTARTSYS should be returned so that the syscall can restarted
transparently after resume.

Bug 200666953

Signed-off-by: Leon Yu &lt;leoyu@nvidia.com&gt;
Change-Id: I5e3736edbc0093551ef4242e4c5350786bdbb830
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2430413
Reviewed-by: automaticguardword &lt;automaticguardword@nvidia.com&gt;
Reviewed-by: Rajkumar Kasirajan &lt;rkasirajan@nvidia.com&gt;
Reviewed-by: Karthik Mantravadi &lt;mkarthik@nvidia.com&gt;
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>nvidia: thermal: Make cooling devices DT dependent</title>
<updated>2018-08-16T11:45:47+00:00</updated>
<author>
<name>Manish Bhardwaj</name>
<email>mbhardwaj@nvidia.com</email>
</author>
<published>2018-08-02T10:06:54+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=954399f581e915aa70ae36e75b1770bed2276e4d'/>
<id>954399f581e915aa70ae36e75b1770bed2276e4d</id>
<content type='text'>
Make cooling devices use "of handle" based registration

Bug 2297670

Change-Id: I09c09e3643534f51ae8cba32e889d9af75aa0861
Signed-off-by: Manish Bhardwaj &lt;mbhardwaj@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1791076
Reviewed-by: Abhijit . &lt;abhijit@nvidia.com&gt;
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make cooling devices use "of handle" based registration

Bug 2297670

Change-Id: I09c09e3643534f51ae8cba32e889d9af75aa0861
Signed-off-by: Manish Bhardwaj &lt;mbhardwaj@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1791076
Reviewed-by: Abhijit . &lt;abhijit@nvidia.com&gt;
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>thermal: Add userspace-alert cooling device</title>
<updated>2018-08-02T09:34:19+00:00</updated>
<author>
<name>sreenivasulu velpula</name>
<email>svelpula@nvidia.com</email>
</author>
<published>2017-05-16T13:15:47+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=8be8441aac862b726faf87874bf3ea4f964a758a'/>
<id>8be8441aac862b726faf87874bf3ea4f964a758a</id>
<content type='text'>
Provides the facility for userspace to know whether thermal alert
occurred or not for a particular temperature trip value.
This is supported by adding a SW thermal cooling device.

This change includes multiple changes on top of
change I6711adf469b85ad3a5470e3ad8ac70d83b102b17

Bug 1832737

Change-Id: I69c06f41b6681ad67360cacfa57c90223eca45c5
Signed-off-by: sreenivasulu velpula &lt;svelpula@nvidia.com&gt;
Reviewed-on: http://git-master/r/1260802
(cherry picked from commit ba7a0d5d53d7d62de728a8b43aabd98bf5f60b58)
Signed-off-by: sreenivasulu velpula &lt;svelpula@nvidia.com&gt;
Reviewed-on: http://git-master/r/1483078
Reviewed-by: Vipin Kumar &lt;vipink@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Timo Alho &lt;talho@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Provides the facility for userspace to know whether thermal alert
occurred or not for a particular temperature trip value.
This is supported by adding a SW thermal cooling device.

This change includes multiple changes on top of
change I6711adf469b85ad3a5470e3ad8ac70d83b102b17

Bug 1832737

Change-Id: I69c06f41b6681ad67360cacfa57c90223eca45c5
Signed-off-by: sreenivasulu velpula &lt;svelpula@nvidia.com&gt;
Reviewed-on: http://git-master/r/1260802
(cherry picked from commit ba7a0d5d53d7d62de728a8b43aabd98bf5f60b58)
Signed-off-by: sreenivasulu velpula &lt;svelpula@nvidia.com&gt;
Reviewed-on: http://git-master/r/1483078
Reviewed-by: Vipin Kumar &lt;vipink@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Timo Alho &lt;talho@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
