Repository navigation
fix(tools): drop the acquire-memory cases that now match the console - #21513
Merged
oneandonlydean merged 1 commit intoNov 16, 2026
Merged
oneandonlydean merged 1 commit into
oneandonlydean merged 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Drops the six
agcbuild_{Acb,Dcb}AcquireMem_{a,b,c}lines fromtools/library-oracle/known.tsv. Each of them recordedthe ACQUIRE_MEM encoding; #18479, i.e. a difference that #18479 (8d21d67e96,fix(libSceAgc): encode ACQUIRE_MEM ranges and fields as the console does, merged 06:05:40Z today as1613a3fb84) removed: the ACB and DCB encoders now produce the console's packet, so the replay compares equal and the entries are stale. Six deleted lines, no code.Tested
Linux, Ubuntu 24.04 (kernel 6.8.0-51), GCC 13.3,
work-queue/build-oraclebuilt frommaindcf3d15978right before the run (library_oracle_replay libc libkernel libkernel_sys libSceRtc libSceHttp libSceNet libSceUserService libSceAgc, 389 targets), thenpython3 tools/library-oracle/library_oracle.py --build build-oracle:main'sknown.tsv:138 known findings, 6 new, 6 now matching, and the tool names them:NOW MATCHES agcbuild_AcbAcquireMem_a/_b/_candNOW MATCHES agcbuild_DcbAcquireMem_a/_b/_c.138 known findings, 6 new, 0 now matching.newcases areagcbuild_{Acb,Dcb}CopyData_{a,b,c}, which return a packet whereknown.tsvrecordsthrow(more than six arguments; the console's stack arguments are not known). That is the replay's call signature and is what open PR fix(tools): pass every replay argument explicitly #21326 addresses; it is untouched here on purpose.python3 tools/library-oracle/test_library_oracle.py: 22 tests,OK(0.011 s).python3 tools/check_conventions.py --base origin/main:All conventions checks passed.python3 tools/pr_overlap.py --branch contrib/oracle-acquire-mem-now-matching --jobs 8, verbatim:probed 1684/1684 pull requests, 18 share files or exports,merged 18/18 pull requests into the base,cannot confirm overlap with PR 19191: tools/library-oracle/known.tsv,overlap check failed closed; manually compare every reported PR branch before opening this one. The one named row is PR fix(libSceAgc): encode direct register writes as the console does #19357,tools/library-oracle/known.tsvL59-63.git merge-tree --write-tree HEAD pr-19357answersrc=1 CONFLICT (content): Merge conflict in tools/library-oracle/known.tsv. The cause is adjacency, not the same case: fix(libSceAgc): encode direct register writes as the console does #19357 deletesagcbuild_CbSetShRegisterRangeDirect_candagcbuild_CbSetUcRegisterRangeDirect_c(L59-60) immediately above the threeagcbuild_DcbAcquireMem_*lines this PR deletes (L61-63); fix(libSceAgc): encode direct register writes as the console does #19357 keeps the whole ACQUIRE_MEM block as context and never touches it (grep AcquireMemover its diff hits onlyDcbAcquireMem_aas context next to its deletion). Whoever merges second re-applies three deleted lines by hand.Depends on: none.git merge-tree --write-tree HEAD pr-19191answersrc=1only oncore/libs/prx/libSceAgc/Command/include/Memory.hpp(that PR's own pre-existing conflict withmain);known.tsvmerges clean against it, and its hunks are the sixagcbuild_{Acb,Dcb}PrimeUtcl2_*lines — a different case.known.tsv(theCopyData/DmaDatalines at L10-18 and L76-84):git merge-tree --write-tree HEAD pr-21326isrc=0, clean.Not tested: Windows and macOS (one data file for a Python tool, no platform code).
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)