diff options
| author | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-09-22 03:58:30 -0400 |
|---|---|---|
| committer | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-09-22 03:58:30 -0400 |
| commit | 915f5e5c8c86c0846816b4d0e1c2f633bf1c51d5 (patch) | |
| tree | 7cc3eb47ab36874395677f71bb79cf5619ac41d4 /kernel | |
| parent | 5eac589d9a7af8f8b321b00398575070b9a88513 (diff) | |
| download | open-iov-915f5e5c8c86c0846816b4d0e1c2f633bf1c51d5.tar.gz open-iov-915f5e5c8c86c0846816b4d0e1c2f633bf1c51d5.zip | |
kernel: revert fb to 256MB (512MB broke FWSEC WPR2-location check)
The FB=512MB change made the FWSEC WPR2-location check fail
('WPR2 initialized at an unexpected location: 0x1fe00 (expected 0xfe00)')
because NV_PFB_PRI_MMU_LOCAL_MEMORY_RANGE must stay consistent with
GSCI fb_length. Reverted to 256MB everywhere. The golden-image GR
context buffer NO_MEMORY is a heap free-list issue, not fb size.
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/gsp_rm_emulation.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/gsp_rm_emulation.c b/kernel/gsp_rm_emulation.c index 24bd8fe..2d38829 100644 --- a/kernel/gsp_rm_emulation.c +++ b/kernel/gsp_rm_emulation.c @@ -611,7 +611,8 @@ static void gsp_rm_build_static_info(u8 *buf) /* poisonFuseEnabled (offset 1216, 1 byte) */ buf[TU104_GSCI_OFF_poisonFuseEnabled] = 0; - /* fb_length (offset 1224, 8 bytes) - 256MB */ + /* fb_length (offset 1224, 8 bytes) - 256MB (512MB broke the FWSEC + * WPR2-location check below). */ val64 = 0x10000000ULL; memcpy(buf + TU104_GSCI_OFF_fb_length, &val64, 8); @@ -680,7 +681,7 @@ static void gsp_rm_build_static_info(u8 *buf) /* fwWprLayoutOffset (offset 1640, 16 bytes): nonWprHeapOffset, frtsOffset */ val64 = 0; memcpy(buf + TU104_GSCI_OFF_fwWprLayoutOffset, &val64, 8); - val64 = 0xFE00000; /* frtsOffset = fbSize - 2MB */ + val64 = 0xFE00000; /* frtsOffset = fbSize - 2MB (256MB) */ memcpy(buf + TU104_GSCI_OFF_fwWprLayoutOffset + 8, &val64, 8); } |
