test(agc): wait for neighbour image result #6396
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/6396"
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 MarcZX10 on 2026-10-15T13:57:39Z.
What
The
NeighbourCopiedfixture previously returnedMissedas soon asFindLivefound an image whileAnyPending()was false. That can observe the image before this store's pending result is registered. It now waits for the live image returned for this address to be the pending image, or for the stored value to reach guest memory before reportingMissed.Addresses the intermittent fixture failure in #6383. This is separate from #6359's
RunSecondStorewait: the changes are in different branches of the same test file and do not depend on each other.Tested
Linux x86-64, GCC 12.2:
agc_driver_store_over_untracked_testscompiled and linked. The build needed a temporary, local dependent-template qualifier in unrelatedSrtDescriptorEvaluation.cppfor GCC 12; that workaround was removed before commit. The unrelated source issue is already covered by #6306.ctest --test-dir build -R '^agc_driver_store_over_untracked$' --output-on-failurecould not reach the test logic: the host CPU (Intel Xeon E5-1620 v2) lacks LZCNT, BMI1, BMI2, MOVBE, AVX2 and FMA, which the runtime requires.python3 tools/check_conventions.py --base upstream/mainandgit diff --checkpass.Checklist
main; no other open PR implements the same behavior.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T14:02:43Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)core/libs/prx/libSceAgcDriver/tests/execution/StoreOverUntracked.cppL361-365, L367Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
core/libs/prx/libSceAgcDriver/tests/execution/StoreOverUntracked.cppcore/libs/prx/libSceAgcDriver/tests/execution/StoreOverUntracked.cppImported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-15T14:25:35Z.
The new 100-run RTX 4080 comparison in #6383 shows this predicate is insufficient: #6396 still misses 4/100, while #6385 passes 100/100. The fixture condition should wait for a live image with pending work or for the stored bytes to reach guest memory; #6385 implements that and has direct hardware validation. I am closing #6396 in favor of #6385 to avoid keeping a weaker duplicate open. Thanks to @Neithennn and @kid9 for the reproducible comparison and diagnosis.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-15T14:25:36Z.
Closing in favor of #6385, whose predicate passes the reported RTX 4080 scenario in 100/100 runs.
Pull request closed