[PR #118] Add experimental RTX 4070 Mobile (AD106M, 10de:2860) target with matched evidence #119

Open
opened 2026-10-31 06:56:33 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JustAResearcher/gpu-unlock-ada/pull/118
Author: @rishindra2005
Created: 10/30/2026
Status: 🔄 Open

Base: main ← Head: feat/ad106m-rtx4070-mobile


📝 Commits (1)

  • 1c18df6 Admit the RTX 4070 Mobile (AD106M, 10de:2860) as an exact experimental target

📊 Changes

19 files changed (+490 additions, -3 deletions)

View changed files

📝 README.md (+1 -0)
➕ docs/ada-2860-report.md (+140 -0)
➕ docs/evidence/ada2860/README.md (+37 -0)
➕ docs/evidence/ada2860/SHA256SUMS (+9 -0)
➕ docs/evidence/ada2860/benchmark-matched.txt (+25 -0)
➕ docs/evidence/ada2860/dmesg-boot.txt (+28 -0)
➕ docs/evidence/ada2860/lspci-device.txt (+99 -0)
➕ docs/evidence/ada2860/nvidia-smi.txt (+25 -0)
➕ docs/evidence/ada2860/sm-rates-stock.json (+1 -0)
➕ docs/evidence/ada2860/sm-rates-unlocked.json (+1 -0)
➕ docs/evidence/ada2860/stability-validation.txt (+54 -0)
➕ docs/evidence/ada2860/transaction-excerpt.txt (+61 -0)
📝 kernel/gpu_unlock/arch_610.h (+1 -0)
📝 kernel/gpu_unlock/main.c (+1 -0)
📝 kernel/gpu_unlock/unlock_610.c (+1 -0)
📝 tests/test_ad102_kernel.c (+1 -1)
📝 tests/test_main.c (+2 -1)
📝 tests/test_unlock_adapter.c (+2 -1)
📝 tools/print_boot_option.py (+1 -0)

📄 Description

Summary

Adds the mobile NVIDIA GeForce RTX 4070 Laptop GPU (10de:2860, AD106M, 36 SMs, rev a1) as an exact experimental target gated behind gpu_unlock.ad106_experimental=1.

  • Target Routing: Admits 0x2860 through the published AD102-family Booter profile and four-PLM payload behind gpu_unlock.ad106_experimental=1. It requires an exact PCI address in the target list and is never selected by targets=all.
  • Docs and Evidence: Canary report in docs/ada-2860-report.md and telemetry evidence in docs/evidence/ada2860/ with SHA256SUMS, raw dmesg-boot.txt, transaction-excerpt.txt, lspci-device.txt, nvidia-smi.txt, sm-rates-*.json, and matched compute benchmark stdout.
  • Tools & Tests: Added 0x2860 to tools/print_boot_option.py, tests/test_main.c, tests/test_unlock_adapter.c, and tests/test_ad102_kernel.c.

Hardware result (ASUS ROG Zephyrus G16 GA605WI, physical silicon)

  • Host System: ASUS ROG Zephyrus G16 GA605WI, AMD Ryzen AI 9 HX 370 (12c/24t Strix Point), 32 GiB LPDDR5X, RTX 4070 Mobile (10de:2860, AD106M rev a1, subsystem 1043:1e83, 36 SMs, 8 GiB GDDR6).
  • Environment: Ubuntu 24.04 LTS, kernel 7.0.0-38-generic, stock NVIDIA open kernel driver 580.178.04. MUX switch set to Discrete / Dedicated (AsusMuxDgpu).
  • Cold Boot Transaction:
    • Entry readback: plm=0xffffff8f, ss0=0x70727172, ss1=0x1, wpr2_hi=0x0, chip 0x196000a1.
    • FWSEC: extracted from BAR0 + 0x300000 (length 1 MiB, 0xAA55 header), ucode_id=9, engine_mask=0x400, sig_versions=0x3 selecting slot 1.
    • Payload execution: marker 0x67b00001, SEC2 halted, permissions written (WPR_CFG=0xfffff0ff, WPR=0xffffffff, FEAT=0xffffffff; FBPA stayed 0xffffff0f).
    • Speed-select registers written: SS0=0x88888888, SS1=0x8. Module effective readout changed from 0 0 2 0 0 2 0 2 0 (full=0) to all zero (full=1).
    • Persisted across PCIe FLR: SS0=88888888 SS1=00000008, gpu_unlock: unlocked.
    • Driver handoff: stock open driver 580.178.04 loaded cleanly on minor 1 with zero NVRM Xid or MMU errors.
  • RM Getter: Querying tools/read_sm_rates.py confirms fmla32=0, imla2=0, imla4=0 (all 0 = full speed).
  • Matched Instruction Rate / Throughput Benchmarks:
    • BF16 Tensor GEMM: 40.51 TF/s → 75.60 TF/s (+86.6% speedup)
    • FP16 Tensor GEMM: 41.97 TF/s → 63.81 TF/s (+52.0% speedup)
    • TF32 Tensor GEMM: 19.44 TF/s → 31.58 TF/s (+62.4% speedup)
    • FP8 (e4m3fn) GEMM: 79.09 TF/s → 127.83 TF/s (+61.6% speedup)
    • INT8 Quantized Tensor: 22.41 TOP/s → 34.39 TOP/s (+53.5% speedup)
    • Sustained VRAM Bandwidth: 222.57 GB/s (86.9% efficiency of 128-bit GDDR6 bus).
    • Telemetry: Sustained SM boost clock ~1740-1845 MHz, temperature 64-66°C, power ~96-101 W.
  • Validation Suite: Zero NaN/Inf or silent data corruption across matrix geometries (128 \times 128 to 2048 \times 2048) vs FP64 CPU reference; 6.5 GB VRAM saturation without MMU faults; 30s 100% duty-cycle thermal burn without EC power rail trips.

Testing

  • make test: All 33 unit tests pass, including mocked dispatch in test_ad102_kernel.c, gated dispatch in test_main.c, and profile verification in test_unlock_adapter.c.
  • tools/print_boot_option.py on the test host outputs gpu_unlock.targets=0000:64:00.0 gpu_unlock.ad106_experimental=1.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/JustAResearcher/gpu-unlock-ada/pull/118 **Author:** [@rishindra2005](https://github.com/rishindra2005) **Created:** 10/30/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/ad106m-rtx4070-mobile` --- ### 📝 Commits (1) - [`1c18df6`](https://github.com/JustAResearcher/gpu-unlock-ada/commit/1c18df607748a9d36b1d7232b657f276412cc75c) Admit the RTX 4070 Mobile (AD106M, 10de:2860) as an exact experimental target ### 📊 Changes **19 files changed** (+490 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) ➕ `docs/ada-2860-report.md` (+140 -0) ➕ `docs/evidence/ada2860/README.md` (+37 -0) ➕ `docs/evidence/ada2860/SHA256SUMS` (+9 -0) ➕ `docs/evidence/ada2860/benchmark-matched.txt` (+25 -0) ➕ `docs/evidence/ada2860/dmesg-boot.txt` (+28 -0) ➕ `docs/evidence/ada2860/lspci-device.txt` (+99 -0) ➕ `docs/evidence/ada2860/nvidia-smi.txt` (+25 -0) ➕ `docs/evidence/ada2860/sm-rates-stock.json` (+1 -0) ➕ `docs/evidence/ada2860/sm-rates-unlocked.json` (+1 -0) ➕ `docs/evidence/ada2860/stability-validation.txt` (+54 -0) ➕ `docs/evidence/ada2860/transaction-excerpt.txt` (+61 -0) 📝 `kernel/gpu_unlock/arch_610.h` (+1 -0) 📝 `kernel/gpu_unlock/main.c` (+1 -0) 📝 `kernel/gpu_unlock/unlock_610.c` (+1 -0) 📝 `tests/test_ad102_kernel.c` (+1 -1) 📝 `tests/test_main.c` (+2 -1) 📝 `tests/test_unlock_adapter.c` (+2 -1) 📝 `tools/print_boot_option.py` (+1 -0) </details> ### 📄 Description ## Summary Adds the mobile NVIDIA GeForce RTX 4070 Laptop GPU (`10de:2860`, AD106M, 36 SMs, rev a1) as an exact experimental target gated behind `gpu_unlock.ad106_experimental=1`. - **Target Routing:** Admits `0x2860` through the published AD102-family Booter profile and four-PLM payload behind `gpu_unlock.ad106_experimental=1`. It requires an exact PCI address in the target list and is never selected by `targets=all`. - **Docs and Evidence:** Canary report in [`docs/ada-2860-report.md`](docs/ada-2860-report.md) and telemetry evidence in [`docs/evidence/ada2860/`](docs/evidence/ada2860/) with `SHA256SUMS`, raw `dmesg-boot.txt`, `transaction-excerpt.txt`, `lspci-device.txt`, `nvidia-smi.txt`, `sm-rates-*.json`, and matched compute benchmark stdout. - **Tools & Tests:** Added `0x2860` to `tools/print_boot_option.py`, `tests/test_main.c`, `tests/test_unlock_adapter.c`, and `tests/test_ad102_kernel.c`. ## Hardware result (ASUS ROG Zephyrus G16 GA605WI, physical silicon) - **Host System:** ASUS ROG Zephyrus G16 GA605WI, AMD Ryzen AI 9 HX 370 (12c/24t Strix Point), 32 GiB LPDDR5X, RTX 4070 Mobile (`10de:2860`, AD106M rev a1, subsystem `1043:1e83`, 36 SMs, 8 GiB GDDR6). - **Environment:** Ubuntu 24.04 LTS, kernel `7.0.0-38-generic`, stock NVIDIA open kernel driver `580.178.04`. MUX switch set to Discrete / Dedicated (`AsusMuxDgpu`). - **Cold Boot Transaction:** - Entry readback: `plm=0xffffff8f`, `ss0=0x70727172`, `ss1=0x1`, `wpr2_hi=0x0`, chip `0x196000a1`. - FWSEC: extracted from BAR0 + `0x300000` (length 1 MiB, `0xAA55` header), `ucode_id=9`, `engine_mask=0x400`, `sig_versions=0x3` selecting slot 1. - Payload execution: marker `0x67b00001`, SEC2 halted, permissions written (`WPR_CFG=0xfffff0ff`, `WPR=0xffffffff`, `FEAT=0xffffffff`; FBPA stayed `0xffffff0f`). - Speed-select registers written: `SS0=0x88888888`, `SS1=0x8`. Module effective readout changed from `0 0 2 0 0 2 0 2 0` (`full=0`) to all zero (`full=1`). - Persisted across PCIe FLR: `SS0=88888888 SS1=00000008`, `gpu_unlock: unlocked`. - Driver handoff: stock open driver `580.178.04` loaded cleanly on minor 1 with zero NVRM Xid or MMU errors. - **RM Getter:** Querying `tools/read_sm_rates.py` confirms `fmla32=0`, `imla2=0`, `imla4=0` (all 0 = full speed). - **Matched Instruction Rate / Throughput Benchmarks:** - **BF16 Tensor GEMM:** 40.51 TF/s → **75.60 TF/s (+86.6% speedup)** - **FP16 Tensor GEMM:** 41.97 TF/s → **63.81 TF/s (+52.0% speedup)** - **TF32 Tensor GEMM:** 19.44 TF/s → **31.58 TF/s (+62.4% speedup)** - **FP8 (`e4m3fn`) GEMM:** 79.09 TF/s → **127.83 TF/s (+61.6% speedup)** - **INT8 Quantized Tensor:** 22.41 TOP/s → **34.39 TOP/s (+53.5% speedup)** - Sustained VRAM Bandwidth: **222.57 GB/s** (86.9% efficiency of 128-bit GDDR6 bus). - Telemetry: Sustained SM boost clock ~1740-1845 MHz, temperature 64-66°C, power ~96-101 W. - **Validation Suite:** Zero NaN/Inf or silent data corruption across matrix geometries ($128 \times 128$ to $2048 \times 2048$) vs FP64 CPU reference; 6.5 GB VRAM saturation without MMU faults; 30s 100% duty-cycle thermal burn without EC power rail trips. ## Testing - `make test`: All 33 unit tests pass, including mocked dispatch in `test_ad102_kernel.c`, gated dispatch in `test_main.c`, and profile verification in `test_unlock_adapter.c`. - `tools/print_boot_option.py` on the test host outputs `gpu_unlock.targets=0000:64:00.0 gpu_unlock.ad106_experimental=1`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JustAResearcher/gpu-unlock-ada#119
No description provided.