docs(debt): fold the PPSA15246 submit sizes into the PM4 type-0 entry #18091
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/18091"
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?
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-11-10T11:25:07Z.
What
The PR first added a second entry for the PPSA15246 stop; the review pointed to the existing 'PM4 type-0 packets' entry in docs/dev/debt/libSceAgcDriver.md (line 249 on main). The new entry is removed and the new facts are added to that entry as one sentence:
Three later runs rejected 6387 dwords rather than the 6369 of an earlier run; in one of them the submit starts 0x5620 bytes into a region whose previous accepted submit of 5512 dwords (0x5620 bytes) began at its base, a dump has 4097 non-zero dwords, and a type 0/2/3 walk from dword 15 does not reach dword 6382.
(The entry was 1077 characters on main and is 1391 now; the added sentence is 314 characters.)
Tested
Docs only; python -I tools/check_conventions.py --base upstream/main passes. PPSA15246 was run on the host (not a console measurement) in three runs, 2026-11-09 and twice on 2026-11-10 (UTC), and all three reject 6387 dwords ('unsupported PM4 packet type: header 0x00000000 at DWORD 15 of 6387'); the 6369 of the existing entry is from an earlier run. The buffer address differs per run. Trace run (APS5_TRACE_GPU=1): the rejected submit of 6387 dwords starts at 0x2d51a5620; 91 earlier submits of the region start at its base 0x2d51a0000 with 716 to 5512 dwords, and the last accepted one holds 5512 dwords (0x5620 bytes). Dump run: 6387 dwords, 4097 non-zero. An offline walk (type 0 and 3: ((h>>16)&0x3fff)+2 dwords, type 1 and 2: 1 dword) from DWORD 15 and from DWORDs 16 to 30 does not reach DWORD 6382. No console measurement was made. The dump is not attached.
Overlap: the open pull requests that change
docs/dev/debt/libSceAgcDriver.md(152, found by listing all open pull requests by update time) were checked on 2026-11-10 at about 19:40 UTC againstmain56c80b0917(the branch merges into it without a conflict). 54 of them already conflict withmainwithout this change and 98 merge cleanly with and without it; none conflicts only with this change, because the change is one sentence at the end of one existing entry.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)AI-assisted (Claude Code).
🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by gabichuuuuu on 2026-11-10T17:50:10Z.
Review: COMMENTED
Read
29a226aaafagainstmain.Defect. This duplicates an existing entry.
docs/dev/debt/libSceAgcDriver.md:249on main (PM4 type-0 packets, sameCommandValidation.cpp) already records that PPSA15246 hits a zero header at DWORD 15 after a seven-dword NOP and an eight-dword ACQUIRE_MEM (15 valid dwords), thatDriver::validaterejects it (CommandValidation.cpp:57-67: the header fails(header & 0xc0000000) == 0xc0000000and is not aFillerPacket,Pm4.hpp:92), and that letting it through only moves the stop. The new entry describes the same stop for the same title. Its only new facts are the 6387-dword size (the existing entry says 6369), thebase+0x5620offset and that a type 0/2/3 walk from DWORD 15 does not reach DWORD 6382. Fold those into the existing entry instead of adding a second one.Not run here; this is from reading the code.
AI-assisted: yes.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-21T04:51:20Z.
Review: APPROVED
Reviewed — looks good
The documentation change is limited to adding a concise follow-up observation to the existing PPSA15246 entry; no defect is evident in the inspected code, though the new measurements are author-reported and their dump is not attached.
What I ran
8334fd3ba9dc7b1ec712f231cc34c356b6ebabc6and its prepared diff; no commands or tests were run.description.md,commits.md,manifest.json,diff.patch, the changed debt entry, and the linked PM4 validation function usingrepo_read.py.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
The added run counts, buffer address relationship, dump contents, and offline packet walk are reported in the PR description and cannot be independently confirmed from the repository; the dump is not attached. No tests or convention checker were run. The reader’s
files.jsonwas not available through the supplied reader interface, so excluded-file details were not independently checked; the manifest lists one changed file and marks its full text as included.To get this to a good state
Nothing is required.