diff options
| author | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-10-02 15:13:06 -0400 |
|---|---|---|
| committer | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-10-02 15:13:06 -0400 |
| commit | c9bf1cf098c8ea4daeb3e6c9b274a9025c03045d (patch) | |
| tree | 91b1dc03fc3916a92e1c99bd91a6643842c62525 /install.sh | |
| parent | 7621dff1d3fba7bdb31b2b15abca1e5ff8ca4380 (diff) | |
| download | open-iov-c9bf1cf098c8ea4daeb3e6c9b274a9025c03045d.tar.gz open-iov-c9bf1cf098c8ea4daeb3e6c9b274a9025c03045d.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-x | install.sh | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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 |
