Files
nvdriver/packaging
LIghtJUNction 5240a5321e tools: reboot-free dev mode (dev_mode/dev_reload/dev_health) (#86)
* tools: reboot-free dev mode (dev_mode/dev_reload/dev_health) and udev rule

Root-only nvdriver nodes so no desktop process pins nvidia_rs, a reload
script that unbinds GPUs before rmmod, and a pre/post health gate.
Adds the AGENTS.md personal-laptop override that allows no-reboot tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* tools: address review of dev mode scripts

- dev_health: scan threads (ps -L) so a D-state non-leader thread is caught
- dev_reload: keep module parameters as separate quoted words (no glob expansion)
- dev_reload: restart nvidia-persistenced when a holder refuses the teardown
- dev_reload: drop and rebind the /dev/nvidia* aliases around the reload
- dev_reload: enumerate bound PCI devices of every domain

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* dev tools: drop personal override and invalid reload defaults

- AGENTS.md: restore upstream text (the laptop reboot/rmmod override is local, not repo-wide)
- dev_reload.sh: remove rm_api / experimental_r620_ada / dyndbg defaults (not parameters of this module)
- dev_reload.sh: require NV_RS_DEV_RELOAD_BDF, refuse if nvidia_rs is bound to any other device

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-12-01 13:06:36 -05:00
..