mirror of
https://github.com/Zagitta/gpu-unlock.git
synced 2026-12-03 19:44:49 +07:00
[PR #294] gpu_unlock: unlock Turing (TU10x) with the two-write chain #286
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Zagitta/gpu-unlock#286
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Zagitta/gpu-unlock/pull/294
Author: @RakkiPoni
Created: 11/2/2026
Status: 🔄 Open
Base:
fix/turing-loader-halt← Head:turing-tu10x-unlock📝 Commits (3)
c2c55d8gpu_unlock: unlock Turing (TU10x) with the two-write chain9422be4gpu_unlock: wait 10 ms after the GSP reset before the FWSEC loader326ba8fgpu_unlock: poll the TU10x scrub in DMACTL instead of sleeping 10 ms📊 Changes
3 files changed (+94 additions, -41 deletions)
View changed files
📝
kernel/gpu_unlock/falcon.c(+19 -2)📝
kernel/gpu_unlock/recipes.c(+46 -38)📝
kernel/gpu_unlock/unlock_610.c(+29 -1)📄 Description
Follows up on #242: the changes from this comment, as a PR against
fix/turing-loader-haltso they are easier to review.5247c22alone stops at-110on every Turing chip reported so far (loader never halts,last_mmio=0x110100:0x0). These seven changes get all three dies through:falcon.cgu_falcon_loader()FBIF_CTL |= ALLOW_PHYS_NO_CTX,DMACTL = 0before the loader runs (asgu_falcon_hs()does)falcon.cgu_falcon_direct()-ETIMEDOUTon the HALTED poll: TU10x SEC2 reads back HALTED after resetrecipes.cb0ec9029…), which releases ACR mutex 3;tu102_plmopens FEAT_PLM and clears WPR2_ADDR_HIunlock_610.crestore_frts()unlock_610.cprelaunch0xbadf....PLM read tolerated on Turing before the Booter runsunlock_610.cunlock_transaction_reset()stage=flr_skippedfalcon.cgu_falcon_loader()DMACTL & 0x6 == 0, askflcnWaitForResetToFinish_TU102()does (326ba8f, replaces the empirical 10 ms of9422be4). On Turing the existingHWCFG2bit 12 wait is a no-op, so the loader could be written mid-scrub and never haltTested (cold boots, reports in #242)
1f08)1e07)1e87)1f03)1e84)-110on the first boot1e87) + RTX 2070 (1f07), aarch641e07)1e84)DMACTLpoll 10/10 (10 ms wait: 6/6)DMACTLpollAn RTX 3060 Ti (GA104) in the same box as the 2060 still unlocks with this build, so the Ampere path is unchanged.
The intermittent
-110(@Ledzpg, @sahlawat) was a race with the falcon memory scrub. Right after the reset a TU104 readsDMACTL=0x7(IMEM/DMEM scrub still running) whileHWCFG2bit 12 already reads 0, andDMACTL & 0x6clears about 20 µs later.gpu_unlock.dyndbg=+pand the 10 ms wait only hid it by being slower. @Ledzpg found the register in NVIDIA's open modules and measured it; the GA102HWCFG2wait ingu_falcon_engine_reset()is unchanged.Refs #242
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.