<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvidia-tegra-modules.git/drivers/platform/tegra/mc/fixed_point.c, branch rtss22-ae</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>t19x: la/ptsa: fix fixed point arithmetic function</title>
<updated>2018-09-26T02:54:50+00:00</updated>
<author>
<name>Sanjay Chandrashekara</name>
<email>sanjayc@nvidia.com</email>
</author>
<published>2018-09-25T17:49:31+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=4ff10429bcb930e4c12377aa008ed6e306630512'/>
<id>4ff10429bcb930e4c12377aa008ed6e306630512</id>
<content type='text'>
This patch fixes the kernel warning detected by UBSAN.
================================================================================
UBSAN: Undefined behaviour in kernel/nvidia/drivers/platform/tegra/mc/fixed_point.c:127:21
shift exponent 63 is too large for 32-bit type 'unsigned int'
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.128-tegra-gb180249 #8
Hardware name: galen (DT)
Call trace:
[&lt;ffffff8008092e38&gt;] dump_backtrace+0x0/0x2f0
[&lt;ffffff8008093704&gt;] show_stack+0x24/0x30
[&lt;ffffff80088a454c&gt;] dump_stack+0xbc/0x108
[&lt;ffffff8008915224&gt;] ubsan_epilogue+0x14/0x50
[&lt;ffffff80089157c0&gt;] __ubsan_handle_shift_out_of_bounds+0x108/0x158
[&lt;ffffff80094d381c&gt;] fixed_point_shift_right+0x2ac/0x3a0
[&lt;ffffff80094d50e4&gt;] fixed_point_div+0x71c/0x900
[&lt;ffffff80094bb0ec&gt;] setup_freq_ranges+0x17c/0x298
[&lt;ffffff80094d2c74&gt;] tegra_la_get_t19x_specific+0x1fc/0x738
[&lt;ffffff800a201e58&gt;] tegra_latency_allowance_init+0x88/0x4c8
[&lt;ffffff8008083b34&gt;] do_one_initcall+0xd4/0x260
[&lt;ffffff800a191570&gt;] kernel_init_freeable+0x44c/0x4f4
[&lt;ffffff8009b03528&gt;] kernel_init+0x18/0x128
[&lt;ffffff80080837d0&gt;] ret_from_fork+0x10/0x40
================================================================================

Bug 2393714

Change-Id: Ia7475f5b179547b80fbd7f6fbf3779b0b27a738f
Signed-off-by: Sanjay Chandrashekara &lt;sanjayc@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1845710
Reviewed-by: Kanit Therdsteerasukdi &lt;kanitt@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Yan &lt;byan@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 the kernel warning detected by UBSAN.
================================================================================
UBSAN: Undefined behaviour in kernel/nvidia/drivers/platform/tegra/mc/fixed_point.c:127:21
shift exponent 63 is too large for 32-bit type 'unsigned int'
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.128-tegra-gb180249 #8
Hardware name: galen (DT)
Call trace:
[&lt;ffffff8008092e38&gt;] dump_backtrace+0x0/0x2f0
[&lt;ffffff8008093704&gt;] show_stack+0x24/0x30
[&lt;ffffff80088a454c&gt;] dump_stack+0xbc/0x108
[&lt;ffffff8008915224&gt;] ubsan_epilogue+0x14/0x50
[&lt;ffffff80089157c0&gt;] __ubsan_handle_shift_out_of_bounds+0x108/0x158
[&lt;ffffff80094d381c&gt;] fixed_point_shift_right+0x2ac/0x3a0
[&lt;ffffff80094d50e4&gt;] fixed_point_div+0x71c/0x900
[&lt;ffffff80094bb0ec&gt;] setup_freq_ranges+0x17c/0x298
[&lt;ffffff80094d2c74&gt;] tegra_la_get_t19x_specific+0x1fc/0x738
[&lt;ffffff800a201e58&gt;] tegra_latency_allowance_init+0x88/0x4c8
[&lt;ffffff8008083b34&gt;] do_one_initcall+0xd4/0x260
[&lt;ffffff800a191570&gt;] kernel_init_freeable+0x44c/0x4f4
[&lt;ffffff8009b03528&gt;] kernel_init+0x18/0x128
[&lt;ffffff80080837d0&gt;] ret_from_fork+0x10/0x40
================================================================================

Bug 2393714

Change-Id: Ia7475f5b179547b80fbd7f6fbf3779b0b27a738f
Signed-off-by: Sanjay Chandrashekara &lt;sanjayc@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1845710
Reviewed-by: Kanit Therdsteerasukdi &lt;kanitt@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Yan &lt;byan@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>platform: t194: la/ptsa: improve error handling</title>
<updated>2018-04-27T00:56:05+00:00</updated>
<author>
<name>Chetan Kumar</name>
<email>chetankumarn@nvidia.com</email>
</author>
<published>2018-02-02T01:14:11+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=655581daa3490667514f81d3d1099193818376c9'/>
<id>655581daa3490667514f81d3d1099193818376c9</id>
<content type='text'>
Limit the use of BUG_ON in la/ptsa driver. In case of a recoverable
error, print a warning message and leave it up to the calling API
to handle the error condition by returning appropriate error code.

Bug 1755290

JIRA: TMM-29

Change-Id: I111a37903851b0779262c647071a0a26c745eabb
Signed-off-by: Chetan Kumar &lt;chetankumarn@nvidia.com&gt;
Signed-off-by: Sanjay Chandrashekara &lt;sanjayc@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1652211
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>
Limit the use of BUG_ON in la/ptsa driver. In case of a recoverable
error, print a warning message and leave it up to the calling API
to handle the error condition by returning appropriate error code.

Bug 1755290

JIRA: TMM-29

Change-Id: I111a37903851b0779262c647071a0a26c745eabb
Signed-off-by: Chetan Kumar &lt;chetankumarn@nvidia.com&gt;
Signed-off-by: Sanjay Chandrashekara &lt;sanjayc@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1652211
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>platform: t194: mc: la/ptsa support for t19x</title>
<updated>2018-01-26T21:09:23+00:00</updated>
<author>
<name>Chetan Kumar</name>
<email>chetankumarn@nvidia.com</email>
</author>
<published>2018-01-15T18:56:17+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=1cf6021752ae253d717ec15f05430719502b8293'/>
<id>1cf6021752ae253d717ec15f05430719502b8293</id>
<content type='text'>
This patch adds the following:
- LA/PTSA driver for t19x.
- Generic debugfs interface for la/ptsa.

Bug 1755290

JIRA: TMM-29

Change-Id: I3680590d032c899d0c5fa34d88647fdc0cf0dd8d
Signed-off-by: Chetan Kumar &lt;chetankumarn@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1602736
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 adds the following:
- LA/PTSA driver for t19x.
- Generic debugfs interface for la/ptsa.

Bug 1755290

JIRA: TMM-29

Change-Id: I3680590d032c899d0c5fa34d88647fdc0cf0dd8d
Signed-off-by: Chetan Kumar &lt;chetankumarn@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1602736
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>
