feat(libSceGnmDriver): expose regular DingDong marker #18209

Merged
DonRyuzaki merged 1 commit from upstream-pr/18209 into main 2026-11-13 10:25:57 +00:00
DonRyuzaki commented 2026-11-10 21:12:09 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by DonRyuzaki on 2026-11-10T21:12:09Z.


What

Add sceGnmInsertDingDongMarker to regular libSceGnmDriver. In #17581, inFAMOUS Second Son (CUSA00223) imports NID NfvOrNzy6sk from that provider, but current main exports the writer only from libSceGnmDriverForNeoMode. The regular wrapper writes the same four-dword PM4 NOP as the existing Neo writer, refuses a null or non-four-word buffer, and uses _nid_disambig1 to retain the guest NID without duplicating the host export name.

This removes one reported unresolved import. The title has other unresolved imports, so no launch claim is made. Open #17396 tests the Neo provider’s marker; this PR adds behavioral coverage for the regular provider. Open #17711 and #17942 implement different GNM writers. Their shared-file patches were compared and do not own this NID. #6977 is a broad draft integration branch and does not define this function in regular GNM.

Tested

  • Ubuntu under WSL2, base 0aa98c0a07c74b1ebc8b9389185b6ff1d2978b38, head 67a7d120088b1e0dde8ab41020b9a0d1f261cab8: full libs runtime and guest_gnm_driver_tests built with two compiler jobs at below-normal priority; the 833-step build completed, including PRX patching.
  • ctest --test-dir build -R ^guest_gnm_driver$ --output-on-failure --repeat until-fail:3: three passes. The new assertions check a null buffer, sizes 3 and 5 without buffer mutation, the exact 0xc0021000, 0, 0, 0 packet for size 4, and the next-word sentinel.
  • Negative control on preceding main 02c52411e5b4df59e192301818182a228a9d353b: ctypes.CDLL loads the built regular PRX, but looking up NfvOrNzy6sk fails with undefined symbol. The regular GNM paths did not change between that base and the tested base. On the tested head, the same lookup succeeds; readelf --dyn-syms --wide shows NfvOrNzy6sk as a defined function in regular libSceGnmDriver.prx.
  • tools/check_conventions.py --base origin/main, core/libs/tests/test_public_headers.py --audit-only (407 libraries, 33,860 exports), and git diff --check origin/main...HEAD pass. pr_overlap.py could not run because gh is unavailable locally; the open #17396, #17711, #17942, and draft #6977 changes were inspected manually for ownership of this NID.
  • The earlier exact tested head was 67a7d120; it was subsequently rebased without changing the feature patch.

Rebased-head validation (November 10)

Current head 684b08b5fde958f7a57d8fe008a4304020fd2918 is based on upstream 4306c608e2a552d5c96f11679332a222a4683ef9, including both worker-spin fixes. On this exact source, full Linux libs and guest_gnm_driver_tests rebuilt successfully with two below-normal compiler jobs. guest_gnm_driver and public_headers each passed three consecutive runs (6/6, no skips). The changed source matched the rebased head byte-for-byte; the patched regular PRX SHA-256 was 2f88badd8098786523aff897a6807f18809f41bc59557e6d69c88daa520c2a69. The prior head had a successful dynamic NID and packet check, which was not repeated on the rebase. Emscripten portability, Progress report, and Conventions passed on this head; the hosted Windows job passed; hosted Linux and specialized PR jobs were skipped.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library’s technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5248997994 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/18209). Originally posted by [DonRyuzaki](https://github.com/DonRyuzaki) on 2026-11-10T21:12:09Z. --- ### What Add `sceGnmInsertDingDongMarker` to regular `libSceGnmDriver`. In [#17581](https://github.com/boykopovar/AnyPS5/issues/17581), inFAMOUS Second Son (CUSA00223) imports NID `NfvOrNzy6sk` from that provider, but current `main` exports the writer only from `libSceGnmDriverForNeoMode`. The regular wrapper writes the same four-dword PM4 NOP as the existing Neo writer, refuses a null or non-four-word buffer, and uses `_nid_disambig1` to retain the guest NID without duplicating the host export name. This removes one reported unresolved import. The title has other unresolved imports, so no launch claim is made. Open #17396 tests the Neo provider’s marker; this PR adds behavioral coverage for the regular provider. Open #17711 and #17942 implement different GNM writers. Their shared-file patches were compared and do not own this NID. #6977 is a broad draft integration branch and does not define this function in regular GNM. ### Tested - Ubuntu under WSL2, base `0aa98c0a07c74b1ebc8b9389185b6ff1d2978b38`, head `67a7d120088b1e0dde8ab41020b9a0d1f261cab8`: full `libs` runtime and `guest_gnm_driver_tests` built with two compiler jobs at below-normal priority; the 833-step build completed, including PRX patching. - `ctest --test-dir build -R ^guest_gnm_driver$ --output-on-failure --repeat until-fail:3`: three passes. The new assertions check a null buffer, sizes 3 and 5 without buffer mutation, the exact `0xc0021000, 0, 0, 0` packet for size 4, and the next-word sentinel. - Negative control on preceding `main` `02c52411e5b4df59e192301818182a228a9d353b`: `ctypes.CDLL` loads the built regular PRX, but looking up `NfvOrNzy6sk` fails with `undefined symbol`. The regular GNM paths did not change between that base and the tested base. On the tested head, the same lookup succeeds; `readelf --dyn-syms --wide` shows `NfvOrNzy6sk` as a defined function in regular `libSceGnmDriver.prx`. - `tools/check_conventions.py --base origin/main`, `core/libs/tests/test_public_headers.py --audit-only` (407 libraries, 33,860 exports), and `git diff --check origin/main...HEAD` pass. `pr_overlap.py` could not run because `gh` is unavailable locally; the open #17396, #17711, #17942, and draft #6977 changes were inspected manually for ownership of this NID. - The earlier exact tested head was `67a7d120`; it was subsequently rebased without changing the feature patch. ### Rebased-head validation (November 10) Current head `684b08b5fde958f7a57d8fe008a4304020fd2918` is based on upstream `4306c608e2a552d5c96f11679332a222a4683ef9`, including both worker-spin fixes. On this exact source, full Linux `libs` and `guest_gnm_driver_tests` rebuilt successfully with two below-normal compiler jobs. `guest_gnm_driver` and `public_headers` each passed three consecutive runs (6/6, no skips). The changed source matched the rebased head byte-for-byte; the patched regular PRX SHA-256 was `2f88badd8098786523aff897a6807f18809f41bc59557e6d69c88daa520c2a69`. The prior head had a successful dynamic NID and packet check, which was not repeated on the rebase. Emscripten portability, Progress report, and Conventions passed on this head; the [hosted Windows job](https://github.com/boykopovar/AnyPS5/actions/runs/42911915575/job/130164532848) passed; hosted Linux and specialized PR jobs were skipped. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library’s [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
MarcZX10 commented 2026-11-10 21:21:10 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-10T21:21:10Z.

Review: COMMENTED


Reviewed — no blocking findings

The implementation matches the existing NeoMode four-dword NOP packet and the new test covers null, wrong-size, packet-content, and adjacent-word behavior; I’m leaving a comment while hosted Windows CI is still running.

What I ran

PR #18209 head 67a7d120088b1e0dde8ab41020b9a0d1f261cab8. GitHub reports base d66e6aac01bdf52b7a0a97b255a4110e2efe03a3; the no-build precheck used the newer live main tip 41b9e25ddc2b29c1b2fffb4df7aaf495a8867fe0 and its merge preview was clean. The commits between the author-reported test base 0aa98c0a07c74b1ebc8b9389185b6ff1d2978b38 and that live tip change unrelated libraries/docs, not GNM.

Environment: Linux x86_64, Debian glibc 2.36; Python 3.11.2; GCC 12.2.0; Git 2.39.5. I inspected all three changed files and the existing NeoMode implementation/test.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 18209 --output-dir /tmp/anyps5-pr-precheck-18209
gh api repos/boykopovar/AnyPS5/commits/67a7d120088b1e0dde8ab41020b9a0d1f261cab8/check-runs --jq '[.check_runs[] | {name,status,conclusion}]'
git diff --name-only 0aa98c0a07c74b1ebc8b9389185b6ff1d2978b38..41b9e25ddc2b29c1b2fffb4df7aaf495a8867fe0

Results

Check Result Note
Diff, conventions and export audit passed No-build precheck passed; the computed NID is NfvOrNzy6sk.
Merge preview and test registration passed Clean against live main; the heuristic warning is disproved by the explicit CMake registration.
Hosted policy checks passed Intake, conventions, labels, report, eligibility and library portability passed.
Hosted Windows build not run Still in progress at the final status refresh.
Local build and CTest not run The author reports a focused build and three passing test runs; I did not reproduce them.
Precheck and CI output
All conventions checks passed.

git diff --check produced no output. The ABI audit reported "status": "passed" and computed NfvOrNzy6sk for the new declaration/definition. The live stack check reported a clean merge preview. At the final CI refresh, the Windows job was in_progress; the other listed build matrix jobs were skipped.

Negative control

Not run by me. The PR description reports that the preceding main build lacks NfvOrNzy6sk and the PR build exports it; I did not independently reproduce those lookups.

Findings

No blocking or non-blocking source findings in the three changed files.

Sources

Not verified

I did not run the local build or CTest, independently reproduce the author’s negative control, or test on a console/GPU. The hosted Windows job had not finished when I refreshed its status.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5849628194 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/18209#pullrequestreview-5849628194). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-10T21:21:10Z. **Review:** COMMENTED --- # Reviewed — no blocking findings The implementation matches the existing NeoMode four-dword NOP packet and the new test covers null, wrong-size, packet-content, and adjacent-word behavior; I’m leaving a comment while hosted Windows CI is still running. ## What I ran PR #18209 head `67a7d120088b1e0dde8ab41020b9a0d1f261cab8`. GitHub reports base `d66e6aac01bdf52b7a0a97b255a4110e2efe03a3`; the no-build precheck used the newer live `main` tip `41b9e25ddc2b29c1b2fffb4df7aaf495a8867fe0` and its merge preview was clean. The commits between the author-reported test base `0aa98c0a07c74b1ebc8b9389185b6ff1d2978b38` and that live tip change unrelated libraries/docs, not GNM. Environment: Linux x86_64, Debian glibc 2.36; Python 3.11.2; GCC 12.2.0; Git 2.39.5. I inspected all three changed files and the existing NeoMode implementation/test. ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 18209 --output-dir /tmp/anyps5-pr-precheck-18209 gh api repos/boykopovar/AnyPS5/commits/67a7d120088b1e0dde8ab41020b9a0d1f261cab8/check-runs --jq '[.check_runs[] | {name,status,conclusion}]' git diff --name-only 0aa98c0a07c74b1ebc8b9389185b6ff1d2978b38..41b9e25ddc2b29c1b2fffb4df7aaf495a8867fe0 ``` ## Results | Check | Result | Note | |---|---|---| | Diff, conventions and export audit | passed | No-build precheck passed; the computed NID is `NfvOrNzy6sk`. | | Merge preview and test registration | passed | Clean against live `main`; the heuristic warning is disproved by the explicit CMake registration. | | Hosted policy checks | passed | Intake, conventions, labels, report, eligibility and library portability passed. | | Hosted Windows build | not run | Still in progress at the final status refresh. | | Local build and CTest | not run | The author reports a focused build and three passing test runs; I did not reproduce them. | <details> <summary>Precheck and CI output</summary> ```text All conventions checks passed. ``` `git diff --check` produced no output. The ABI audit reported `"status": "passed"` and computed `NfvOrNzy6sk` for the new declaration/definition. The live stack check reported a clean merge preview. At the final CI refresh, the Windows job was `in_progress`; the other listed build matrix jobs were skipped. </details> ## Negative control Not run by me. The PR description reports that the preceding main build lacks `NfvOrNzy6sk` and the PR build exports it; I did not independently reproduce those lookups. ## Findings No blocking or non-blocking source findings in the three changed files. ## Sources - [Regular GNM writer](https://github.com/boykopovar/AnyPS5/blob/67a7d120088b1e0dde8ab41020b9a0d1f261cab8/core/libs/prx/libSceGnmDriver/Export.cpp#L444-L447) - [NID declaration](https://github.com/boykopovar/AnyPS5/blob/67a7d120088b1e0dde8ab41020b9a0d1f261cab8/core/libs/prx/libSceGnmDriver/include/Api.hpp#L20) - [New boundary and packet assertions](https://github.com/boykopovar/AnyPS5/blob/67a7d120088b1e0dde8ab41020b9a0d1f261cab8/core/libs/tests/GuestGnmDriver.cpp#L74-L82) - [Existing NeoMode packet implementation](https://github.com/boykopovar/AnyPS5/blob/67a7d120088b1e0dde8ab41020b9a0d1f261cab8/core/libs/prx/libSceGnmDriverForNeoMode/Export.cpp#L510-L517) ## Not verified I did not run the local build or CTest, independently reproduce the author’s negative control, or test on a console/GPU. The hosted Windows job had not finished when I refreshed its status.
MarcZX10 commented 2026-11-10 21:43:00 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-10T21:43:00Z.

Review: COMMENTED


Re-checked — Windows CI incomplete

The changed GNM test passed, but the Windows job failed on three worker-spin tests; the run does not establish whether those timeouts reproduce on the base.

What I ran

Reviewed head 67a7d120088b1e0dde8ab41020b9a0d1f261cab8 against current base c3aa80ce32bd0e9161dec09cc1acde6c437ea4b3; the exact-head merge preview is clean. Environment: Linux x86_64, Python 3.11.2, GCC 12.2.0, CMake 3.25.1. I reran the no-build precheck and read the hosted Windows job log. I did not build or run CTest locally.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 18209 --output-dir /tmp/anyps5-pr-precheck-18209-rerun
gh run view 42902721045 --repo boykopovar/AnyPS5 --job 130132734016 --log

Results

Check Result Note
Diff, conventions and ABI audit passed No-build checks passed.
Merge preview passed Clean against the current base.
Changed Windows test passed guest_gnm_driver passed in 0.12 seconds.
Windows hosted test job failed Three guest_job_manager_worker_spin tests timed out.
Local build and CTest not run I did not reproduce the hosted run.
Precheck table and hosted output
| Check | Status | Why / command |
|---|---|---|
| build_and_compile | not_run | Builds are intentionally excluded from this fast, no-build check pass. |
| diff_check | passed | Command ran; see raw output below. Command: `git diff --check c3aa80ce32bd0e9161dec09cc1acde6c437ea4b3...67a7d120088b1e0dde8ab41020b9a0d1f261cab8` |
| conventions_and_pr_template | passed | Command ran; see raw output below. Command: `/usr/bin/python3 tools/check_conventions.py --base c3aa80ce32bd0e9161dec09cc1acde6c437ea4b3 --head 67a7d120088b1e0dde8ab41020b9a0d1f261cab8 --title feat(libSceGnmDriver): expose regular DingDong marker --body /tmp/anyps5-pr-precheck-18209-rerun/pr-body.md` |
| changed_export_abi_audit | passed | Command ran; see raw output below. Command: `/usr/bin/python3 /marc/AnyPS5/tools/pr_abi_audit.py --base c3aa80ce32bd0e9161dec09cc1acde6c437ea4b3 --head 67a7d120088b1e0dde8ab41020b9a0d1f261cab8 --json` |
| python_syntax | not_applicable | No changed Python implementation files. |
| related_python_unit_tests | not_applicable | No changed Python tool module has a related tools/tests/test_<module>.py suite. |
| python_test_registration | not_applicable | No changed Python test files need registration. |
| live_dependency_and_mergeability_check | passed | Command ran; see raw output below. Command: `/usr/bin/python3 /marc/AnyPS5/tools/pr_stack_check.py 18209 --repo boykopovar/AnyPS5 --output-dir /tmp/anyps5-pr-precheck-18209-rerun/stack` |
| build_dependent_cpp_tests | not_run | Changed C/C++ source or test files need exact-head binaries; this fast pass does not build. |
| test_quality_heuristics | passed | Command ran; see raw output below. Command: `/usr/bin/python3 /marc/AnyPS5/tools/pr_test_quality.py --root /tmp/anyps5-pr-precheck-18209-rerun/head-67a7d120088b-8adef89c --json core/libs/prx/libSceGnmDriver/Export.cpp core/libs/prx/libSceGnmDriver/include/Api.hpp core/libs/tests/GuestGnmDriver.cpp` |
| negative_controls | not_applicable | No changed tools/ Python test module is eligible for a base-source negative control. |

Raw Windows job output:

windows	Build and run changed guest core/libs tests	2026-11-10T21:27:13.1177762Z 2365/3890 Test #3125: guest_gnm_driver ......................................................   Passed    0.12 sec
windows	Build and run changed guest core/libs tests	2026-11-10T21:27:40.0827250Z 2952/3890 Test #3232: guest_job_manager_worker_spin .........................................***Timeout  20.00 sec
windows	Build and run changed guest core/libs tests	2026-11-10T21:27:41.6079041Z 2976/3890 Test #3240: guest_job_manager_worker_spin_scale_0.1 ...............................***Timeout  20.00 sec
windows	Build and run changed guest core/libs tests	2026-11-10T21:27:42.0143701Z 2977/3890 Test #3241: guest_job_manager_worker_spin_scale_10 ................................***Timeout  20.01 sec

Negative control

No negative control was run by me. I did not reproduce the author's reported export comparison.

Findings

Blocking

None substantiated in the changed GNM implementation or test.

Non-blocking

The hosted Windows job remains failed on the three worker-spin timeouts. They are outside this PR's changed files, but I did not run them against the base and cannot determine whether they are pre-existing. The passing guest_gnm_driver result does not make the overall hosted job pass.

Sources

Not verified

No local build or CTest, base comparison for the worker-spin timeouts, or console/GPU run was performed. The hosted job did not complete successfully.

To get this to a good state

Compare or rerun the three timed-out tests on the base to establish whether they are pre-existing, and obtain a successful required Windows run. I will refresh the head and rerun the no-build precheck if the PR changes.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5849908145 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/18209#pullrequestreview-5849908145). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-10T21:43:00Z. **Review:** COMMENTED --- # Re-checked — Windows CI incomplete The changed GNM test passed, but the Windows job failed on three worker-spin tests; the run does not establish whether those timeouts reproduce on the base. ## What I ran Reviewed head `67a7d120088b1e0dde8ab41020b9a0d1f261cab8` against current base `c3aa80ce32bd0e9161dec09cc1acde6c437ea4b3`; the exact-head merge preview is clean. Environment: Linux x86_64, Python 3.11.2, GCC 12.2.0, CMake 3.25.1. I reran the no-build precheck and read the hosted Windows job log. I did not build or run CTest locally. ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 18209 --output-dir /tmp/anyps5-pr-precheck-18209-rerun gh run view 42902721045 --repo boykopovar/AnyPS5 --job 130132734016 --log ``` ## Results | Check | Result | Note | |---|---|---| | Diff, conventions and ABI audit | passed | No-build checks passed. | | Merge preview | passed | Clean against the current base. | | Changed Windows test | passed | `guest_gnm_driver` passed in 0.12 seconds. | | Windows hosted test job | failed | Three `guest_job_manager_worker_spin` tests timed out. | | Local build and CTest | not run | I did not reproduce the hosted run. | <details> <summary>Precheck table and hosted output</summary> ```text | Check | Status | Why / command | |---|---|---| | build_and_compile | not_run | Builds are intentionally excluded from this fast, no-build check pass. | | diff_check | passed | Command ran; see raw output below. Command: `git diff --check c3aa80ce32bd0e9161dec09cc1acde6c437ea4b3...67a7d120088b1e0dde8ab41020b9a0d1f261cab8` | | conventions_and_pr_template | passed | Command ran; see raw output below. Command: `/usr/bin/python3 tools/check_conventions.py --base c3aa80ce32bd0e9161dec09cc1acde6c437ea4b3 --head 67a7d120088b1e0dde8ab41020b9a0d1f261cab8 --title feat(libSceGnmDriver): expose regular DingDong marker --body /tmp/anyps5-pr-precheck-18209-rerun/pr-body.md` | | changed_export_abi_audit | passed | Command ran; see raw output below. Command: `/usr/bin/python3 /marc/AnyPS5/tools/pr_abi_audit.py --base c3aa80ce32bd0e9161dec09cc1acde6c437ea4b3 --head 67a7d120088b1e0dde8ab41020b9a0d1f261cab8 --json` | | python_syntax | not_applicable | No changed Python implementation files. | | related_python_unit_tests | not_applicable | No changed Python tool module has a related tools/tests/test_<module>.py suite. | | python_test_registration | not_applicable | No changed Python test files need registration. | | live_dependency_and_mergeability_check | passed | Command ran; see raw output below. Command: `/usr/bin/python3 /marc/AnyPS5/tools/pr_stack_check.py 18209 --repo boykopovar/AnyPS5 --output-dir /tmp/anyps5-pr-precheck-18209-rerun/stack` | | build_dependent_cpp_tests | not_run | Changed C/C++ source or test files need exact-head binaries; this fast pass does not build. | | test_quality_heuristics | passed | Command ran; see raw output below. Command: `/usr/bin/python3 /marc/AnyPS5/tools/pr_test_quality.py --root /tmp/anyps5-pr-precheck-18209-rerun/head-67a7d120088b-8adef89c --json core/libs/prx/libSceGnmDriver/Export.cpp core/libs/prx/libSceGnmDriver/include/Api.hpp core/libs/tests/GuestGnmDriver.cpp` | | negative_controls | not_applicable | No changed tools/ Python test module is eligible for a base-source negative control. | ``` Raw Windows job output: ```text windows Build and run changed guest core/libs tests 2026-11-10T21:27:13.1177762Z 2365/3890 Test #3125: guest_gnm_driver ...................................................... Passed 0.12 sec windows Build and run changed guest core/libs tests 2026-11-10T21:27:40.0827250Z 2952/3890 Test #3232: guest_job_manager_worker_spin .........................................***Timeout 20.00 sec windows Build and run changed guest core/libs tests 2026-11-10T21:27:41.6079041Z 2976/3890 Test #3240: guest_job_manager_worker_spin_scale_0.1 ...............................***Timeout 20.00 sec windows Build and run changed guest core/libs tests 2026-11-10T21:27:42.0143701Z 2977/3890 Test #3241: guest_job_manager_worker_spin_scale_10 ................................***Timeout 20.01 sec ``` </details> ## Negative control No negative control was run by me. I did not reproduce the author's reported export comparison. ## Findings ### Blocking None substantiated in the changed GNM implementation or test. ### Non-blocking The hosted Windows job remains failed on the three worker-spin timeouts. They are outside this PR's changed files, but I did not run them against the base and cannot determine whether they are pre-existing. The passing `guest_gnm_driver` result does not make the overall hosted job pass. ## Sources - [Changed GNM test in the exact head](https://github.com/boykopovar/AnyPS5/blob/67a7d120088b1e0dde8ab41020b9a0d1f261cab8/core/libs/tests/GuestGnmDriver.cpp#L74-L82) - [Windows CI run](https://github.com/boykopovar/AnyPS5/actions/runs/42902721045/job/130132734016) - [Current base](https://github.com/boykopovar/AnyPS5/commit/c3aa80ce32bd0e9161dec09cc1acde6c437ea4b3) ## Not verified No local build or CTest, base comparison for the worker-spin timeouts, or console/GPU run was performed. The hosted job did not complete successfully. ## To get this to a good state Compare or rerun the three timed-out tests on the base to establish whether they are pre-existing, and obtain a successful required Windows run. I will refresh the head and rerun the no-build precheck if the PR changes.
MarcZX10 commented 2026-11-12 21:16:52 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-12T21:16:52Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this; the points below are optional.

Head 684b08b5fde958f7a57d8fe008a4304020fd2918. The change adds the regular libSceGnmDriver DingDong marker writer under the disambiguated export name, with a unit test beside the existing marker tests.

What I ran

  • Read the title, body, commit list, manifest and diff of PR #18209 at the head above.
  • Read the changed hunks and their surrounding code at the same head with the repository reader (repo_read.py), and compared the new writer with the Neo writer sceGnmInsertDingDongMarker and the regular Nop helper.
  • I did not build or run any tests. Build and test results below come from the author's description.

Results

Check Result Note
Changed hunks read passed 3 of 3 files
Writer output vs. Neo writer passed Same four-dword NOP
Size and null checks passed Return -1 without writing
Author's build and tests not run Author-reported only
Guest NID lookup not run Not checkable in the repository
Commands and output
python3 repo_read.py search DingDong
python3 repo_read.py search _nid_disambig
python3 repo_read.py cat core/libs/prx/libSceGnmDriver/Export.cpp 420 456
python3 repo_read.py cat core/libs/prx/libSceGnmDriverForNeoMode/Export.cpp 505 520
python3 repo_read.py cat core/libs/prx/libSceGnmDriver/Export.cpp 80 96
python3 repo_read.py cat core/libs/tests/GuestGnmDriver.cpp 1 70

Findings

Blocking: none.

Non-blocking: none.

The new writer (core/libs/prx/libSceGnmDriver/Export.cpp:444-448) rejects a null buffer and any size other than 4, and otherwise calls Nop(cmd, 3). That helper writes the header Header(OpNop, 3) and zero-fills three body words, which is the same packet the Neo writer produces. The test (core/libs/tests/GuestGnmDriver.cpp:73-81) covers null, sizes 3 and 5 without buffer changes, and the exact packet for size 4. The declaration in core/libs/prx/libSceGnmDriver/include/Api.hpp:20 matches the definition.

Sources:

Not verified

  • The build, the guest_gnm_driver and public_headers runs, and the hosted Windows job are author-reported. I did not run them.
  • The NID NfvOrNzy6sk for this name does not appear in the repository, so I did not confirm that the disambiguated name maps to it. The description says a dynamic NID check passed on the earlier head 67a7d120 but was not repeated on the rebased head 684b08b5.
  • Ownership of the NID against open PRs #17396, #17711, #17942 and draft #6977 was checked manually by the author. I did not check it.
  • I did not read the full files. I read the changed hunks and their surrounding code.
  • Excluded by rule: none.

To get this to a good state

Nothing is required.

Optional: rerun the NID lookup from the description on head 684b08b5fde958f7a57d8fe008a4304020fd2918, since that check was not repeated after the rebase.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5882147456 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/18209#pullrequestreview-5882147456). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-12T21:16:52Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this; the points below are optional. Head `684b08b5fde958f7a57d8fe008a4304020fd2918`. The change adds the regular `libSceGnmDriver` DingDong marker writer under the disambiguated export name, with a unit test beside the existing marker tests. ## What I ran - Read the title, body, commit list, manifest and diff of PR #18209 at the head above. - Read the changed hunks and their surrounding code at the same head with the repository reader (`repo_read.py`), and compared the new writer with the Neo writer `sceGnmInsertDingDongMarker` and the regular `Nop` helper. - I did not build or run any tests. Build and test results below come from the author's description. ## Results | Check | Result | Note | | --- | --- | --- | | Changed hunks read | passed | 3 of 3 files | | Writer output vs. Neo writer | passed | Same four-dword NOP | | Size and null checks | passed | Return -1 without writing | | Author's build and tests | not run | Author-reported only | | Guest NID lookup | not run | Not checkable in the repository | <details> <summary>Commands and output</summary> ``` python3 repo_read.py search DingDong python3 repo_read.py search _nid_disambig python3 repo_read.py cat core/libs/prx/libSceGnmDriver/Export.cpp 420 456 python3 repo_read.py cat core/libs/prx/libSceGnmDriverForNeoMode/Export.cpp 505 520 python3 repo_read.py cat core/libs/prx/libSceGnmDriver/Export.cpp 80 96 python3 repo_read.py cat core/libs/tests/GuestGnmDriver.cpp 1 70 ``` </details> ## Findings **Blocking:** none. **Non-blocking:** none. The new writer (`core/libs/prx/libSceGnmDriver/Export.cpp:444-448`) rejects a null buffer and any size other than 4, and otherwise calls `Nop(cmd, 3)`. That helper writes the header `Header(OpNop, 3)` and zero-fills three body words, which is the same packet the Neo writer produces. The test (`core/libs/tests/GuestGnmDriver.cpp:73-81`) covers null, sizes 3 and 5 without buffer changes, and the exact packet for size 4. The declaration in `core/libs/prx/libSceGnmDriver/include/Api.hpp:20` matches the definition. Sources: - [Export.cpp, new writer](https://github.com/boykopovar/AnyPS5/blob/684b08b5fde958f7a57d8fe008a4304020fd2918/core/libs/prx/libSceGnmDriver/Export.cpp#L444-L448) - [Neo writer](https://github.com/boykopovar/AnyPS5/blob/684b08b5fde958f7a57d8fe008a4304020fd2918/core/libs/prx/libSceGnmDriverForNeoMode/Export.cpp#L510-L517) - [Test](https://github.com/boykopovar/AnyPS5/blob/684b08b5fde958f7a57d8fe008a4304020fd2918/core/libs/tests/GuestGnmDriver.cpp#L73-L81) ## Not verified - The build, the `guest_gnm_driver` and `public_headers` runs, and the hosted Windows job are author-reported. I did not run them. - The NID `NfvOrNzy6sk` for this name does not appear in the repository, so I did not confirm that the disambiguated name maps to it. The description says a dynamic NID check passed on the earlier head `67a7d120` but was not repeated on the rebased head `684b08b5`. - Ownership of the NID against open PRs #17396, #17711, #17942 and draft #6977 was checked manually by the author. I did not check it. - I did not read the full files. I read the changed hunks and their surrounding code. - Excluded by rule: none. ## To get this to a good state Nothing is required. Optional: rerun the NID lookup from the description on head `684b08b5fde958f7a57d8fe008a4304020fd2918`, since that check was not repeated after the rebase.
Sign in to join this conversation.
No reviewers
No labels
No milestone
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.

Reference
boykopovar/AnyPS5!18209
No description provided.