[GH-ISSUE #109] Idea: Use the unused 0x009A0148 slot in generate_v67.py to open FUSE_DEBUGCTRL_PLM (0x00820054) for a read-only RIR fuse dump pre-FLR #68

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

Originally created by @JeusChrit on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/JustAResearcher/gpu-unlock-ada/issues/109

Context

Two weeks ago, lixiangwuxian/170hx-rir-tool and lixiangwuxian/170hx_tips demonstrated a second fuse-override mechanism in NVIDIA's NV_FUSE controller (0x00820000):

  • Almost every floorsweeping fuse (OPT_GPC_DISABLE, OPT_TPC_DISABLE[0..7], OPT_ROP_L2_DISABLE, OPT_FBP_DISABLE, OPT_NVLINK_DISABLE, OPT_DISABLE_GEN3_SPEED) has a volatile _CP (Critical Path) companion register (0x0082022c, 0x00820230.., etc.) that overrides the burned OTP fuses when EN_SW_OVERRIDE (0x00820040) is active.
  • Normally, DISABLE_SW_OVERRIDE (0x00820084, Fuse Row 0 Bit 5 = 1) blocks EN_SW_OVERRIDE. However, the hardware fuse macro has a 16-slot repair table (RIR, Redundancy Information Rows) that can invert/repair Fuse Row 0 Bit 5 back to 0 on cold boot if empty 0x0000 RIR slots exist and disable_fuse_program (Row 0 Bit 1) is 0.

Why RIR Couldn't Be Read on Consumer AD10x Until Now

To read the 8 RIR rows (Row 0..7) via FUSECTRL (0x00820000), FUSEADDR (0x00820004), and FUSERDATA (0x00820008), software must set Bit 1 (RWL = 0x2) in DEBUGCTRL (0x00820060).

  • On GA100, FUSE_DEBUGCTRL_PLM (0x00820054) is 0x000000ff (open to host writes).
  • On AD10x, FUSE_CTRL_PLM (0x00820050) is still 0x000000ff, but FUSE_DEBUGCTRL_PLM (0x00820054) is 0xffffff8f (Level-3 HS locked), so userland writes to 0x00820060 are ignored.

For a Read-Only Pre-FLR Probe

In firmware/generate_v67.py (line 17):

PLM_TARGETS = (
    (0x001FA7CC, 0xFFFFF0FF),
    (0x009A0148, 0xFFFFFFFF),
    (0x001FA7C4, 0xFFFFFFFF),
    (0x00823804, 0xFFFFFFFF),
)

Target 1 (0x009A0148, FBPA_PLM) is unused on consumer cards. Swapping 0x009A0148 to 0x00820054 (FUSE_DEBUGCTRL_PLM on GA10x / 90HX / 30-series) or to the moved fuse PLMs at 0x008200d0..0x008200f4 (on AD10x / 40-series, see ad103_fuse_dump.txt in the comments below) allows opening DEBUGCTRL (0x00820060) to run a read-only FUSECTRL_CMD_READ = 0x1 dump of Main Fuse Row 0 and the 8 RIR rows.

Originally created by @JeusChrit on GitHub (Oct 28, 2026). Original GitHub issue: https://github.com/JustAResearcher/gpu-unlock-ada/issues/109 ### Context Two weeks ago, `lixiangwuxian/170hx-rir-tool` and `lixiangwuxian/170hx_tips` demonstrated a second fuse-override mechanism in NVIDIA's `NV_FUSE` controller (`0x00820000`): * Almost every floorsweeping fuse (`OPT_GPC_DISABLE`, `OPT_TPC_DISABLE[0..7]`, `OPT_ROP_L2_DISABLE`, `OPT_FBP_DISABLE`, `OPT_NVLINK_DISABLE`, `OPT_DISABLE_GEN3_SPEED`) has a volatile `_CP` (Critical Path) companion register (`0x0082022c`, `0x00820230..`, etc.) that overrides the burned OTP fuses when `EN_SW_OVERRIDE` (`0x00820040`) is active. * Normally, `DISABLE_SW_OVERRIDE` (`0x00820084`, Fuse Row 0 Bit 5 = `1`) blocks `EN_SW_OVERRIDE`. However, the hardware fuse macro has a 16-slot repair table (**RIR, Redundancy Information Rows**) that can invert/repair Fuse Row 0 Bit 5 back to `0` on cold boot if empty `0x0000` RIR slots exist and `disable_fuse_program` (Row 0 Bit 1) is `0`. ### Why RIR Couldn't Be Read on Consumer `AD10x` Until Now To read the 8 RIR rows (`Row 0..7`) via `FUSECTRL` (`0x00820000`), `FUSEADDR` (`0x00820004`), and `FUSERDATA` (`0x00820008`), software must set Bit 1 (`RWL = 0x2`) in `DEBUGCTRL` (`0x00820060`). * On `GA100`, `FUSE_DEBUGCTRL_PLM` (`0x00820054`) is `0x000000ff` (open to host writes). * On `AD10x`, `FUSE_CTRL_PLM` (`0x00820050`) is still `0x000000ff`, **but `FUSE_DEBUGCTRL_PLM` (`0x00820054`) is `0xffffff8f` (Level-3 `HS` locked)**, so userland writes to `0x00820060` are ignored. ### For a Read-Only Pre-FLR Probe In `firmware/generate_v67.py` (line 17): ```python PLM_TARGETS = ( (0x001FA7CC, 0xFFFFF0FF), (0x009A0148, 0xFFFFFFFF), (0x001FA7C4, 0xFFFFFFFF), (0x00823804, 0xFFFFFFFF), ) ``` Target 1 (`0x009A0148`, `FBPA_PLM`) is unused on consumer cards. Swapping `0x009A0148` to `0x00820054` (`FUSE_DEBUGCTRL_PLM` on `GA10x` / 90HX / 30-series) or to the moved fuse PLMs at `0x008200d0..0x008200f4` (on `AD10x` / 40-series, see `ad103_fuse_dump.txt` in the comments below) allows opening `DEBUGCTRL` (`0x00820060`) to run a read-only `FUSECTRL_CMD_READ = 0x1` dump of Main Fuse Row 0 and the 8 RIR rows.
Author
Owner

@JeusChrit commented on GitHub (Oct 29, 2026):

We also did a dump of 0x820000..0x820dff on an RTX 4080 booted with gpu-unlock-ada. Looks like on Ada, 0x820050/54 aren't the PLMs anymore (0x820004 FUSEADDR is 0x33f so 832 rows, and 0x820050 reads 0x033f02e3), and the fuse PLMs moved to 0x8200d0..0x8200fc:

0x820000: e0040000 0000033f 00802004 00000000
0x820010: 0037102a 0000004c 1b2a0812 1b210088
0x820020: 00000022 badf5040 00000000 badf5040
0x820040: 00000001 badf5040 badf5040 badf5040
0x820050: 033f02e3 00000118 badf5040 badf5040
0x820060: 00400000 badf5040 008243b8 008244e0
0x820070: 00004555 badf5040 00000001 badf5040
0x820080: badf5040 00000001 00000000 badf5040
0x8200d0: ffffff8f fffffffc ffffff8f ffffff8f
0x8200e0: ffffff8f ffffff8f fffffffc fffffffc
0x8200f0: fffffffc ffffff8f ffffffff ffffffff

Also interesting on this 4080 dump is that the 2 disabled TPCs (GPC0 TPC0 and GPC1 TPC0, STATUS_OPT_TPC at 0x820c38=1 and 0x820c3c=1, matching 0x8203a0=1 and 0x8203a8=1) have all DEFECT registers at 0, so the die has 40/40 good TPCs. And in the CTRL_OPT block (0x820800..0x8209ff), everything is 0 except 0x8209c8 = 0x4 (which matches STATUS_OPT at 0x820dc8 = 0x4).
ad103_fuse_dump.txt

<!-- gh-comment-id:6498080944 --> @JeusChrit commented on GitHub (Oct 29, 2026): We also did a dump of 0x820000..0x820dff on an RTX 4080 booted with gpu-unlock-ada. Looks like on Ada, 0x820050/54 aren't the PLMs anymore (0x820004 FUSEADDR is 0x33f so 832 rows, and 0x820050 reads 0x033f02e3), and the fuse PLMs moved to 0x8200d0..0x8200fc: 0x820000: e0040000 0000033f 00802004 00000000 0x820010: 0037102a 0000004c 1b2a0812 1b210088 0x820020: 00000022 badf5040 00000000 badf5040 0x820040: 00000001 badf5040 badf5040 badf5040 0x820050: 033f02e3 00000118 badf5040 badf5040 0x820060: 00400000 badf5040 008243b8 008244e0 0x820070: 00004555 badf5040 00000001 badf5040 0x820080: badf5040 00000001 00000000 badf5040 0x8200d0: ffffff8f fffffffc ffffff8f ffffff8f 0x8200e0: ffffff8f ffffff8f fffffffc fffffffc 0x8200f0: fffffffc ffffff8f ffffffff ffffffff Also interesting on this 4080 dump is that the 2 disabled TPCs (GPC0 TPC0 and GPC1 TPC0, STATUS_OPT_TPC at 0x820c38=1 and 0x820c3c=1, matching 0x8203a0=1 and 0x8203a8=1) have all DEFECT registers at 0, so the die has 40/40 good TPCs. And in the CTRL_OPT block (0x820800..0x8209ff), everything is 0 except 0x8209c8 = 0x4 (which matches STATUS_OPT at 0x820dc8 = 0x4). [ad103_fuse_dump.txt](https://github.com/user-attachments/files/34135336/ad103_fuse_dump.txt)
Author
Owner

@Willian-Zhang commented on GitHub (Oct 29, 2026):

Great dump — one register just outside your range is now the most wanted Ada number publicly known: 0x823B00 (row-remapper PLM, FEAT2). GA100 stock is 0xffffff8f (cmp170hx register-reference.md, plus it's row 8 of their nine-PLM branch table whose geometry-persistence result was negative). Your sweep stopped at 0x820dff, so we still have zero public AD10x raw values for it — same situation as 0x8403c4 on the UEFI-mirror side.

If any of your AD103 rigs are sitting around: one 32-bit BAR0 read of 0x823b00 (ideally stock/pre-unlock; post-unlock is still interesting since GA100 read it still-open after FLR) would settle whether FEAT-side PLM stock shapes are die-family-invariant. One hex value.

<!-- gh-comment-id:6498964003 --> @Willian-Zhang commented on GitHub (Oct 29, 2026): Great dump — one register just outside your range is now the most wanted Ada number publicly known: `0x823B00` (row-remapper PLM, `FEAT2`). GA100 stock is `0xffffff8f` (cmp170hx `register-reference.md`, plus it's row 8 of their nine-PLM branch table whose geometry-persistence result was negative). Your sweep stopped at `0x820dff`, so we still have **zero** public AD10x raw values for it — same situation as `0x8403c4` on the UEFI-mirror side. If any of your AD103 rigs are sitting around: one 32-bit BAR0 read of `0x823b00` (ideally stock/pre-unlock; post-unlock is still interesting since GA100 read it still-open after FLR) would settle whether FEAT-side PLM stock shapes are die-family-invariant. One hex value.
Author
Owner

@JeusChrit commented on GitHub (Oct 29, 2026):

2. Great dump — one register just outside your range is now the most wanted Ada number publicly known: 0x823B00 (row-remapper PLM, FEAT2). GA100 stock is 0xffffff8f (cmp170hx register-reference.md, plus it's row 8 of their nine-PLM branch table whose geometry-persistence result was negative). Your sweep stopped at 0x820dff, so we still have zero public AD10x raw values for it — same situation as 0x8403c4 on the UEFI-mirror side.
If any of your AD103 rigs are sitting around: one 32-bit BAR0 read of 0x823b00 (ideally stock/pre-unlock; post-unlock is still interesting since GA100 read it still-open after FLR) would settle whether FEAT-side PLM stock shapes are die-family-invariant. One hex value.

We actually already have both 0x823b00 and 0x8403c4 captured on an RTX 4090 (AD102, 0x192000a1) from the UEFI cold-state preflight log (before any driver release or SEC2 fire, and again in the SEC2 pre-start / plm-open snapshots):

cold state: chip=0x192000a1 plm=0xffffff8f gfw=0x8b8f/0x3ff/0x10 WPR2_HI=0 SS0=0x1353110 SS1=0x2
cold PLMs: WPR_CFG=0x4cb8f FBPA=0xffffff0f WPR=0x4cb8f FEAT=0xffffff8f
cold diagnostic: reg=0x823b00 name=SOURCE_ENABLE_CANDIDATE_RAW value=0x4b8f decoded=0
cold diagnostic: reg=0x8403c4 name=RESET_PLM_CANDIDATE_RAW value=0xffffffff decoded=0
<!-- gh-comment-id:6499155233 --> @JeusChrit commented on GitHub (Oct 29, 2026): > 2\. Great dump — one register just outside your range is now the most wanted Ada number publicly known: `0x823B00` (row-remapper PLM, `FEAT2`). GA100 stock is `0xffffff8f` (cmp170hx `register-reference.md`, plus it's row 8 of their nine-PLM branch table whose geometry-persistence result was negative). Your sweep stopped at `0x820dff`, so we still have **zero** public AD10x raw values for it — same situation as `0x8403c4` on the UEFI-mirror side. > If any of your AD103 rigs are sitting around: one 32-bit BAR0 read of `0x823b00` (ideally stock/pre-unlock; post-unlock is still interesting since GA100 read it still-open after FLR) would settle whether FEAT-side PLM stock shapes are die-family-invariant. One hex value. We actually already have both `0x823b00` and `0x8403c4` captured on an RTX 4090 (`AD102`, `0x192000a1`) from the UEFI cold-state preflight log (before any driver release or SEC2 fire, and again in the SEC2 pre-start / plm-open snapshots): ```text cold state: chip=0x192000a1 plm=0xffffff8f gfw=0x8b8f/0x3ff/0x10 WPR2_HI=0 SS0=0x1353110 SS1=0x2 cold PLMs: WPR_CFG=0x4cb8f FBPA=0xffffff0f WPR=0x4cb8f FEAT=0xffffff8f cold diagnostic: reg=0x823b00 name=SOURCE_ENABLE_CANDIDATE_RAW value=0x4b8f decoded=0 cold diagnostic: reg=0x8403c4 name=RESET_PLM_CANDIDATE_RAW value=0xffffffff decoded=0
Author
Owner

@JeusChrit commented on GitHub (Oct 29, 2026):

REPORT.TXT

From the 4090 machine, in case it helps.

<!-- gh-comment-id:6499566022 --> @JeusChrit commented on GitHub (Oct 29, 2026): [REPORT.TXT](https://github.com/user-attachments/files/34137456/REPORT.TXT) From the 4090 machine, in case it helps.
Author
Owner

@JeusChrit commented on GitHub (Oct 29, 2026):

4080 too

AD103 0x823b00 = 0x00004b8f
AD103 0x8403c4 = 0xffffffcf
0x823800: ffffff8f ffffff8f 00100380 00888888
0x823810: 00aaaaaa 00000233 00410080 55467125
0x823820: 00000000 00000001 00000001 0000000a
0x823830: 00000003 00000000 00000000 00000000
0x823b00: 00004b8f ffffff8f ffffff8f ffffffcf
0x823b10: ffffff8f ffffffff ffffff8f ffffff8f
0x823b20: ffffff8f ffffff0f ffffff8f badf5040

<!-- gh-comment-id:6502970970 --> @JeusChrit commented on GitHub (Oct 29, 2026): 4080 too AD103 0x823b00 = 0x00004b8f AD103 0x8403c4 = 0xffffffcf 0x823800: ffffff8f ffffff8f 00100380 00888888 0x823810: 00aaaaaa 00000233 00410080 55467125 0x823820: 00000000 00000001 00000001 0000000a 0x823830: 00000003 00000000 00000000 00000000 0x823b00: 00004b8f ffffff8f ffffff8f ffffffcf 0x823b10: ffffff8f ffffffff ffffff8f ffffff8f 0x823b20: ffffff8f ffffff0f ffffff8f badf5040
Author
Owner

@Willian-Zhang commented on GitHub (Oct 30, 2026):

Thanks for the 4090 REPORT.TXT and the newer 4080 values.

Does anyone already have a stock, pre-unlocker Ada capture, preferably from an AD102/4090, containing:

0x8207d4–0x8207f8   # every 32-bit word
0x823804          # FEAT_OVR_PLM
0x823818          # effective speed readout
0x82381c          # SS0
0x823820          # SS1

The earlier AD103 fuse dump was unlocker-booted, so a clean stock reference would help distinguish baseline values from possible unlock-state effects.

Please include the card model/device ID, whether the capture followed AC power removal, a reboot, or driver unbinding, and whether any driver or unlocker had already run.

Existing logs are preferred. No payload changes, fuse-controller commands, or register writes are requested.

<!-- gh-comment-id:6521671478 --> @Willian-Zhang commented on GitHub (Oct 30, 2026): Thanks for the 4090 `REPORT.TXT` and the newer 4080 values. Does anyone already have a **stock, pre-unlocker Ada capture**, preferably from an AD102/4090, containing: ```text 0x8207d4–0x8207f8 # every 32-bit word 0x823804 # FEAT_OVR_PLM 0x823818 # effective speed readout 0x82381c # SS0 0x823820 # SS1 ``` The earlier AD103 fuse dump was unlocker-booted, so a clean stock reference would help distinguish baseline values from possible unlock-state effects. Please include the card model/device ID, whether the capture followed AC power removal, a reboot, or driver unbinding, and whether any driver or unlocker had already run. Existing logs are preferred. No payload changes, fuse-controller commands, or register writes are requested.
Author
Owner

@machtelik commented on GitHub (Oct 30, 2026):

Stock AD103 data point: RTX 4070 Ti SUPER, 10de:2705, VBIOS 95.03.45.00.9B, 7.2.11-arch1-1, nvidia-open 615.78.08. gpu-unlock never installed on this box.

@Willian-Zhang, pre-driver capture: booted with module_blacklist=nvidia,nvidia_modeset,nvidia_uvm,nvidia_drm, nothing bound to the device. GFW done, falcon halted, WPR2_HI=0. BAR0 reads only, no writes, no FUSECTRL commands.

0x8207d4..f8  0 1 0 0 1 0 1 0 1 0
0x823804      ffffff8f
0x823818      00410080
0x82381c      14246127
0x823820      00000000
0x823b00..0c  00004b8f ffffff8f ffffff8f ffffffcf
0x8403c4      ffffffff

I took a second capture after a normal boot with nvidia bound. 0x820000..0x820dff and 0x823b00..0c are identical in both. These changed:

             pre       post
0x8403c4     ffffffff  ffffffcf
0x823824     00000001  00000000
0x504204     00000005  00000007
0x841668     00000110  00000001

plus WPR2 and the GFW/SEC2 CPUCTL state. So the 4080's 0x8403c4 = ffffffcf is most likely a post-driver read. Cold it matches the 4090.

Same as the 4080: fuse PLMs 0x8200d0..fc, 0x820004, 0x820050, 0x8209c8/0x820dc8, the 0x823b00 block, and 0x820084 = 1.

Diff against the 4080 dump is 50 of 736 words. TPC masks, mine/4080:

                  GPC0   GPC1   GPC2   GPC3   GPC7
0x820c38+4g       01/01  00/01  3f/00  30/30  3f/3f
0x820760+4g       00/01  00/00  3f/00  00/00  00/00
0x820788/0x82078c 01/00  00/01
0x820c1c          f84/f80

GPC3 TPC4-5 is off on both, so I assume those slots don't exist (40 TPCs). That leaves GPC0 TPC0 and all of GPC2 off here: 33 TPCs, 66 SMs, which matches the SKU.

0x820760 looks like OPT_DIS. The single-TPC disables come from 0x820788/0x82078c instead, and I don't know what those are. Might separate binning from defects if someone knows. I couldn't locate DEFECT. Nonzero only on mine: 0x82022c = 4, 0x82050c = 0x3f.

Full pre-driver dump attached.

ad103_2705_stock_predriver_fuse_dump.txt

<!-- gh-comment-id:6533955422 --> @machtelik commented on GitHub (Oct 30, 2026): Stock AD103 data point: RTX 4070 Ti SUPER, `10de:2705`, VBIOS `95.03.45.00.9B`, 7.2.11-arch1-1, nvidia-open 615.78.08. gpu-unlock never installed on this box. @Willian-Zhang, pre-driver capture: booted with `module_blacklist=nvidia,nvidia_modeset,nvidia_uvm,nvidia_drm`, nothing bound to the device. GFW done, falcon halted, WPR2_HI=0. BAR0 reads only, no writes, no FUSECTRL commands. ``` 0x8207d4..f8 0 1 0 0 1 0 1 0 1 0 0x823804 ffffff8f 0x823818 00410080 0x82381c 14246127 0x823820 00000000 0x823b00..0c 00004b8f ffffff8f ffffff8f ffffffcf 0x8403c4 ffffffff ``` I took a second capture after a normal boot with nvidia bound. `0x820000..0x820dff` and `0x823b00..0c` are identical in both. These changed: ``` pre post 0x8403c4 ffffffff ffffffcf 0x823824 00000001 00000000 0x504204 00000005 00000007 0x841668 00000110 00000001 ``` plus WPR2 and the GFW/SEC2 CPUCTL state. So the 4080's `0x8403c4 = ffffffcf` is most likely a post-driver read. Cold it matches the 4090. Same as the 4080: fuse PLMs `0x8200d0..fc`, `0x820004`, `0x820050`, `0x8209c8`/`0x820dc8`, the `0x823b00` block, and `0x820084 = 1`. Diff against the 4080 dump is 50 of 736 words. TPC masks, mine/4080: ``` GPC0 GPC1 GPC2 GPC3 GPC7 0x820c38+4g 01/01 00/01 3f/00 30/30 3f/3f 0x820760+4g 00/01 00/00 3f/00 00/00 00/00 0x820788/0x82078c 01/00 00/01 0x820c1c f84/f80 ``` GPC3 TPC4-5 is off on both, so I assume those slots don't exist (40 TPCs). That leaves GPC0 TPC0 and all of GPC2 off here: 33 TPCs, 66 SMs, which matches the SKU. `0x820760` looks like OPT_DIS. The single-TPC disables come from `0x820788`/`0x82078c` instead, and I don't know what those are. Might separate binning from defects if someone knows. I couldn't locate DEFECT. Nonzero only on mine: `0x82022c = 4`, `0x82050c = 0x3f`. Full pre-driver dump attached. [ad103_2705_stock_predriver_fuse_dump.txt](https://github.com/user-attachments/files/34202838/ad103_2705_stock_predriver_fuse_dump.txt)
Author
Owner

@Willian-Zhang commented on GitHub (Oct 31, 2026):

@machtelik Thanks for collecting both pre-driver and post-driver data and sharing the full dump—this is very helpful!

<!-- gh-comment-id:6547017618 --> @Willian-Zhang commented on GitHub (Oct 31, 2026): @machtelik Thanks for collecting both pre-driver and post-driver data and sharing the full dump—this is very helpful!
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#68
No description provided.