summaryrefslogtreecommitdiffstats
path: root/tools/rmq
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-08 11:53:20 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-08 11:53:20 -0400
commit2ee4fe8f43b0dc3e080c91931eadade1fd636c27 (patch)
tree01432ca250db20d95327440ddb87b95b6ffd9abb /tools/rmq
parent668097c9753a7a42b5f98dec45ca1fb7023a053c (diff)
downloadopen-iov-2ee4fe8f43b0dc3e080c91931eadade1fd636c27.tar.gz
open-iov-2ee4fe8f43b0dc3e080c91931eadade1fd636c27.zip
spdx: add BSD-3-Clause identifiers to userspace/tools/scripts sources
Sweep of the 155 tracked C/Python/shell files under userspace/ (excluding the MIT-licensed vendored userspace/extern/), tools/ and scripts/ that had no per-file license identifier. Each gains the minimal two-line header in the area's existing form: 'SPDX-License-Identifier: BSD-3-Clause' plus 'Copyright (c) 2026 Open-IOV contributors'; shebang and coding lines stay first. No other content touched. kernel/** is deliberately out of scope (recorded as a follow-up in CODESTD-REPORT-2026-10-08.md): its SPDX coverage and MODULE_LICENSE normalization need their own GPL-2.0 pass.
Diffstat (limited to 'tools/rmq')
-rw-r--r--tools/rmq/grctx_oracle.c2
-rw-r--r--tools/rmq/kmod/wpr2_reset_kmod.c2
-rw-r--r--tools/rmq/rmq.c2
-rw-r--r--tools/rmq/wpr2_reset.c2
4 files changed, 8 insertions, 0 deletions
diff --git a/tools/rmq/grctx_oracle.c b/tools/rmq/grctx_oracle.c
index a2fc5fa..aa4bd2d 100644
--- a/tools/rmq/grctx_oracle.c
+++ b/tools/rmq/grctx_oracle.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+/* Copyright (c) 2026 Open-IOV contributors */
/* grctx_oracle - query the host NVIDIA RM for the engine context buffer sizes.
*
* Goal: recover the table that GSP-RM serves for
diff --git a/tools/rmq/kmod/wpr2_reset_kmod.c b/tools/rmq/kmod/wpr2_reset_kmod.c
index 523fac7..1e46960 100644
--- a/tools/rmq/kmod/wpr2_reset_kmod.c
+++ b/tools/rmq/kmod/wpr2_reset_kmod.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+/* Copyright (c) 2026 Open-IOV contributors */
/* wpr2_reset_kmod - kernel module that clears GPU WPR2 registers via BAR0 ioremap.
*
* When nvidia.ko is unloaded without a clean GSP teardown, GSP firmware stays
diff --git a/tools/rmq/rmq.c b/tools/rmq/rmq.c
index 189d647..f179dbb 100644
--- a/tools/rmq/rmq.c
+++ b/tools/rmq/rmq.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+/* Copyright (c) 2026 Open-IOV contributors */
/* rmq - query host NVIDIA RM via /dev/nvidia0 ioctls (oracle for TU104 static data) */
#include <stdio.h>
#include <stdlib.h>
diff --git a/tools/rmq/wpr2_reset.c b/tools/rmq/wpr2_reset.c
index 4435843..41e102f 100644
--- a/tools/rmq/wpr2_reset.c
+++ b/tools/rmq/wpr2_reset.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+/* Copyright (c) 2026 Open-IOV contributors */
/* wpr2_reset - clear GPU WPR2 registers via BAR0 MMIO to unstick GSP boot.
*
* When nvidia.ko is unloaded, GSP firmware can remain resident in WPR2