<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvidia-tegra-modules.git/include/linux/trusty/sm_err.h, 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>Retry NOP smc call when a guest's VIRQ is pending</title>
<updated>2018-07-27T21:12:44+00:00</updated>
<author>
<name>Amith Nuggehalli</name>
<email>aramachan@nvidia.com</email>
</author>
<published>2017-07-26T00:17:15+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=02a7ce99ffe2adc39606d6e277be6593e6c9ea0c'/>
<id>02a7ce99ffe2adc39606d6e277be6593e6c9ea0c</id>
<content type='text'>
In virtualization use case, if a guest's VIRQ is pending at,
the hypervisor, the control returns back control immediately to the guest
without transitioning to TOS so that the guest's IRQ is handled
in time. In such a case, re-try the NOP smc with the same arguments
as the previous call as the SMC wouldn't have reached TOS yet.

JIRA: SEC-366

Change-Id: Iff0f4fd6aab1369848736a1a7f2fa75afd3616b9
Signed-off-by: Amith Nuggehalli &lt;aramachan@nvidia.com&gt;
(cherry picked from commit 585fea50e14410d312c9966f5520af305c56e989)
Reviewed-on: https://git-master.nvidia.com/r/1533177
GVS: Gerrit_Virtual_Submit
Reviewed-by: Varun Wadekar &lt;vwadekar@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In virtualization use case, if a guest's VIRQ is pending at,
the hypervisor, the control returns back control immediately to the guest
without transitioning to TOS so that the guest's IRQ is handled
in time. In such a case, re-try the NOP smc with the same arguments
as the previous call as the SMC wouldn't have reached TOS yet.

JIRA: SEC-366

Change-Id: Iff0f4fd6aab1369848736a1a7f2fa75afd3616b9
Signed-off-by: Amith Nuggehalli &lt;aramachan@nvidia.com&gt;
(cherry picked from commit 585fea50e14410d312c9966f5520af305c56e989)
Reviewed-on: https://git-master.nvidia.com/r/1533177
GVS: Gerrit_Virtual_Submit
Reviewed-by: Varun Wadekar &lt;vwadekar@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>trusty: Add smp support</title>
<updated>2018-07-27T21:12:44+00:00</updated>
<author>
<name>Arve Hjønnevåg</name>
<email>arve@android.com</email>
</author>
<published>2015-01-24T01:55: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=b2a435cf6598473a194b4f7168225420f57c218f'/>
<id>b2a435cf6598473a194b4f7168225420f57c218f</id>
<content type='text'>
Add an unlocked nop call to allow multiple cpus to enter trusty.
Other standard calls are still serialized to avoid return codes
getting mixed up.
A new return code is used to indicate that the standard call is
running on another cpu.

Change-Id: Iccc0785138fbc3eb9daebf22fd79d6c1f9b23f6a
Signed-off-by: Arve Hjønnevåg &lt;arve@android.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add an unlocked nop call to allow multiple cpus to enter trusty.
Other standard calls are still serialized to avoid return codes
getting mixed up.
A new return code is used to indicate that the standard call is
running on another cpu.

Change-Id: Iccc0785138fbc3eb9daebf22fd79d6c1f9b23f6a
Signed-off-by: Arve Hjønnevåg &lt;arve@android.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>trusty: Handle fiqs without calling notifier and enabling interrupts</title>
<updated>2018-07-27T21:12:44+00:00</updated>
<author>
<name>Arve Hjønnevåg</name>
<email>arve@android.com</email>
</author>
<published>2015-06-12T02:51: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=7abcf768d24edb227bc809d819e6b2544c496f34'/>
<id>7abcf768d24edb227bc809d819e6b2544c496f34</id>
<content type='text'>
Change-Id: Iab318f0efd7ca0217bd64a30918f040938af5b76
Signed-off-by: Michael Ryleev &lt;gmar@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Iab318f0efd7ca0217bd64a30918f040938af5b76
Signed-off-by: Michael Ryleev &lt;gmar@google.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>trusty: Add trusty driver</title>
<updated>2018-07-27T21:12:44+00:00</updated>
<author>
<name>Arve Hjønnevåg</name>
<email>arve@android.com</email>
</author>
<published>2013-11-19T04:46: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=e9c6d11022d2ac66fbaf30cd07318ca9ddc9d326'/>
<id>e9c6d11022d2ac66fbaf30cd07318ca9ddc9d326</id>
<content type='text'>
includes: Add arm64 support

includes: Add trusty_fast_call64 api on 64 bit systems.

includes: move probe to subsys_initcall

Child devices of trusty like FIQ-based debuggers and watchdogs may
want to probe early, move trusty from module init to subsys init
to allow it and its children to probe earlier.

includes: Retry std_calls on SM_ERR_BUSY

If the trusty spinlock is held, or if the strex fails for another
reason, trusty returns SM_ERR_BUSY. Add retry code to handle this.

Without this retry code, std_calls can fail. If the previous smc
call had returned SM_ERR_INTERRUPTED, this failure would cause
the driver to get out of sync with trusty. All later calls would
then fail with SM_ERR_INTERLEAVED_SMC.

Change-Id: I35318be3d41f84b922397e9afdca6bf47d9645db
Signed-off-by: Arve Hjønnevåg &lt;arve@android.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
includes: Add arm64 support

includes: Add trusty_fast_call64 api on 64 bit systems.

includes: move probe to subsys_initcall

Child devices of trusty like FIQ-based debuggers and watchdogs may
want to probe early, move trusty from module init to subsys init
to allow it and its children to probe earlier.

includes: Retry std_calls on SM_ERR_BUSY

If the trusty spinlock is held, or if the strex fails for another
reason, trusty returns SM_ERR_BUSY. Add retry code to handle this.

Without this retry code, std_calls can fail. If the previous smc
call had returned SM_ERR_INTERRUPTED, this failure would cause
the driver to get out of sync with trusty. All later calls would
then fail with SM_ERR_INTERLEAVED_SMC.

Change-Id: I35318be3d41f84b922397e9afdca6bf47d9645db
Signed-off-by: Arve Hjønnevåg &lt;arve@android.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
