From 2ee4fe8f43b0dc3e080c91931eadade1fd636c27 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Rasmusson Date: Thu, 8 Oct 2026 11:53:20 -0400 Subject: 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. --- tools/rmq/grctx_oracle.c | 2 ++ tools/rmq/kmod/wpr2_reset_kmod.c | 2 ++ tools/rmq/rmq.c | 2 ++ tools/rmq/wpr2_reset.c | 2 ++ 4 files changed, 8 insertions(+) (limited to 'tools/rmq') 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 #include 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 -- cgit v1.2.3