From c9bf1cf098c8ea4daeb3e6c9b274a9025c03045d Mon Sep 17 00:00:00 2001 From: Arthur Hanson Rasmusson Date: Fri, 2 Oct 2026 15:13:06 -0400 Subject: 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-: 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). --- install.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'install.sh') 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 -- cgit v1.2.3