<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvidia-tegra-modules.git/drivers/trusty, 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>[Boot-KPI]Fix modprobe trusty.ko</title>
<updated>2019-06-10T18:57:29+00:00</updated>
<author>
<name>Achal Verma</name>
<email>achalv@nvidia.com</email>
</author>
<published>2019-04-08T10:01: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=14703495189888011d002f20b3ccf00e7834c630'/>
<id>14703495189888011d002f20b3ccf00e7834c630</id>
<content type='text'>
Change to make trusty.ko a module,
and fix crash during modprobe.
Use along with 2092325.

Bug 2330176
Bug 200489191

Change-Id: I9309afa064d1d714b0ea294f8436166ce52abda1
Signed-off-by: Achal Verma &lt;achalv@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2093096
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rahul Jain (SW-TEGRA) &lt;rahuljain@nvidia.com&gt;
Reviewed-by: Dmitry Pervushin &lt;dpervushin@nvidia.com&gt;
(cherry picked from commit c7ad9f735d4e0296faf232e242c3ea6555178cf8)
Reviewed-on: https://git-master.nvidia.com/r/2129326
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Harinarayan Bhatta &lt;hbhatta@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>
Change to make trusty.ko a module,
and fix crash during modprobe.
Use along with 2092325.

Bug 2330176
Bug 200489191

Change-Id: I9309afa064d1d714b0ea294f8436166ce52abda1
Signed-off-by: Achal Verma &lt;achalv@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2093096
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rahul Jain (SW-TEGRA) &lt;rahuljain@nvidia.com&gt;
Reviewed-by: Dmitry Pervushin &lt;dpervushin@nvidia.com&gt;
(cherry picked from commit c7ad9f735d4e0296faf232e242c3ea6555178cf8)
Reviewed-on: https://git-master.nvidia.com/r/2129326
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Harinarayan Bhatta &lt;hbhatta@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>trusty: firmware version registration</title>
<updated>2019-05-10T03:42:25+00:00</updated>
<author>
<name>dmitry pervushin</name>
<email>dpervushin@nvidia.com</email>
</author>
<published>2019-04-08T10:45:16+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=95f2b73f4dafa5a3747a90dc036e6b5e08179ae9'/>
<id>95f2b73f4dafa5a3747a90dc036e6b5e08179ae9</id>
<content type='text'>
Register version string using devm_register_firwmare_version

Bug 2330176
Bug 200489191

Change-Id: I9270920a5f8bacac4eeeb3652747f4eb5fdd557f
Reviewed-on: https://git-master.nvidia.com/r/2092325
(cherry picked from commit ebe5219b6ac45a0a4d99f1a128c2c96faaab3324)
Signed-off-by: dmitry pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2094365
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rahul Jain (SW-TEGRA) &lt;rahuljain@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>
Register version string using devm_register_firwmare_version

Bug 2330176
Bug 200489191

Change-Id: I9270920a5f8bacac4eeeb3652747f4eb5fdd557f
Reviewed-on: https://git-master.nvidia.com/r/2092325
(cherry picked from commit ebe5219b6ac45a0a4d99f1a128c2c96faaab3324)
Signed-off-by: dmitry pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2094365
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rahul Jain (SW-TEGRA) &lt;rahuljain@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>trusty: k4.14 porting</title>
<updated>2018-08-10T13:53:39+00:00</updated>
<author>
<name>Stephen Wolfe</name>
<email>swolfe@nvidia.com</email>
</author>
<published>2018-07-24T21:11:29+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=b0824932575763fb0c32f7ecb372aa81c2d2a229'/>
<id>b0824932575763fb0c32f7ecb372aa81c2d2a229</id>
<content type='text'>
address K4.14 trusty driver build fixes

Bug 200422831

Change-Id: I96d41f3eab3a95979a387df009adc503ec0f49c2
Signed-off-by: Stephen Wolfe &lt;swolfe@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1787793
Reviewed-by: Mahesh Lagadapati &lt;mlagadapati@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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>
address K4.14 trusty driver build fixes

Bug 200422831

Change-Id: I96d41f3eab3a95979a387df009adc503ec0f49c2
Signed-off-by: Stephen Wolfe &lt;swolfe@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1787793
Reviewed-by: Mahesh Lagadapati &lt;mlagadapati@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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>trusty-ote: remove obsolete header definitions</title>
<updated>2018-07-27T21:12:44+00:00</updated>
<author>
<name>Stephen Wolfe</name>
<email>swolfe@nvidia.com</email>
</author>
<published>2018-05-22T00:09:33+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=8a48a3d857f34cb5673349ae6c4d62ed215c757f'/>
<id>8a48a3d857f34cb5673349ae6c4d62ed215c757f</id>
<content type='text'>
clean up trusty-ote.h

APTS-3260

Change-Id: I376121d4b7e819ac314de31bc84a00d230ede389
Signed-off-by: Stephen Wolfe &lt;swolfe@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1726570
Reviewed-by: Bharat Nihalani &lt;bnihalani@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>
clean up trusty-ote.h

APTS-3260

Change-Id: I376121d4b7e819ac314de31bc84a00d230ede389
Signed-off-by: Stephen Wolfe &lt;swolfe@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1726570
Reviewed-by: Bharat Nihalani &lt;bnihalani@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>Revert "trusty: fix race codition in trusty-ipc driver"</title>
<updated>2018-07-27T21:12:44+00:00</updated>
<author>
<name>Stephen Wolfe</name>
<email>swolfe@nvidia.com</email>
</author>
<published>2018-03-30T00:12:48+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=a02538e392cf4c9e67ab164b7cc6866208763c77'/>
<id>a02538e392cf4c9e67ab164b7cc6866208763c77</id>
<content type='text'>
This reverts commit 84ca5856237ecef6367cf560a9c757dc8bef43cb.

tipc_release race conditions have been fixed, so this change is
no longer necessary.

Bug 200391444

Change-Id: I4e6947c5760c1854c11ef6e828b3f65bba476910
Signed-off-by: Stephen Wolfe &lt;swolfe@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1684704
Reviewed-by: Mihir Joshi &lt;mihirj@nvidia.com&gt;
Reviewed-by: Mahesh Lagadapati &lt;mlagadapati@nvidia.com&gt;
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani &lt;bnihalani@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 reverts commit 84ca5856237ecef6367cf560a9c757dc8bef43cb.

tipc_release race conditions have been fixed, so this change is
no longer necessary.

Bug 200391444

Change-Id: I4e6947c5760c1854c11ef6e828b3f65bba476910
Signed-off-by: Stephen Wolfe &lt;swolfe@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1684704
Reviewed-by: Mihir Joshi &lt;mihirj@nvidia.com&gt;
Reviewed-by: Mahesh Lagadapati &lt;mlagadapati@nvidia.com&gt;
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani &lt;bnihalani@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>trusty-ote: fix race condition in te_close_trusted_session</title>
<updated>2018-07-27T21:12:44+00:00</updated>
<author>
<name>Stephen Wolfe</name>
<email>swolfe@nvidia.com</email>
</author>
<published>2018-03-30T01:42: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=ce5beb26af3906dc796f143cbf83d219aafc1b2e'/>
<id>ce5beb26af3906dc796f143cbf83d219aafc1b2e</id>
<content type='text'>
AOSP changes have been merged which prevent race conditions in
trusty-ipc.c. This commit avoids equivalent race conditions in
trusty-ote.c.

'chan_ctx' struct in trusty-ote.c should be freed in a manner similar
to the 'dn' struct in trusty-ipc.c to avoid a race condition where the
channel context is freed in te_close_trusted_session() while in use by
a tipc_chan_ops callback.

Bug 200391444

Change-Id: I2d3c79a3027e821d8e4a8a7361d5fbde40e00f1f
Signed-off-by: Stephen Wolfe &lt;swolfe@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1684744
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>
AOSP changes have been merged which prevent race conditions in
trusty-ipc.c. This commit avoids equivalent race conditions in
trusty-ote.c.

'chan_ctx' struct in trusty-ote.c should be freed in a manner similar
to the 'dn' struct in trusty-ipc.c to avoid a race condition where the
channel context is freed in te_close_trusted_session() while in use by
a tipc_chan_ops callback.

Bug 200391444

Change-Id: I2d3c79a3027e821d8e4a8a7361d5fbde40e00f1f
Signed-off-by: Stephen Wolfe &lt;swolfe@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1684744
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>trusty-ipc: Fix a race condition in tipc_release</title>
<updated>2018-07-27T21:12:44+00:00</updated>
<author>
<name>Michael Ryleev</name>
<email>gmar@google.com</email>
</author>
<published>2018-03-21T17:21:03+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=ee6fbe3a25ff94cf062f18dad4c78ed14f7924a1'/>
<id>ee6fbe3a25ff94cf062f18dad4c78ed14f7924a1</id>
<content type='text'>
Under certain conditions it is possible that an instance of
tipc_dn_chan structure will be freed in context of tipc_release
call while still be referenced and in use by corresponding
instance of tipc_chan struct. In order to fix that, we will need
to make sure that corresponding tipc_chan struct is not in use
before freeing tipc_dn_chan struct. This CL introduces and
implements a new callback in tipc_chan_ops struct, called
handle_release, that when specified will be called while an
instance of tipc_chan object is getting destroyed. This is
only possible when the last reference to tipc_chan struct
goes away so it is not in use anymore.

Change-Id: I93849aab08e09374a9f8ca9fa00351839519027d
Signed-off-by: Michael Ryleev &lt;gmar@google.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1679989
Tested-by: Stephen Wolfe &lt;swolfe@nvidia.com&gt;
Reviewed-by: Mihir Joshi &lt;mihirj@nvidia.com&gt;
Reviewed-by: Mahesh Lagadapati &lt;mlagadapati@nvidia.com&gt;
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani &lt;bnihalani@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>
Under certain conditions it is possible that an instance of
tipc_dn_chan structure will be freed in context of tipc_release
call while still be referenced and in use by corresponding
instance of tipc_chan struct. In order to fix that, we will need
to make sure that corresponding tipc_chan struct is not in use
before freeing tipc_dn_chan struct. This CL introduces and
implements a new callback in tipc_chan_ops struct, called
handle_release, that when specified will be called while an
instance of tipc_chan object is getting destroyed. This is
only possible when the last reference to tipc_chan struct
goes away so it is not in use anymore.

Change-Id: I93849aab08e09374a9f8ca9fa00351839519027d
Signed-off-by: Michael Ryleev &lt;gmar@google.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1679989
Tested-by: Stephen Wolfe &lt;swolfe@nvidia.com&gt;
Reviewed-by: Mihir Joshi &lt;mihirj@nvidia.com&gt;
Reviewed-by: Mahesh Lagadapati &lt;mlagadapati@nvidia.com&gt;
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani &lt;bnihalani@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>trusty-ipc: Rework tipc_chan_destroy</title>
<updated>2018-07-27T21:12:44+00:00</updated>
<author>
<name>Michael Ryleev</name>
<email>gmar@google.com</email>
</author>
<published>2016-12-22T18:47:00+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=a0e1804ba1cd2ff4b652f9443d5c0760c2e04058'/>
<id>a0e1804ba1cd2ff4b652f9443d5c0760c2e04058</id>
<content type='text'>
It seems unnecessary to dynamically detach vds pointer in
tipc_chan_destroy. Instead, it is cleaner to keep it around
until channel object itself is actually freed. This eliminates
the need to dynamically check presence of that pointer as it
is should always be present if tipc_chan exists.

Change-Id: Id9f7181aa4934c1e5d2eaf6d245fa97654451212
Signed-off-by: Michael Ryleev &lt;gmar@google.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1679988
Tested-by: Stephen Wolfe &lt;swolfe@nvidia.com&gt;
Reviewed-by: Mihir Joshi &lt;mihirj@nvidia.com&gt;
Reviewed-by: Mahesh Lagadapati &lt;mlagadapati@nvidia.com&gt;
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani &lt;bnihalani@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>
It seems unnecessary to dynamically detach vds pointer in
tipc_chan_destroy. Instead, it is cleaner to keep it around
until channel object itself is actually freed. This eliminates
the need to dynamically check presence of that pointer as it
is should always be present if tipc_chan exists.

Change-Id: Id9f7181aa4934c1e5d2eaf6d245fa97654451212
Signed-off-by: Michael Ryleev &lt;gmar@google.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1679988
Tested-by: Stephen Wolfe &lt;swolfe@nvidia.com&gt;
Reviewed-by: Mihir Joshi &lt;mihirj@nvidia.com&gt;
Reviewed-by: Mahesh Lagadapati &lt;mlagadapati@nvidia.com&gt;
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani &lt;bnihalani@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>trusty-ote: use proper enum for tipc_chan_ctx state</title>
<updated>2018-07-27T21:12:44+00:00</updated>
<author>
<name>Stephen Wolfe</name>
<email>swolfe@nvidia.com</email>
</author>
<published>2018-03-23T22:00:45+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=75957755a6322dc70842a115bddad3005ab28e7d'/>
<id>75957755a6322dc70842a115bddad3005ab28e7d</id>
<content type='text'>
The state member of the tipc_chan_ctx struct should only be set to
tipc_chan_state enums, however it sometimes was being set to
tipc_chan_event enums, which can corrupt the state of the channel
context.

Bug 2094050

Change-Id: If0d1c3552bc950c4231dfcfe8656b31c659f8e4e
Signed-off-by: Stephen Wolfe &lt;swolfe@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1681288
Reviewed-by: Bharat Nihalani &lt;bnihalani@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 state member of the tipc_chan_ctx struct should only be set to
tipc_chan_state enums, however it sometimes was being set to
tipc_chan_event enums, which can corrupt the state of the channel
context.

Bug 2094050

Change-Id: If0d1c3552bc950c4231dfcfe8656b31c659f8e4e
Signed-off-by: Stephen Wolfe &lt;swolfe@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1681288
Reviewed-by: Bharat Nihalani &lt;bnihalani@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>drivers/trusty: For Linux RT, use migrate_disable</title>
<updated>2018-07-27T21:12:44+00:00</updated>
<author>
<name>Amith Nuggehalli</name>
<email>aramachan@nvidia.com</email>
</author>
<published>2018-02-27T00:34:56+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=d0b420d164f0bd7cf768d2530793a1ed309b94bb'/>
<id>d0b420d164f0bd7cf768d2530793a1ed309b94bb</id>
<content type='text'>
In trusty_enqueue_nop(), the driver calls preempt_disable but could
still be put to sleep as a spinlock can sleep in Linux RT.

So instead of preempt_disable/enable use migrate_disable/enable for
Linux RT config

Tests: On p2382 Parker platform with Linux-RT, ran sample_client1 tests
for 100 iterations, it passed.

Bug 200366509

Change-Id: Ied830973b7c011f14f937ef415b3a74905242185
Signed-off-by: Amith Nuggehalli &lt;aramachan@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1637444
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dmitry Pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-by: Sumeet Gupta &lt;sumeetg@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>
In trusty_enqueue_nop(), the driver calls preempt_disable but could
still be put to sleep as a spinlock can sleep in Linux RT.

So instead of preempt_disable/enable use migrate_disable/enable for
Linux RT config

Tests: On p2382 Parker platform with Linux-RT, ran sample_client1 tests
for 100 iterations, it passed.

Bug 200366509

Change-Id: Ied830973b7c011f14f937ef415b3a74905242185
Signed-off-by: Amith Nuggehalli &lt;aramachan@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1637444
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dmitry Pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-by: Sumeet Gupta &lt;sumeetg@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>
