<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvdebug.git/device_info_procfs.c, branch ecrts25-ae</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvdebug.git/'/>
<entry>
<title>Snapshot for ECRTS'25 artifact evaluation</title>
<updated>2025-05-05T07:53:13+00:00</updated>
<author>
<name>Joshua Bakita</name>
<email>bakitajoshua@gmail.com</email>
</author>
<published>2025-05-05T07:53:01+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvdebug.git/commit/?id=293430fcb5d4013b573556c58457ee706e482b7f'/>
<id>293430fcb5d4013b573556c58457ee706e482b7f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a critical regression in 71be6bb5 causing multiple API failures</title>
<updated>2024-11-04T16:28:21+00:00</updated>
<author>
<name>Joshua Bakita</name>
<email>jbakita@cs.unc.edu</email>
</author>
<published>2024-11-04T16:28:21+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvdebug.git/commit/?id=6143114460e5125621747cde2f712fed445b9a15'/>
<id>6143114460e5125621747cde2f712fed445b9a15</id>
<content type='text'>
Instead of printing the read in `nvdebug_reg32_read()`, another
read was being performed, using the first read value as the register
offset! This is a mistaken incomplete removal of the old pre-error-
-handling logic in 71be6bb5.

This caused any APIs using this function to not work by returning
bizzare or incorrect values, or crashing the system on Jetson boards.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of printing the read in `nvdebug_reg32_read()`, another
read was being performed, using the first read value as the register
offset! This is a mistaken incomplete removal of the old pre-error-
-handling logic in 71be6bb5.

This caused any APIs using this function to not work by returning
bizzare or incorrect values, or crashing the system on Jetson boards.
</pre>
</div>
</content>
</entry>
<entry>
<title>Return an error, rather than a flag value, from `nvdebug_reg32_read()`</title>
<updated>2024-09-19T19:40:33+00:00</updated>
<author>
<name>Joshua Bakita</name>
<email>bakitajoshua@gmail.com</email>
</author>
<published>2024-09-19T19:40:33+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvdebug.git/commit/?id=71be6bb5203e32caa2aaf90b77b7bdbc8abac8b8'/>
<id>71be6bb5203e32caa2aaf90b77b7bdbc8abac8b8</id>
<content type='text'>
This is used to back APIs like `num_gpcs`. Better to return an error
to the caller, rather than -1 (which may be confused for an actual
result).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is used to back APIs like `num_gpcs`. Better to return an error
to the caller, rather than -1 (which may be confused for an actual
result).
</pre>
</div>
</content>
</entry>
<entry>
<title>Misc non-functional cleanup and documentation</title>
<updated>2024-04-13T18:20:53+00:00</updated>
<author>
<name>Joshua Bakita</name>
<email>jbakita@cs.unc.edu</email>
</author>
<published>2024-04-13T18:20:53+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvdebug.git/commit/?id=6bdc90abdd034aeaff53f87951b7e89016619cde'/>
<id>6bdc90abdd034aeaff53f87951b7e89016619cde</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add /proc/gpu#/local_memory API for getting VRAM size</title>
<updated>2024-04-13T18:19:10+00:00</updated>
<author>
<name>Joshua Bakita</name>
<email>jbakita@cs.unc.edu</email>
</author>
<published>2024-04-13T18:19:10+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvdebug.git/commit/?id=6c8c5c70a885395afae4e7dd49d6abd9c470bc9e'/>
<id>6c8c5c70a885395afae4e7dd49d6abd9c470bc9e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Linux 5.17+ support and allow including nvdebug.h independently</title>
<updated>2024-04-11T17:42:54+00:00</updated>
<author>
<name>Joshua Bakita</name>
<email>jbakita@cs.unc.edu</email>
</author>
<published>2024-04-11T17:42:54+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvdebug.git/commit/?id=7cfa24cebeaf144b446d07e15fb25e78bb14841e'/>
<id>7cfa24cebeaf144b446d07e15fb25e78bb14841e</id>
<content type='text'>
- Move Linux-specific functions to nvdebug_linux.h and .c
- Workaround PDE_DATA() being pde_data() on Linux 5.17+
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Move Linux-specific functions to nvdebug_linux.h and .c
- Workaround PDE_DATA() being pde_data() on Linux 5.17+
</pre>
</div>
</content>
</entry>
<entry>
<title>Expand support for printing LCE&lt;-&gt;PCE and GRCE-&gt;LCE configuration</title>
<updated>2023-11-08T20:01:24+00:00</updated>
<author>
<name>Joshua J Bakita</name>
<email>jbakita@rtsrv.cs.unc.edu</email>
</author>
<published>2023-11-08T19:41:47+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvdebug.git/commit/?id=3aab3c220f3f0bcc3d3d58d0daf6fd6acf1819e2'/>
<id>3aab3c220f3f0bcc3d3d58d0daf6fd6acf1819e2</id>
<content type='text'>
Tested working on Pascal, Volta, Volta Integrated, Turing, Ampere,
and Ada.

Also clean up minor spacing issues, an errantly added file
(nvdebug.mod), and fix some inconsistencies with upstream.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tested working on Pascal, Volta, Volta Integrated, Turing, Ampere,
and Ada.

Also clean up minor spacing issues, an errantly added file
(nvdebug.mod), and fix some inconsistencies with upstream.
</pre>
</div>
</content>
</entry>
<entry>
<title>Created new read function in device_info for GRCE mappings and Pascal LCE mappings</title>
<updated>2023-10-29T19:45:33+00:00</updated>
<author>
<name>Saman Sahebi</name>
<email>saman63@cs.unc.edu</email>
</author>
<published>2023-09-14T17:50:48+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvdebug.git/commit/?id=b9d8f6a83a8e5fec38e9e20a54ee13838936fa10'/>
<id>b9d8f6a83a8e5fec38e9e20a54ee13838936fa10</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Support printing device info on Ampere+ GPUs. By Benjamin Hadad IV</title>
<updated>2023-10-29T19:43:16+00:00</updated>
<author>
<name>Joshua Bakita</name>
<email>bakitajoshua@gmail.com</email>
</author>
<published>2023-10-29T18:43:40+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvdebug.git/commit/?id=8da37f4bbb30027a6efa289bd97d98b2acb5c160'/>
<id>8da37f4bbb30027a6efa289bd97d98b2acb5c160</id>
<content type='text'>
commit c3d6f2c852eb046e9d4f4f1e6527b52c746b2693
Author: Joshua Bakita &lt;bakitajoshua@gmail.com&gt;
Date:   Sun Oct 29 14:37:51 2023 -0400

    Print Ampere+ device_info fields with correct offsets/widths

    Everything now has been checked against how nvgpu handles it

commit b70849d1ce67a58f9f69b37dc62122f789f4cdf7
Author: Joshua Bakita &lt;jbakita@cs.unc.edu&gt;
Date:   Wed Sep 20 14:27:38 2023 -0400

    Rearrange, fix an off-by-one error, and remove an unused define

    The code in nvdebug.h has been rearranged to enable an easier merge
    against the jbakita-wip branch.

commit 51f808e092846a60ea6c88ea3a1d2e349c92977b
Author: Joshua Bakita &lt;jbakita@cs.unc.edu&gt;
Date:   Wed Sep 20 13:09:17 2023 -0400

    Bug fixes and cleanup for new device_info logic

    - Update comments to match new structure
    - Make show() function idempotent
    - Skip empty table entries without aborting
    - Include names for new engine types
    - Add warning log messages for skipped table entries
    - Remove non-functional runlist file creation logic for Ampere+

commit 1d7adc3be1aef5ac9c144bb24008fd8cc5d688a5
Author: Benjamin Hadad IV &lt;bh4@unc.edu&gt;
Date:   Sat Aug 19 12:47:18 2023 -0400

    Debugging changes made to restore functionality following refactoring.
     - Debugged data display errors.
     - Debugged crash bugs.
     - Debugged memory issue.

commit 9e6cc03cdf736fbd817ed53fa9a7f506bc91a244
Author: Benjamin Hadad IV &lt;bh4@unc.edu&gt;
Date:   Wed Aug 16 22:00:20 2023 -0400

    A variety of changes have been made as part of the code review.
     - Functions have been consolidated.
     - Code was clarified and tidied up overall.
     - Unnecessary elements were removed.

commit 845960fc1b15995fdbd6d61c384567652a150bc4
Author: Benjamin Hadad IV &lt;bh4@unc.edu&gt;
Date:   Fri Jul 28 11:39:28 2023 -0400

    Refactored various systems and debugged minor issues
     - Added device_info_iter
     - Merged functions in device_info_procfs.c
     - Separated device_info data structs by version in nvdebug.h
     - Fixed issue with device_info runlist ID data

commit 8a57aaeba41c43233c323d7e0fc8bf1a81ebc65e
Author: Benjamin Hadad IV &lt;bh4@unc.edu&gt;
Date:   Fri Jul 21 11:32:51 2023 -0400

    I have updated the ptop_device_info_t comment in nvdebug.h.

commit 33c915f08f5dc63674b158ecc18897494256a6d0
Author: Benjamin Hadad IV &lt;bh4@unc.edu&gt;
Date:   Wed Jul 19 13:02:52 2023 -0400

    Debugged device_info functionality
     - Fixed device_info crash bugs
     - Made further edits to display functionality
     - Refactored code to enhance readability

commit bfb4dcf0e78954c0163f3a06a5a088c4d1b437a8
Author: Benjamin Hadad IV &lt;bh4@unc.edu&gt;
Date:   Thu Jul 13 12:13:17 2023 -0400

    This commit is to update the repo for display during a meeting.
    - Added an Ampere version of the device info data.
    - Added Ampere versions of auxillary functions.
    - Modified display functions to accommodate Ampere data.
    - Made other various small modifications.

commit 068e7f4e7208d6c9250ad72208e0b36fd9fdf2f6
Merge: 3725b15 073e897
Author: Benjamin Hadad IV &lt;bh4@unc.edu&gt;
Date:   Mon Jul 10 12:39:12 2023 -0400

    Merge branch 'jbakita-wip' of ssh://rtsrv.cs.unc.edu/public/nvdebug into wip
    I am merging Mr. Bakita's changes (046d7d2) into this repository.

commit 3725b15d5da3e06ef202045d710aa5f15eb72fcc
Author: Benjamin Hadad IV &lt;bh4@unc.edu&gt;
Date:   Mon Jul 3 04:30:54 2023 -0400

    I modified nvdebug.h for Ampere.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit c3d6f2c852eb046e9d4f4f1e6527b52c746b2693
Author: Joshua Bakita &lt;bakitajoshua@gmail.com&gt;
Date:   Sun Oct 29 14:37:51 2023 -0400

    Print Ampere+ device_info fields with correct offsets/widths

    Everything now has been checked against how nvgpu handles it

commit b70849d1ce67a58f9f69b37dc62122f789f4cdf7
Author: Joshua Bakita &lt;jbakita@cs.unc.edu&gt;
Date:   Wed Sep 20 14:27:38 2023 -0400

    Rearrange, fix an off-by-one error, and remove an unused define

    The code in nvdebug.h has been rearranged to enable an easier merge
    against the jbakita-wip branch.

commit 51f808e092846a60ea6c88ea3a1d2e349c92977b
Author: Joshua Bakita &lt;jbakita@cs.unc.edu&gt;
Date:   Wed Sep 20 13:09:17 2023 -0400

    Bug fixes and cleanup for new device_info logic

    - Update comments to match new structure
    - Make show() function idempotent
    - Skip empty table entries without aborting
    - Include names for new engine types
    - Add warning log messages for skipped table entries
    - Remove non-functional runlist file creation logic for Ampere+

commit 1d7adc3be1aef5ac9c144bb24008fd8cc5d688a5
Author: Benjamin Hadad IV &lt;bh4@unc.edu&gt;
Date:   Sat Aug 19 12:47:18 2023 -0400

    Debugging changes made to restore functionality following refactoring.
     - Debugged data display errors.
     - Debugged crash bugs.
     - Debugged memory issue.

commit 9e6cc03cdf736fbd817ed53fa9a7f506bc91a244
Author: Benjamin Hadad IV &lt;bh4@unc.edu&gt;
Date:   Wed Aug 16 22:00:20 2023 -0400

    A variety of changes have been made as part of the code review.
     - Functions have been consolidated.
     - Code was clarified and tidied up overall.
     - Unnecessary elements were removed.

commit 845960fc1b15995fdbd6d61c384567652a150bc4
Author: Benjamin Hadad IV &lt;bh4@unc.edu&gt;
Date:   Fri Jul 28 11:39:28 2023 -0400

    Refactored various systems and debugged minor issues
     - Added device_info_iter
     - Merged functions in device_info_procfs.c
     - Separated device_info data structs by version in nvdebug.h
     - Fixed issue with device_info runlist ID data

commit 8a57aaeba41c43233c323d7e0fc8bf1a81ebc65e
Author: Benjamin Hadad IV &lt;bh4@unc.edu&gt;
Date:   Fri Jul 21 11:32:51 2023 -0400

    I have updated the ptop_device_info_t comment in nvdebug.h.

commit 33c915f08f5dc63674b158ecc18897494256a6d0
Author: Benjamin Hadad IV &lt;bh4@unc.edu&gt;
Date:   Wed Jul 19 13:02:52 2023 -0400

    Debugged device_info functionality
     - Fixed device_info crash bugs
     - Made further edits to display functionality
     - Refactored code to enhance readability

commit bfb4dcf0e78954c0163f3a06a5a088c4d1b437a8
Author: Benjamin Hadad IV &lt;bh4@unc.edu&gt;
Date:   Thu Jul 13 12:13:17 2023 -0400

    This commit is to update the repo for display during a meeting.
    - Added an Ampere version of the device info data.
    - Added Ampere versions of auxillary functions.
    - Modified display functions to accommodate Ampere data.
    - Made other various small modifications.

commit 068e7f4e7208d6c9250ad72208e0b36fd9fdf2f6
Merge: 3725b15 073e897
Author: Benjamin Hadad IV &lt;bh4@unc.edu&gt;
Date:   Mon Jul 10 12:39:12 2023 -0400

    Merge branch 'jbakita-wip' of ssh://rtsrv.cs.unc.edu/public/nvdebug into wip
    I am merging Mr. Bakita's changes (046d7d2) into this repository.

commit 3725b15d5da3e06ef202045d710aa5f15eb72fcc
Author: Benjamin Hadad IV &lt;bh4@unc.edu&gt;
Date:   Mon Jul 3 04:30:54 2023 -0400

    I modified nvdebug.h for Ampere.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve copy engine register documentation in nvdebug.h + cleanup</title>
<updated>2023-07-20T21:05:21+00:00</updated>
<author>
<name>Joshua Bakita</name>
<email>bakitajoshua@gmail.com</email>
</author>
<published>2023-07-20T21:05:21+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvdebug.git/commit/?id=cbe68f5bc31b0927401c938e84f3160060a6c5e8'/>
<id>cbe68f5bc31b0927401c938e84f3160060a6c5e8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
