<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvidia-tegra-modules.git/include/uapi/linux/tegra-nvlink-uapi.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>nvlink: add shim driver shutdown IOCTLs</title>
<updated>2018-06-07T18:12:53+00:00</updated>
<author>
<name>Adeel Raza</name>
<email>araza@nvidia.com</email>
</author>
<published>2018-05-11T21:05:58+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=8af4db8e8ef8f67bc4757c54425f24511721be63'/>
<id>8af4db8e8ef8f67bc4757c54425f24511721be63</id>
<content type='text'>
For the shim driver mode, RM needs to perform a graceful shutdown of
NVLINK during RM unload. Export the following T19x NVLINK endpoint
IOCTLs for shim driver NVLINK shutdown:
   - INTERFACE_DISABLE IOCTL: Disables the NVLINK aperture
   - FINALIZE_SHUTDOWN IOCTL: Does shutdown related SW cleanup

Bug 2113729
Jira NVLINK-173

Change-Id: I60e3f5fffd0b1e6cc87476b047ef1b761b5174d1
Signed-off-by: Adeel Raza &lt;araza@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1714177
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Petlozu Pravareshwar &lt;petlozup@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 the shim driver mode, RM needs to perform a graceful shutdown of
NVLINK during RM unload. Export the following T19x NVLINK endpoint
IOCTLs for shim driver NVLINK shutdown:
   - INTERFACE_DISABLE IOCTL: Disables the NVLINK aperture
   - FINALIZE_SHUTDOWN IOCTL: Does shutdown related SW cleanup

Bug 2113729
Jira NVLINK-173

Change-Id: I60e3f5fffd0b1e6cc87476b047ef1b761b5174d1
Signed-off-by: Adeel Raza &lt;araza@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1714177
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Petlozu Pravareshwar &lt;petlozup@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>nvlink: Improve MISRA compliance with U suffix</title>
<updated>2018-06-06T18:26:06+00:00</updated>
<author>
<name>Timo Suoranta</name>
<email>tsuoranta@nvidia.com</email>
</author>
<published>2018-05-08T11:50:04+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=ee98782e6e5b9dbf2b56b3c933c63056bbf15d15'/>
<id>ee98782e6e5b9dbf2b56b3c933c63056bbf15d15</id>
<content type='text'>
tegra-nvlink-uapi.h is used by nvrm_gpu, and is causing some MISRA
violations.

A number of MISRA C++ 2008 rules require U suffix for unsigned
numbers.

2-13-3  A "U" suffix shall be applied to all octal or hexadecimal
        integer literals of unsigned type.
5-0-4   An implicit integral conversion shall not change the signedness
        of the underlying type.
5-0-21  Bitwise operators shall only be applied to operands of unsigned
        underlying type.

Bug 1777616

Change-Id: I02f8b8798b6cc223e0708ff16cef0a18c80856be
Signed-off-by: Timo Suoranta &lt;tsuoranta@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1710529
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Adeel Raza &lt;araza@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>
tegra-nvlink-uapi.h is used by nvrm_gpu, and is causing some MISRA
violations.

A number of MISRA C++ 2008 rules require U suffix for unsigned
numbers.

2-13-3  A "U" suffix shall be applied to all octal or hexadecimal
        integer literals of unsigned type.
5-0-4   An implicit integral conversion shall not change the signedness
        of the underlying type.
5-0-21  Bitwise operators shall only be applied to operands of unsigned
        underlying type.

Bug 1777616

Change-Id: I02f8b8798b6cc223e0708ff16cef0a18c80856be
Signed-off-by: Timo Suoranta &lt;tsuoranta@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1710529
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Adeel Raza &lt;araza@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>nvlink: add RM shim driver support</title>
<updated>2018-04-23T17:03:45+00:00</updated>
<author>
<name>Adeel Raza</name>
<email>araza@nvidia.com</email>
</author>
<published>2018-02-11T08:28:37+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=6834b184688ff78118ca60ffd23a100a1150e785'/>
<id>6834b184688ff78118ca60ffd23a100a1150e785</id>
<content type='text'>
Add support in the Tegra NVLINK endpoint driver for interfacing with the
RM shim driver. Interfacing with RM is necessary in order to enable GPU
MODS NVLINK testing of Tegra+dGPU topologies.

Jira NVLINK-147
Bug 2090322

Change-Id: I75e23df7293ce0c9157152a7035372d2e080ef41
Signed-off-by: Adeel Raza &lt;araza@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1696116
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
Reviewed-by: Tejal Kudav &lt;tkudav@nvidia.com&gt;
Reviewed-by: Petlozu Pravareshwar &lt;petlozup@nvidia.com&gt;
Tested-by: Petlozu Pravareshwar &lt;petlozup@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu &lt;vsubbu@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>
Add support in the Tegra NVLINK endpoint driver for interfacing with the
RM shim driver. Interfacing with RM is necessary in order to enable GPU
MODS NVLINK testing of Tegra+dGPU topologies.

Jira NVLINK-147
Bug 2090322

Change-Id: I75e23df7293ce0c9157152a7035372d2e080ef41
Signed-off-by: Adeel Raza &lt;araza@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1696116
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
Reviewed-by: Tejal Kudav &lt;tkudav@nvidia.com&gt;
Reviewed-by: Petlozu Pravareshwar &lt;petlozup@nvidia.com&gt;
Tested-by: Petlozu Pravareshwar &lt;petlozup@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu &lt;vsubbu@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>nvlink: IOCTL framework restructuring and cleanup</title>
<updated>2018-04-23T17:03:41+00:00</updated>
<author>
<name>Adeel Raza</name>
<email>araza@nvidia.com</email>
</author>
<published>2018-02-06T12:52: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=759589b4fac3f9b5ee5af07ef6f923c8c61b5feb'/>
<id>759589b4fac3f9b5ee5af07ef6f923c8c61b5feb</id>
<content type='text'>
Restructure the Tegra NVLINK IOCTL framework as follows:
    - Create an IOCTL struct for storing details about an IOCTL
    - Create an array of IOCTL structs and add entires for all existing
      IOCTLS
    - Simplifiy the ioctl() function so that it uses the IOCTL struct
      array to handle all IOCTLs

Cleanup IOCTL code as follows:
    - Add more error handling to the ioctl() function
    - Remove link ID and mask hardcoding in IOTCLs
    - Add "tegra" prefix to IOCTL enums which were missing this prefix

Jira NVLINK-146
Bug 2090322

Change-Id: Iab4b512f0cc12b705445967217e3535789d16cab
Signed-off-by: Adeel Raza &lt;araza@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1696115
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
Reviewed-by: Tejal Kudav &lt;tkudav@nvidia.com&gt;
Reviewed-by: Petlozu Pravareshwar &lt;petlozup@nvidia.com&gt;
Tested-by: Petlozu Pravareshwar &lt;petlozup@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu &lt;vsubbu@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>
Restructure the Tegra NVLINK IOCTL framework as follows:
    - Create an IOCTL struct for storing details about an IOCTL
    - Create an array of IOCTL structs and add entires for all existing
      IOCTLS
    - Simplifiy the ioctl() function so that it uses the IOCTL struct
      array to handle all IOCTLs

Cleanup IOCTL code as follows:
    - Add more error handling to the ioctl() function
    - Remove link ID and mask hardcoding in IOTCLs
    - Add "tegra" prefix to IOCTL enums which were missing this prefix

Jira NVLINK-146
Bug 2090322

Change-Id: Iab4b512f0cc12b705445967217e3535789d16cab
Signed-off-by: Adeel Raza &lt;araza@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1696115
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
Reviewed-by: Tejal Kudav &lt;tkudav@nvidia.com&gt;
Reviewed-by: Petlozu Pravareshwar &lt;petlozup@nvidia.com&gt;
Tested-by: Petlozu Pravareshwar &lt;petlozup@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu &lt;vsubbu@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>Add required includes for uapi files</title>
<updated>2018-04-11T08:43:43+00:00</updated>
<author>
<name>Lael Jones</name>
<email>lajones@nvidia.com</email>
</author>
<published>2018-04-10T14:53: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=f26fb038b74902fa5ade5365f20a64318b163120'/>
<id>f26fb038b74902fa5ade5365f20a64318b163120</id>
<content type='text'>
Change-Id: I543375fc495dbc464ea0ca3f4a4a6dcf0ccf94ae
Signed-off-by: Lael Jones &lt;lajones@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1692160
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sami Kiminki &lt;skiminki@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Petlozu Pravareshwar &lt;petlozup@nvidia.com&gt;
Reviewed-by: Vijayakumar Subbu &lt;vsubbu@nvidia.com&gt;
Reviewed-by: Chris Dragan &lt;kdragan@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-Id: I543375fc495dbc464ea0ca3f4a4a6dcf0ccf94ae
Signed-off-by: Lael Jones &lt;lajones@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1692160
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sami Kiminki &lt;skiminki@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Petlozu Pravareshwar &lt;petlozup@nvidia.com&gt;
Reviewed-by: Vijayakumar Subbu &lt;vsubbu@nvidia.com&gt;
Reviewed-by: Chris Dragan &lt;kdragan@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>Update nvlink ioctl numbering</title>
<updated>2018-04-10T05:53:51+00:00</updated>
<author>
<name>Lael Jones</name>
<email>lajones@nvidia.com</email>
</author>
<published>2018-04-06T20:22: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=8349bf3ca8545c8a40f2ed4f1ae8c06760f7ecda'/>
<id>8349bf3ca8545c8a40f2ed4f1ae8c06760f7ecda</id>
<content type='text'>
Change-Id: Ib00174936b8a34685ac921ad51b2a34981609250
Signed-off-by: Lael Jones &lt;lajones@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1690224
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Petlozu Pravareshwar &lt;petlozup@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu &lt;vsubbu@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-Id: Ib00174936b8a34685ac921ad51b2a34981609250
Signed-off-by: Lael Jones &lt;lajones@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1690224
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Petlozu Pravareshwar &lt;petlozup@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu &lt;vsubbu@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>nvlink: Update tegra nvlink ioctl header file</title>
<updated>2018-03-22T23:22:53+00:00</updated>
<author>
<name>Petlozu Pravareshwar</name>
<email>petlozup@nvidia.com</email>
</author>
<published>2018-02-16T09:26:58+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=97041d678813b7bbb508ab24e294f22b2baecbde'/>
<id>97041d678813b7bbb508ab24e294f22b2baecbde</id>
<content type='text'>
Below updates are made to tegra nvlink ioctl header file:
* tegra-nvlink-mods.h file is moved to include/uapi/linux/
* Rename tegra-nvlink-mods.h file to tegra-nvlink-uapi.h
* Use specific macros like _IOR/_IOW for read-only/write-only IOCTLs.
* Every name in header file should have a "tegra_" prefix to avoid name
  clashes with RM enums/structs/ioctl names.

JIRA NVLINK-152

Change-Id: Ic3509470b425c37a6f96918de873f32602c32f23
Signed-off-by: Petlozu Pravareshwar &lt;petlozup@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1659849
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Adeel Raza &lt;araza@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>
Below updates are made to tegra nvlink ioctl header file:
* tegra-nvlink-mods.h file is moved to include/uapi/linux/
* Rename tegra-nvlink-mods.h file to tegra-nvlink-uapi.h
* Use specific macros like _IOR/_IOW for read-only/write-only IOCTLs.
* Every name in header file should have a "tegra_" prefix to avoid name
  clashes with RM enums/structs/ioctl names.

JIRA NVLINK-152

Change-Id: Ic3509470b425c37a6f96918de873f32602c32f23
Signed-off-by: Petlozu Pravareshwar &lt;petlozup@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1659849
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Adeel Raza &lt;araza@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>
