diff options
| author | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-09-14 06:43:11 -0400 |
|---|---|---|
| committer | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-09-14 06:43:11 -0400 |
| commit | 5dd8165f1754e156a0f9fb16c7a6bfa90e99ed60 (patch) | |
| tree | 7523e29d8044d4d5b6dcd7c1c888a3491137fcd1 /validate.sh | |
| parent | 9a7263fce4e3156349a526631805fce66b87fb1b (diff) | |
| download | open-iov-5dd8165f1754e156a0f9fb16c7a6bfa90e99ed60.tar.gz open-iov-5dd8165f1754e156a0f9fb16c7a6bfa90e99ed60.zip | |
VFIO device registration fix + IOMMUFD callbacks + VFIO ioctl handlers
- Removed IOMMU group addition before vfio_register_emulated_iommu_dev() in nv_vgpu_mdev_create()
- Added IOMMUFD callbacks (bind_iommufd, unbind_iommufd, attach_ioas, detach_ioas) using kernel's vfio_iommufd_emulated_* functions
- Implemented VFIO ioctl handlers: GET_INFO, GET_REGION_INFO, GET_IRQ_INFO, SET_IRQS, MMAP
- Added config space read/write handlers at offset 0x70000000000
- Mmap handler for config space, BAR0 (emulation shadow), BAR1-5 (physical VRAM/registers)
- Interrupt handler for VFIO_DEVICE_SET_IRQS (DATA_EVENTFD, DATA_NONE, DATA_BOOL)
- Added udev rules for vfio group permissions
- Created stack_manager.sh unified tool
- Fixed mdev remove crash with deferred cleanup in vfio_device_release callback
- Kernel 6.8+ IOMMUFD compatibility
- QEMU launches successfully with vGPU passthrough
Diffstat (limited to 'validate.sh')
| -rwxr-xr-x | validate.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/validate.sh b/validate.sh index aeee80e..fc80c21 100755 --- a/validate.sh +++ b/validate.sh @@ -21,7 +21,7 @@ log_info "=== GSP vGPU-IO Project Validation ===" # Check firmware log_info "Checking firmware..." -FW="$PROJECT_ROOT/firmware/570-GSP/gsp-570.144.fwimage.bin" +FW="$PROJECT_ROOT/firmware/57X-GSP/570.144/gsp-570.144.fwimage.bin" if [ ! -f "$FW" ]; then log_error "Firmware not found: $FW" exit 1 @@ -38,7 +38,7 @@ log_info "Firmware OK ✓" # Check decompiled output log_info "Checking decompiled output..." -DECOMP_DIR="$PROJECT_ROOT/firmware/570-GSP/decompiled" +DECOMP_DIR="$PROJECT_ROOT/firmware/57X-GSP/570.144/decompiled" COUNT=$(ls "$DECOMP_DIR"/*.c 2>/dev/null | wc -l) log_info "Decompiled files: $COUNT" if [ "$COUNT" -lt 80 ]; then |
