summaryrefslogtreecommitdiffstats
path: root/tools/rmq
diff options
context:
space:
mode:
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