summaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-02 15:13:06 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-02 15:13:06 -0400
commit4bb8550a72597ec098c6d62a75006a0aba61972e (patch)
treebd0ec74c26ff056251052a5e1ba0b59d14fb1f6a /install.sh
parent8b491c4e7ebde76c17faddaad47f92898d6c97de (diff)
downloadopen-iov-4bb8550a72597ec098c6d62a75006a0aba61972e.tar.gz
open-iov-4bb8550a72597ec098c6d62a75006a0aba61972e.zip
kernel: GR context-promote bisection modes 4-17 and server-managed-ctxbuf registry variant; complete vgsp rename; docs/tooling refresh
- gsp_phys_booter: GR promote bisection modes 4-17 (two-phase zero-field VA, batched entries, hVirtMemory, bare VA, KMD SKIP_CTXBUFFER_ALLOC channel, old-interface GPU_INITIALIZE_CTX, FBMEM context buffer, UVM-faithful PA-only, PATCH/PM auxiliary promotes, server-managed no-promote path); PATCH/PM geometry queries and buffers; pre-boot SET_REGISTRY profile selection - gsp_phys_gpu: gsp_phys_rmcall_gr_promote clamp 0..17 and gsp_phys_srv_ctxbuf parameter; registry image variant with RMSetClientRMAllocatedCtxBuffer=0 - vgsp rename across kernel, scripts, tools and docs (module vgsp.ko, /sys/kernel/debug/vgsp/, vgsp-<subsystem>: log prefixes) - risc-v-gsp-rm-debugger user-facing rename and docs/CI refresh; guest-diag tool updates; README/SBOM/install/Makefile sync Live status: CE ladder and P6 guest-copy forwarding green; GR engine context commit still open (all promote shapes accepted or cleanly refused; the channel stays CTXNOTVALID) - see Handoff-vGPU-IO.md Addendum 21 (local).
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/install.sh b/install.sh
index a70e84b..143570f 100755
--- a/install.sh
+++ b/install.sh
@@ -8,7 +8,7 @@
# 1. deps Install build/runtime dependencies (apt)
# 2. nvidia Clone NVIDIA open-gpu-kernel-modules @ pinned tag + patch
# 3. firmware Fetch GSP firmware from linux-firmware.git + extract fwimage
-# 4. build Build open-iov-vfio.ko -> nvidia.ko -> userspace (in order)
+# 4. build Build vgsp.ko -> nvidia.ko -> userspace (in order)
# 5. system Host config: VFIO modules, hugepages, IOMMU/blacklist check
# 6. load Load the driver stack (root)
# 7. mdev Create a vGPU mdev device (root)
@@ -178,7 +178,7 @@ stage_firmware() {
# ----------------------------------------------------------------------------
stage_build() {
- log "Building open-iov-vfio.ko (generates Module.symvers)..."
+ log "Building vgsp.ko (generates Module.symvers)..."
make -C "$OPEN_IOV_ROOT" kernel
log "Building NVIDIA OpenRM (3-step, KBUILD_EXTRA_SYMBOLS)..."
@@ -188,8 +188,8 @@ stage_build() {
KBUILD_EXTRA_SYMBOLS="$OPEN_IOV_ROOT/kernel/Module.symvers" modules
log "Verifying vGPU VFIO symbols resolved (modinfo depends)..."
- modinfo "$NVIDIA_DIR/kernel-open/nvidia.ko" | grep -q "^depends:.*open-iov-vfio" \
- || die "nvidia.ko missing 'depends: open-iov-vfio' - KBUILD_EXTRA_SYMBOLS resolution failed"
+ modinfo "$NVIDIA_DIR/kernel-open/nvidia.ko" | grep -q "^depends:.*vgsp" \
+ || die "nvidia.ko missing 'depends: vgsp' - KBUILD_EXTRA_SYMBOLS resolution failed"
log "Building userspace (libiov.so + examples)..."
make -C "$OPEN_IOV_ROOT" userspace examples
@@ -202,10 +202,10 @@ stage_system() {
local SUDO; SUDO=$(need_sudo)
# VFIO/mdev modules at boot
- if [[ ! -f /etc/modules-load.d/open-iov-vfio.conf ]]; then
+ if [[ ! -f /etc/modules-load.d/vgsp.conf ]]; then
printf 'vfio\nvfio_iommu_type1\nvfio_pci\nmdev\nvfio_mdev\n' \
- | $SUDO tee /etc/modules-load.d/open-iov-vfio.conf >/dev/null
- ok "wrote /etc/modules-load.d/open-iov-vfio.conf"
+ | $SUDO tee /etc/modules-load.d/vgsp.conf >/dev/null
+ ok "wrote /etc/modules-load.d/vgsp.conf"
else
ok "modules-load.d already configured"
fi