From 2302fc09080bad51c73f293294e19fd4db464eb0 Mon Sep 17 00:00:00 2001 From: Open-IOV Date: Wed, 23 Sep 2026 05:44:08 -0400 Subject: Open-IOV: initial public release Open-IOV virtualizes NVIDIA GPUs so that unmodified guest drivers run with real GPU functionality - CUDA first, 3D and video to follow - on unmodified hosts, without a proprietary vGPU license and without patching any driver, firmware or hypervisor. Core principle: emulate the interface, pass through the work. kernel/ open-iov-vfio.ko - host VFIO mdev driver: virtual GPU device (PCI config space, BAR shadows, MSI-X), GSP boot emulation, GSP-RM message-queue/RPC emulation, memory model (GPU-VA to guest-PA discovery) and the semaphore-completion service that advances guest UVM progress. userspace/ libiov.so management API and examples. tools/ guest diagnostics, firmware analysis wrappers, RM probes. scripts/ stack manager, VM harness, build/load/test automation. config/ hardware/version profiles (the portability surface). docs/ documentation tree - start at docs/README.md. wiki/ long-form firmware and protocol deep dives. Status: initialization works end to end for a stock 570.144 Linux guest on Turing (TU104): driver probe, nvidia-smi, the full GSP-RM control battery, object creation and the early CUDA/UVM start-up path. GPU work forwarding - the step that makes CUDA kernels execute on real hardware - is the active work item; see docs/04-implementation/01-known-knowns-and-unknowns.md. License: BSD-3-Clause for the project; GPL-2.0 for kernel modules that link GPL-only kernel interfaces. See LICENSE and docs/09-reference/legal-and-licensing.md. --- tools/firmware/verify_gsp_firmware.sh | 60 +++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100755 tools/firmware/verify_gsp_firmware.sh (limited to 'tools/firmware') diff --git a/tools/firmware/verify_gsp_firmware.sh b/tools/firmware/verify_gsp_firmware.sh new file mode 100755 index 0000000..79f474c --- /dev/null +++ b/tools/firmware/verify_gsp_firmware.sh @@ -0,0 +1,60 @@ +#!/bin/bash +# Verify GSP firmware for TU104 +# Usage: ./verify_gsp_firmware.sh + +set -euo pipefail + +FIRMWARE_DIR="/lib/firmware/nvidia/tu104/gsp" + +echo "=== GSP Firmware Verification (TU104) ===" +echo "" + +if [[ ! -d "$FIRMWARE_DIR" ]]; then + echo "ERROR: Firmware directory not found: $FIRMWARE_DIR" + echo "Install firmware with: rzsh nvidia vgpu firmware install" + exit 1 +fi + +echo "Firmware directory: $FIRMWARE_DIR" +echo "" + +# Check required files +required_files=( + "gsp-535.113.01.bin" + "gsp-570.144.bin" + "booter_load-535.113.01.bin" + "booter_load-570.144.bin" + "booter_unload-535.113.01.bin" + "booter_unload-570.144.bin" + "bootloader-535.113.01.bin" + "bootloader-570.144.bin" +) + +all_ok=true +for file in "${required_files[@]}"; do + if [[ -f "$FIRMWARE_DIR/$file" ]]; then + size=$(stat -c%s "$FIRMWARE_DIR/$file") + echo " ✓ $file ($size bytes)" + else + echo " ✗ $file MISSING" + all_ok=false + fi +done + +echo "" +if $all_ok; then + echo "✓ All required firmware files present" +else + echo "✗ Some firmware files missing" + echo "" + echo "To install firmware:" + echo " 1. Download from NVIDIA or copy from nvidia-linux-firmware repo" + echo " 2. sudo cp -r nvidia/tu104/gsp/* /lib/firmware/nvidia/tu104/gsp/" + echo " 3. sudo update-initramfs -u" +fi + +echo "" +echo "Current kernel module version:" +if lsmod | grep -q nvidia; then + cat /proc/driver/nvidia/version 2>/dev/null | head -1 +fi \ No newline at end of file -- cgit v1.2.3