<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvidia-tegra-modules.git/drivers/soc/tegra, 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>soc/tegra: pm-tegra210: use atomic lock for RT</title>
<updated>2019-10-18T17:25:41+00:00</updated>
<author>
<name>Sumit Gupta</name>
<email>sumitg@nvidia.com</email>
</author>
<published>2019-10-15T08:21:22+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=bf1e14133b894ff67478c7bf2e4cbeabd09ad944'/>
<id>bf1e14133b894ff67478c7bf2e4cbeabd09ad944</id>
<content type='text'>
For RT, changing "tegra210_cpu_pm_lock" from RWLOCK to RAW_SPINLOCK.
RWLOCK in PREEMPT_RT_FULL becomes sleeping lock which triggers BUG().
Changing it to RAW_SPINLOCK to use atomic lock.

 BUG: scheduling while atomic: swapper/3/0/0x00000002
 Modules linked in:
 CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.9.140-rt93-tegra #47
 Hardware name: Jetson-TX1 (DT)
 Call trace:
 [&lt;ffffff800808b6d8&gt;] dump_backtrace+0x0/0x198
 [&lt;ffffff800808bc9c&gt;] show_stack+0x24/0x30
 [&lt;ffffff80084512d4&gt;] dump_stack+0x98/0xbc
 [&lt;ffffff80080e75d4&gt;] __schedule_bug+0x64/0x80
 [&lt;ffffff8008f63388&gt;] __schedule+0x540/0x598
 [&lt;ffffff8008f63428&gt;] schedule+0x48/0xe0
 [&lt;ffffff8008f64c34&gt;] rt_spin_lock_slowlock+0x22c/0x308
 [&lt;ffffff8008f66e38&gt;] __rt_spin_lock+0x50/0x60
 [&lt;ffffff8008f67024&gt;] rt_read_lock+0x34/0x50
 [&lt;ffffff80086bfc08&gt;] tegra210_cpu_pm_exit+0x28/0x70
 [&lt;ffffff8008b9c174&gt;] arm_enter_idle_state+0xb4/0xc0
 [&lt;ffffff8008b99acc&gt;] cpuidle_enter_state+0x84/0x3a0
 [&lt;ffffff8008b99e5c&gt;] cpuidle_enter+0x34/0x48
 [&lt;ffffff8008111120&gt;] call_cpuidle+0x50/0x80
 [&lt;ffffff8008111464&gt;] cpu_startup_entry+0x174/0x208
 [&lt;ffffff8008092510&gt;] secondary_start_kernel+0x190/0x1f8
 [&lt;0000000080f681a4&gt;] 0x80f681a4

Bug 200511477

Change-Id: I0a10b6a23f0b7ad4323dc47ccb69e2384bda058f
Signed-off-by: Sumit Gupta &lt;sumitg@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2218264
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
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>
For RT, changing "tegra210_cpu_pm_lock" from RWLOCK to RAW_SPINLOCK.
RWLOCK in PREEMPT_RT_FULL becomes sleeping lock which triggers BUG().
Changing it to RAW_SPINLOCK to use atomic lock.

 BUG: scheduling while atomic: swapper/3/0/0x00000002
 Modules linked in:
 CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.9.140-rt93-tegra #47
 Hardware name: Jetson-TX1 (DT)
 Call trace:
 [&lt;ffffff800808b6d8&gt;] dump_backtrace+0x0/0x198
 [&lt;ffffff800808bc9c&gt;] show_stack+0x24/0x30
 [&lt;ffffff80084512d4&gt;] dump_stack+0x98/0xbc
 [&lt;ffffff80080e75d4&gt;] __schedule_bug+0x64/0x80
 [&lt;ffffff8008f63388&gt;] __schedule+0x540/0x598
 [&lt;ffffff8008f63428&gt;] schedule+0x48/0xe0
 [&lt;ffffff8008f64c34&gt;] rt_spin_lock_slowlock+0x22c/0x308
 [&lt;ffffff8008f66e38&gt;] __rt_spin_lock+0x50/0x60
 [&lt;ffffff8008f67024&gt;] rt_read_lock+0x34/0x50
 [&lt;ffffff80086bfc08&gt;] tegra210_cpu_pm_exit+0x28/0x70
 [&lt;ffffff8008b9c174&gt;] arm_enter_idle_state+0xb4/0xc0
 [&lt;ffffff8008b99acc&gt;] cpuidle_enter_state+0x84/0x3a0
 [&lt;ffffff8008b99e5c&gt;] cpuidle_enter+0x34/0x48
 [&lt;ffffff8008111120&gt;] call_cpuidle+0x50/0x80
 [&lt;ffffff8008111464&gt;] cpu_startup_entry+0x174/0x208
 [&lt;ffffff8008092510&gt;] secondary_start_kernel+0x190/0x1f8
 [&lt;0000000080f681a4&gt;] 0x80f681a4

Bug 200511477

Change-Id: I0a10b6a23f0b7ad4323dc47ccb69e2384bda058f
Signed-off-by: Sumit Gupta &lt;sumitg@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2218264
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
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>soc/tegra: Fix disabling/enabling CPU idle state on fast cluster</title>
<updated>2019-05-31T17:01:14+00:00</updated>
<author>
<name>Vincent Zhang</name>
<email>xunz@nvidia.com</email>
</author>
<published>2019-05-31T02:43:14+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=687b4ba56fbeb87d2953c403ee9f19a55a0c78bc'/>
<id>687b4ba56fbeb87d2953c403ee9f19a55a0c78bc</id>
<content type='text'>
The enabling/disabling a idle state should apply to cluster instead of
on current running CPU only.

Bug 200523271

Change-Id: I1ba08c425c92ea6e7bbef1b753aa2c71d85c41ba
Signed-off-by: Vincent Zhang &lt;xunz@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2128182
Reviewed-by: Joseph Lo &lt;josephl@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Daniel Fu &lt;danifu@nvidia.com&gt;
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>
The enabling/disabling a idle state should apply to cluster instead of
on current running CPU only.

Bug 200523271

Change-Id: I1ba08c425c92ea6e7bbef1b753aa2c71d85c41ba
Signed-off-by: Vincent Zhang &lt;xunz@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2128182
Reviewed-by: Joseph Lo &lt;josephl@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Daniel Fu &lt;danifu@nvidia.com&gt;
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>soc/tegra: replace trace_printk with pr_debug</title>
<updated>2019-02-28T17:28:39+00:00</updated>
<author>
<name>Bo Yan</name>
<email>byan@nvidia.com</email>
</author>
<published>2018-10-09T21:18:46+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=8d01943ebc6d24931ad53fbdb6dab9d521f8481d'/>
<id>8d01943ebc6d24931ad53fbdb6dab9d521f8481d</id>
<content type='text'>
With trace_printk in the production code, following warning is printed
during boot:

    **********************************************************
    **   NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE   **
    **                                                      **
    ** trace_printk() being used. Allocating extra memory.  **
    **                                                      **
    ** This means that this is a DEBUG kernel and it is     **
    ** unsafe for production use.                           **
    **                                                      **
    ** If you see this message and you are not debugging    **
    ** the kernel, report this immediately to your vendor!  **
    **                                                      **
    **   NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE   **
    **********************************************************

commit 2184db46e425 tracing: Print nasty banner when trace_printk() is in use
has the rationale:

    Since trace_printk() should only be used for debugging purposes,
    there's no reason to waste memory on these buffers on a
    production system. That means, trace_printk() should never be used
    unless a developer is debugging their kernel. There's macro magic
    to allocate the buffers if trace_printk() is used anywhere in
    the kernel.

replace trace_printk with pr_debug. If these debug prints are desired,
a specialized trace event should be defined and used.

Bug 200432015
Bug 2462027

Change-Id: Ic15a36e3764368d45468a076bf03257f9e1d4f7d
Signed-off-by: Bo Yan &lt;byan@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1922977
(cherry picked from commit e47b434e20a28c4755aad9ac8605fe22a18e4ec6)
Reviewed-on: https://git-master.nvidia.com/r/2028962
Reviewed-by: Vincent Zhang (SW) &lt;xunz@nvidia.com&gt;
Tested-by: Vincent Zhang (SW) &lt;xunz@nvidia.com&gt;
Reviewed-by: Daniel Fu &lt;danifu@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>
With trace_printk in the production code, following warning is printed
during boot:

    **********************************************************
    **   NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE   **
    **                                                      **
    ** trace_printk() being used. Allocating extra memory.  **
    **                                                      **
    ** This means that this is a DEBUG kernel and it is     **
    ** unsafe for production use.                           **
    **                                                      **
    ** If you see this message and you are not debugging    **
    ** the kernel, report this immediately to your vendor!  **
    **                                                      **
    **   NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE   **
    **********************************************************

commit 2184db46e425 tracing: Print nasty banner when trace_printk() is in use
has the rationale:

    Since trace_printk() should only be used for debugging purposes,
    there's no reason to waste memory on these buffers on a
    production system. That means, trace_printk() should never be used
    unless a developer is debugging their kernel. There's macro magic
    to allocate the buffers if trace_printk() is used anywhere in
    the kernel.

replace trace_printk with pr_debug. If these debug prints are desired,
a specialized trace event should be defined and used.

Bug 200432015
Bug 2462027

Change-Id: Ic15a36e3764368d45468a076bf03257f9e1d4f7d
Signed-off-by: Bo Yan &lt;byan@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1922977
(cherry picked from commit e47b434e20a28c4755aad9ac8605fe22a18e4ec6)
Reviewed-on: https://git-master.nvidia.com/r/2028962
Reviewed-by: Vincent Zhang (SW) &lt;xunz@nvidia.com&gt;
Tested-by: Vincent Zhang (SW) &lt;xunz@nvidia.com&gt;
Reviewed-by: Daniel Fu &lt;danifu@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>soc/tegra: fix permission of forced_idle_duration_us</title>
<updated>2019-02-20T22:31:10+00:00</updated>
<author>
<name>sumitg</name>
<email>sumitg@nvidia.com</email>
</author>
<published>2019-02-19T09:21:14+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=5aaaca4c6ca9dfe87ea9b7fa706b53d87b48c57c'/>
<id>5aaaca4c6ca9dfe87ea9b7fa706b53d87b48c57c</id>
<content type='text'>
"nvidia-bug-report-tegra.sh" tries to read all files with
read permission from path "/sys/kernel/debug/*cpuidle*/".
Permission for "forced_idle_duration_us" node is wrongly
set to read also but only write to this node is supported.
So, reading it causes permission error. Changing permission
to only write for root user to fix the error.

Bug 200494482

Change-Id: Ibb41dad66e345c527addb796519cb73f792dd5ae
Signed-off-by: sumitg &lt;sumitg@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2022773
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dipen Patel &lt;dipenp@nvidia.com&gt;
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
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>
"nvidia-bug-report-tegra.sh" tries to read all files with
read permission from path "/sys/kernel/debug/*cpuidle*/".
Permission for "forced_idle_duration_us" node is wrongly
set to read also but only write to this node is supported.
So, reading it causes permission error. Changing permission
to only write for root user to fix the error.

Bug 200494482

Change-Id: Ibb41dad66e345c527addb796519cb73f792dd5ae
Signed-off-by: sumitg &lt;sumitg@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2022773
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dipen Patel &lt;dipenp@nvidia.com&gt;
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
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>soc: tegra: Add BPMP EC service node to debugfs</title>
<updated>2018-08-23T16:43:23+00:00</updated>
<author>
<name>Alex Frid</name>
<email>afrid@nvidia.com</email>
</author>
<published>2018-08-01T23:03:07+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=df6397775a72ee5a1049a819da3583a6d67f36b3'/>
<id>df6397775a72ee5a1049a819da3583a6d67f36b3</id>
<content type='text'>
Jira BPMP-2289

Change-Id: Ife20ea74421a33525ed6c2fed73001c890450e8f
Signed-off-by: Alex Frid &lt;afrid@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1790758
Reviewed-by: Srikar Srimath Tirumala &lt;srikars@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sivaram Nair &lt;sivaramn@nvidia.com&gt;
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>
Jira BPMP-2289

Change-Id: Ife20ea74421a33525ed6c2fed73001c890450e8f
Signed-off-by: Alex Frid &lt;afrid@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1790758
Reviewed-by: Srikar Srimath Tirumala &lt;srikars@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sivaram Nair &lt;sivaramn@nvidia.com&gt;
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>soc/tegra: Update Tegra Processor Power Model (PPM)</title>
<updated>2018-07-31T13:17:19+00:00</updated>
<author>
<name>Jon Hunter</name>
<email>jonathanh@nvidia.com</email>
</author>
<published>2015-04-17T05:58:59+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=b241f27b5d324585fc52797c1283dde650aa520d'/>
<id>b241f27b5d324585fc52797c1283dde650aa520d</id>
<content type='text'>
Update the Tegra Processor Power Model for Linux v4.4. This is based
upon the following work by Wei Ni &lt;wni@nvidia.com&gt;:
Reviewed-on: https://chromium-review.googlesource.com/269914
Reviewed-on: https://chromium-review.googlesource.com/283720

Bug 1811732

Change-Id: I9a847cccee322853096093b1ad5110bc4650f3f2
Signed-off-by: Jon Hunter &lt;jonathanh@nvidia.com&gt;
Reviewed-on: http://git-master/r/1255679
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo &lt;jmayo@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1786276
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>
Update the Tegra Processor Power Model for Linux v4.4. This is based
upon the following work by Wei Ni &lt;wni@nvidia.com&gt;:
Reviewed-on: https://chromium-review.googlesource.com/269914
Reviewed-on: https://chromium-review.googlesource.com/283720

Bug 1811732

Change-Id: I9a847cccee322853096093b1ad5110bc4650f3f2
Signed-off-by: Jon Hunter &lt;jonathanh@nvidia.com&gt;
Reviewed-on: http://git-master/r/1255679
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo &lt;jmayo@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1786276
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>soc/tegra: pm-tegra210: fix build error</title>
<updated>2018-06-15T08:20:43+00:00</updated>
<author>
<name>Nicolin Chen</name>
<email>nicolinc@nvidia.com</email>
</author>
<published>2018-06-14T01:00:13+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=998316939d15dcfa5b9753194c89c5f7cb958c01'/>
<id>998316939d15dcfa5b9753194c89c5f7cb958c01</id>
<content type='text'>
This patch fixes below error as tv64 is removed since Kernel 4.10:
    In file included from drivers/soc/tegra/pm-tegra210.c:17:0:
    drivers/soc/tegra/pm-tegra210.c: In function ‘idle_write’:
    drivers/soc/tegra/pm-tegra210.c:404:56: error:
    	request for member ‘tv64’ in something not a structure or union

Bug 200419967

Change-Id: I20060d8126aee91926224677b282decfabdb38bc
Signed-off-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1749214
GVS: Gerrit_Virtual_Submit
Reviewed-by: Joseph Lo &lt;josephl@nvidia.com&gt;
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
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>
This patch fixes below error as tv64 is removed since Kernel 4.10:
    In file included from drivers/soc/tegra/pm-tegra210.c:17:0:
    drivers/soc/tegra/pm-tegra210.c: In function ‘idle_write’:
    drivers/soc/tegra/pm-tegra210.c:404:56: error:
    	request for member ‘tv64’ in something not a structure or union

Bug 200419967

Change-Id: I20060d8126aee91926224677b282decfabdb38bc
Signed-off-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1749214
GVS: Gerrit_Virtual_Submit
Reviewed-by: Joseph Lo &lt;josephl@nvidia.com&gt;
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
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>soc/tegra: remove support of suspend at idle</title>
<updated>2018-06-15T08:20:06+00:00</updated>
<author>
<name>Timo Alho</name>
<email>talho@nvidia.com</email>
</author>
<published>2018-02-19T13:57:40+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=ee0975a7753b75bf11ec76f9d0636392738c932e'/>
<id>ee0975a7753b75bf11ec76f9d0636392738c932e</id>
<content type='text'>
There are some code paths remaining for the SC7-at-idle
support. However, that feature was never completed and there are no
plans to revive it. So the code can be removed.

Bug 200369181

Change-Id: I60cf718b0af5d8efedb4bb88158f8a7323d868ef
Signed-off-by: Timo Alho &lt;talho@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1660816
Signed-off-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1749106
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Joseph Lo &lt;josephl@nvidia.com&gt;
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
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>
There are some code paths remaining for the SC7-at-idle
support. However, that feature was never completed and there are no
plans to revive it. So the code can be removed.

Bug 200369181

Change-Id: I60cf718b0af5d8efedb4bb88158f8a7323d868ef
Signed-off-by: Timo Alho &lt;talho@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1660816
Signed-off-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1749106
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Joseph Lo &lt;josephl@nvidia.com&gt;
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
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>soc/tegra: Fix misuse of tegra_bpmp_send_receive</title>
<updated>2018-06-15T08:20:02+00:00</updated>
<author>
<name>Nicolin Chen</name>
<email>nicolinc@nvidia.com</email>
</author>
<published>2017-10-27T01:46:57+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=8029ea29a5fe1c761aa7bfb89e555b180f4dccdb'/>
<id>8029ea29a5fe1c761aa7bfb89e555b180f4dccdb</id>
<content type='text'>
The driver is supposed to call tegra_bpmp_send_receive() functions
to send mails to bpmp firmware without caring about return values.
However, the two function calls in the driver put the input mails
as output parameters while leaving the input parameters to NULL.

(Note: input means Kernel -&gt; bpmp; output means bpmp -&gt; kernel)

This creates a problem that bpmp doesn't receive the correct mail.
So this change just simply fixes the bug.

Bug 200344135

Change-Id: I40d3df0db0c629f5692c4b7002a817a0c9af8a36
Signed-off-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1586646
Signed-off-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1749105
GVS: Gerrit_Virtual_Submit
Reviewed-by: Joseph Lo &lt;josephl@nvidia.com&gt;
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
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>
The driver is supposed to call tegra_bpmp_send_receive() functions
to send mails to bpmp firmware without caring about return values.
However, the two function calls in the driver put the input mails
as output parameters while leaving the input parameters to NULL.

(Note: input means Kernel -&gt; bpmp; output means bpmp -&gt; kernel)

This creates a problem that bpmp doesn't receive the correct mail.
So this change just simply fixes the bug.

Bug 200344135

Change-Id: I40d3df0db0c629f5692c4b7002a817a0c9af8a36
Signed-off-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1586646
Signed-off-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1749105
GVS: Gerrit_Virtual_Submit
Reviewed-by: Joseph Lo &lt;josephl@nvidia.com&gt;
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
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>soc/tegra: Error out when cpuidle_devices is NULL</title>
<updated>2018-06-15T08:19:59+00:00</updated>
<author>
<name>Nicolin Chen</name>
<email>nicolinc@nvidia.com</email>
</author>
<published>2017-09-22T22:56:02+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=9f25c5d3477cf35c5b0ed26cb023f7e1bd22803f'/>
<id>9f25c5d3477cf35c5b0ed26cb023f7e1bd22803f</id>
<content type='text'>
When CONFIG_ARM_CPUIDLE is not set, the cpuidle_devices becomes
NULL. So this patch just let the drvier handle this corner case.

Bug 200344135

Change-Id: I34d220f52fe12fac1db234f23f805049ae17e492
Signed-off-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1566743
Signed-off-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1749104
GVS: Gerrit_Virtual_Submit
Reviewed-by: Joseph Lo &lt;josephl@nvidia.com&gt;
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
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>
When CONFIG_ARM_CPUIDLE is not set, the cpuidle_devices becomes
NULL. So this patch just let the drvier handle this corner case.

Bug 200344135

Change-Id: I34d220f52fe12fac1db234f23f805049ae17e492
Signed-off-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1566743
Signed-off-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1749104
GVS: Gerrit_Virtual_Submit
Reviewed-by: Joseph Lo &lt;josephl@nvidia.com&gt;
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
