feat(libkernel): implement scePthreadAttrGetschedpolicy and scePthreadAttrGetinheritsched #7611

Merged
Lindamea1 merged 1 commit from upstream-pr/7611 into main 2026-10-19 23:23:13 +00:00
Lindamea1 commented 2026-10-18 16:57:28 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Lindamea1 on 2026-10-18T16:57:28Z.


What

No library exported scePthreadAttrGetschedpolicy (NID NMyIQ9WgWbU) or scePthreadAttrGetinheritsched (lpMP8HhkBbg). libkernel exports their setters, scePthreadAttrSetschedpolicy (4+h9EzwKF4I) and scePthreadAttrSetinheritsched (eXbUSpEaTsA), and the POSIX getters. The relinker emits a title's NID imports as global symbols unless the title marks them weak, and Linux output binds them at load unless --lazy-binding is given. So a title that imports either getter stops before it starts: on Linux the loader fails with symbol lookup error: ... undefined symbol: NMyIQ9WgWbU, and on Windows the entry stub prints FAIL: unresolved ELF import for it and stops with 0xc0000139 (WindowsEntryStubBuilder.cpp).

Dragon Ball Xenoverse 2 (PPSA08587) imports both. In #6591 (Windows, AnyPS5 31cbb55d7), LuisAguilarDev lists them under "Local changes, not yet submitted": "libkernel: scePthreadAttrGetschedpolicy and scePthreadAttrGetinheritsched. These are imported but missing. The title has not called them yet." This PR adds them. On main the title stops earlier, at the module #6592 adds ("Without it the title fails to load: Failed to load module: libSceNpTus.prx GetLastError: 126"). Of the other imports the thread lists as missing, sceNpSessionSignalingGetGroupInfo is on main since #7125, and sceNetCtlGetInfoV6, still missing on main, is declared by #7612. With #6592, this PR and #7612, every library and import the thread lists as missing is provided. With #6592 and those local changes, the thread reports that the title reaches its logos and then stops in AGC (stencil clear requires a writable stencil plane).

FreeBSD 11.4 libthr: _pthread_attr_getinheritsched returns EINVAL when attr or *attr is null and otherwise stores the attribute's sched_inherit; it does not check the output pointer. _pthread_attr_getschedpolicy returns EINVAL when attr, *attr or policy is null and otherwise stores sched_policy. libkernel's sce calls return 0x80020000 | errno, so EINVAL is 0x80020016. #4153 measured the neighbouring getters on a PS5 (firmware 13.60): a null or uninitialized attribute returns EINVAL, and so does a null output of scePthreadAttrGetstacksize, scePthreadAttrGetdetachstate and scePthreadAttrGetschedparam, whose libthr twins check it (L332, L182, L240). The two calls #4153 found to crash the console, a null attribute pointer to scePthreadAttrInit and a null output of scePthreadAttrGetaffinity, are ones where libthr writes through that pointer unchecked (L361, L649-L652), so every null case measured there follows libthr. The two getters added here were not measured on a console.

This PR adds both getters to Pthread/src/Attr.cpp, next to the other getters, and they follow libthr. They return 0x80020016 for a null or uninitialized attribute, and scePthreadAttrGetschedpolicy also returns it for a null output. Otherwise they store the attribute's policy or inheritance and return 0. A new attribute reports policy 1 (SCHED_FIFO) and inheritance 4 (PTHREAD_INHERIT_SCHED), the values scePthreadAttrInit stores. The values the setters accept (policies 1 and 3, inheritances 0 and 4) read back as set.

Where this still differs from FreeBSD:

  • A null output of scePthreadAttrGetinheritsched throws instead of faulting, since libthr writes through it unchecked. pthread_attr_getinheritsched (technical debt) and scePthreadAttrGetsolosched throw the same way, and so do the two calls that crashed the console (technical debt). This PR adds to that entry that the two getters were not measured and follow libthr, and that this case throws.
  • scePthreadAttrGet still fills in policy 1 and inheritance 4 for every thread (Attr.cpp L84-L85). FreeBSD's pthread_attr_get_np instead copies the thread's own attribute, which pthread_create took from the creation attribute. So after scePthreadAttrGet, these getters report 1 and 4 for a thread created with explicit inheritance and SCHED_RR, which scePthreadGetschedparam reports as 3. That belongs to a different function, and #6893 changes the same function, so it is left for a separate PR.

Tested

Gentoo Linux, kernel 7.2.8, GCC 16.2.1, glibc 2.43, Release, BUILD_TESTING=ON, on main 889cee5f9.

  • guest_pthread_attr_errors, extended:
    • A new attribute reports policy 1 and inheritance 4.
    • After each rejected scePthreadAttrSetschedpolicy (-1, 0, 2, 4) and scePthreadAttrSetinheritsched (-1, 1, 2, 8), the getters still report 1 and 4. After each accepted set (policies 3 then 1, inheritances 0 then 4), they report the value just set.
    • scePthreadAttrGetschedpolicy with a null output returns 0x80020016, and scePthreadAttrGetinheritsched with a null output throws std::runtime_error. Both return 0x80020016 for a null and for an uninitialized attribute.
    • With only Attr.cpp reverted to main, the test does not link (undefined reference to 'scePthreadAttrGetschedpolicy' and 'scePthreadAttrGetinheritsched'). With the change it passes.
  • nm -D on the NID-patched libraries: with the change, libkernel.prx exports NMyIQ9WgWbU and lpMP8HhkBbg, at the addresses of scePthreadAttrGetschedpolicy and scePthreadAttrGetinheritsched in the unpatched build. None of the other 126 NID-patched .prx files in build/core/libs/libs exports either NID. On main, libkernel.prx exports neither.
  • A load probe shaped like the relinker's Linux output (a global FUNC import of the NID, DT_NEEDED libkernel.prx, BIND_NOW), run against the built libkernel.prx. On main, importing NMyIQ9WgWbU stops in the loader with symbol lookup error: ./load_NMyIQ9WgWbU: undefined symbol: NMyIQ9WgWbU (exit 127), and importing lpMP8HhkBbg fails the same way; importing the setter's eXbUSpEaTsA reaches main. With the change, all three reach main.
  • A probe with the change:
    • The sce and POSIX getters report the same values, after the sce setters and after the POSIX setters. A policy of 2 set with pthread_attr_setschedpolicy reads back as 2.
    • On a thread created with explicit inheritance and policy 3, scePthreadGetschedparam reports 3, while scePthreadAttrGet followed by the new getters reports 1 and 4 (the difference described above).
  • Tests the change reaches, selected by tools/select_tests.py as CI selects them: 1202 tests, 0 failed, 13 skipped. Full ctest -j6 --timeout 300: 1452 tests, 0 failed, 13 skipped (12 VideoOut tests and agc_driver_stencil_ref_export, which skip on main on this machine too).
  • Windows: Attr.cpp and GuestPthreadAttrErrors.cpp compile with x86_64-w64-mingw32-g++ 16.2 (-fsyntax-only -Wall -Wextra). This is a syntax check, not a Windows build or run.
  • tools/check_conventions.py passes against main. tools/pr_overlap.py --branch reports no overlapping lines with other pull requests. It could not compare 20 pull requests that conflict with main and share a file with this branch: #6044 (GuestPthreadAttrErrors.cpp) and 19 that change docs/dev/debt/libkernel.md. Merged with this branch, each has exactly the conflicts it has with main. Of the files in those conflicts, this branch changes only docs/dev/debt/libkernel.md, and its line there merges cleanly. #6044 moves GuestPthreadAttrErrors.cpp to core/libs/tests/threads/, and this branch's test changes are carried into the moved file. #6893 adds a line to scePthreadAttrGet in Attr.cpp and merges with this branch without a conflict.

Not run on Windows, macOS or a console.

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: PPSA08587 #6591 (with #6592 and #7612)
  • GPUs tested: n/a
  • AI-assisted: yes

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4910995535 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7611). Originally posted by [Lindamea1](https://github.com/Lindamea1) on 2026-10-18T16:57:28Z. --- ### What No library exported `scePthreadAttrGetschedpolicy` (NID `NMyIQ9WgWbU`) or `scePthreadAttrGetinheritsched` (`lpMP8HhkBbg`). libkernel exports their setters, `scePthreadAttrSetschedpolicy` (`4+h9EzwKF4I`) and `scePthreadAttrSetinheritsched` (`eXbUSpEaTsA`), and the POSIX getters. The relinker emits a title's NID imports as global symbols unless the title marks them weak, and Linux output binds them at load unless `--lazy-binding` is given. So a title that imports either getter stops before it starts: on Linux the loader fails with `symbol lookup error: ... undefined symbol: NMyIQ9WgWbU`, and on Windows the entry stub prints `FAIL: unresolved ELF import` for it and stops with `0xc0000139` (`WindowsEntryStubBuilder.cpp`). Dragon Ball Xenoverse 2 (PPSA08587) imports both. In #6591 (Windows, AnyPS5 31cbb55d7), LuisAguilarDev lists them under "Local changes, not yet submitted": "libkernel: `scePthreadAttrGetschedpolicy` and `scePthreadAttrGetinheritsched`. These are imported but missing. The title has not called them yet." This PR adds them. On `main` the title stops earlier, at the module #6592 adds ("Without it the title fails to load: `Failed to load module: libSceNpTus.prx GetLastError: 126`"). Of the other imports the thread lists as missing, `sceNpSessionSignalingGetGroupInfo` is on `main` since #7125, and `sceNetCtlGetInfoV6`, still missing on `main`, is declared by #7612. With #6592, this PR and #7612, every library and import the thread lists as missing is provided. With #6592 and those local changes, the thread reports that the title reaches its logos and then stops in AGC (`stencil clear requires a writable stencil plane`). FreeBSD 11.4 libthr: [`_pthread_attr_getinheritsched`](https://github.com/freebsd/freebsd-src/blob/releng/11.4/lib/libthr/thread/thr_attr.c#L216-L230) returns `EINVAL` when `attr` or `*attr` is null and otherwise stores the attribute's `sched_inherit`; it does not check the output pointer. [`_pthread_attr_getschedpolicy`](https://github.com/freebsd/freebsd-src/blob/releng/11.4/lib/libthr/thread/thr_attr.c#L248-L262) returns `EINVAL` when `attr`, `*attr` or `policy` is null and otherwise stores `sched_policy`. libkernel's sce calls return `0x80020000 | errno`, so `EINVAL` is `0x80020016`. #4153 measured the neighbouring getters on a PS5 (firmware 13.60): a null or uninitialized attribute returns `EINVAL`, and so does a null output of `scePthreadAttrGetstacksize`, `scePthreadAttrGetdetachstate` and `scePthreadAttrGetschedparam`, whose libthr twins check it ([L332](https://github.com/freebsd/freebsd-src/blob/releng/11.4/lib/libthr/thread/thr_attr.c#L332), [L182](https://github.com/freebsd/freebsd-src/blob/releng/11.4/lib/libthr/thread/thr_attr.c#L182), [L240](https://github.com/freebsd/freebsd-src/blob/releng/11.4/lib/libthr/thread/thr_attr.c#L240)). The two calls #4153 found to crash the console, a null attribute pointer to `scePthreadAttrInit` and a null output of `scePthreadAttrGetaffinity`, are ones where libthr writes through that pointer unchecked ([L361](https://github.com/freebsd/freebsd-src/blob/releng/11.4/lib/libthr/thread/thr_attr.c#L361), [L649-L652](https://github.com/freebsd/freebsd-src/blob/releng/11.4/lib/libthr/thread/thr_attr.c#L649-L652)), so every null case measured there follows libthr. The two getters added here were not measured on a console. This PR adds both getters to `Pthread/src/Attr.cpp`, next to the other getters, and they follow libthr. They return `0x80020016` for a null or uninitialized attribute, and `scePthreadAttrGetschedpolicy` also returns it for a null output. Otherwise they store the attribute's policy or inheritance and return 0. A new attribute reports policy 1 (`SCHED_FIFO`) and inheritance 4 (`PTHREAD_INHERIT_SCHED`), the values `scePthreadAttrInit` stores. The values the setters accept (policies 1 and 3, inheritances 0 and 4) read back as set. Where this still differs from FreeBSD: - A null output of `scePthreadAttrGetinheritsched` throws instead of faulting, since libthr writes through it unchecked. [`pthread_attr_getinheritsched`](https://github.com/boykopovar/AnyPS5/blob/81cb8633944e092c0964ee0ad095fe393af85919/core/libs/prx/libkernel/Pthread/Posix/Attr.cpp#L59-L64) ([technical debt](https://github.com/boykopovar/AnyPS5/blob/81cb8633944e092c0964ee0ad095fe393af85919/docs/dev/debt/libkernel.md?plain=1#L126)) and [`scePthreadAttrGetsolosched`](https://github.com/boykopovar/AnyPS5/blob/81cb8633944e092c0964ee0ad095fe393af85919/core/libs/prx/libkernel/Pthread/src/Attr.cpp#L117-L122) throw the same way, and so do the two calls that crashed the console ([technical debt](https://github.com/boykopovar/AnyPS5/blob/81cb8633944e092c0964ee0ad095fe393af85919/docs/dev/debt/libkernel.md?plain=1#L57)). This PR adds to that entry that the two getters were not measured and follow libthr, and that this case throws. - `scePthreadAttrGet` still fills in policy 1 and inheritance 4 for every thread ([`Attr.cpp` L84-L85](https://github.com/boykopovar/AnyPS5/blob/81cb8633944e092c0964ee0ad095fe393af85919/core/libs/prx/libkernel/Pthread/src/Attr.cpp#L84-L85)). FreeBSD's [`pthread_attr_get_np`](https://github.com/freebsd/freebsd-src/blob/releng/11.4/lib/libthr/thread/thr_attr.c#L157-L169) instead copies the thread's own attribute, which [`pthread_create`](https://github.com/freebsd/freebsd-src/blob/releng/11.4/lib/libthr/thread/thr_create.c#L88-L103) took from the creation attribute. So after `scePthreadAttrGet`, these getters report 1 and 4 for a thread created with explicit inheritance and `SCHED_RR`, which `scePthreadGetschedparam` reports as 3. That belongs to a different function, and #6893 changes the same function, so it is left for a separate PR. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> Gentoo Linux, kernel 7.2.8, GCC 16.2.1, glibc 2.43, Release, `BUILD_TESTING=ON`, on `main` 889cee5f9. - `guest_pthread_attr_errors`, extended: - A new attribute reports policy 1 and inheritance 4. - After each rejected `scePthreadAttrSetschedpolicy` (-1, 0, 2, 4) and `scePthreadAttrSetinheritsched` (-1, 1, 2, 8), the getters still report 1 and 4. After each accepted set (policies 3 then 1, inheritances 0 then 4), they report the value just set. - `scePthreadAttrGetschedpolicy` with a null output returns `0x80020016`, and `scePthreadAttrGetinheritsched` with a null output throws `std::runtime_error`. Both return `0x80020016` for a null and for an uninitialized attribute. - With only `Attr.cpp` reverted to `main`, the test does not link (`undefined reference to 'scePthreadAttrGetschedpolicy'` and `'scePthreadAttrGetinheritsched'`). With the change it passes. - `nm -D` on the NID-patched libraries: with the change, `libkernel.prx` exports `NMyIQ9WgWbU` and `lpMP8HhkBbg`, at the addresses of `scePthreadAttrGetschedpolicy` and `scePthreadAttrGetinheritsched` in the unpatched build. None of the other 126 NID-patched `.prx` files in `build/core/libs/libs` exports either NID. On `main`, `libkernel.prx` exports neither. - A load probe shaped like the relinker's Linux output (a global `FUNC` import of the NID, `DT_NEEDED` `libkernel.prx`, `BIND_NOW`), run against the built `libkernel.prx`. On `main`, importing `NMyIQ9WgWbU` stops in the loader with `symbol lookup error: ./load_NMyIQ9WgWbU: undefined symbol: NMyIQ9WgWbU` (exit 127), and importing `lpMP8HhkBbg` fails the same way; importing the setter's `eXbUSpEaTsA` reaches `main`. With the change, all three reach `main`. - A probe with the change: - The sce and POSIX getters report the same values, after the sce setters and after the POSIX setters. A policy of 2 set with `pthread_attr_setschedpolicy` reads back as 2. - On a thread created with explicit inheritance and policy 3, `scePthreadGetschedparam` reports 3, while `scePthreadAttrGet` followed by the new getters reports 1 and 4 (the difference described above). - Tests the change reaches, selected by `tools/select_tests.py` as CI selects them: 1202 tests, 0 failed, 13 skipped. Full `ctest -j6 --timeout 300`: 1452 tests, 0 failed, 13 skipped (12 VideoOut tests and `agc_driver_stencil_ref_export`, which skip on `main` on this machine too). - Windows: `Attr.cpp` and `GuestPthreadAttrErrors.cpp` compile with `x86_64-w64-mingw32-g++` 16.2 (`-fsyntax-only -Wall -Wextra`). This is a syntax check, not a Windows build or run. - `tools/check_conventions.py` passes against `main`. `tools/pr_overlap.py --branch` reports no overlapping lines with other pull requests. It could not compare 20 pull requests that conflict with `main` and share a file with this branch: #6044 (`GuestPthreadAttrErrors.cpp`) and 19 that change `docs/dev/debt/libkernel.md`. Merged with this branch, each has exactly the conflicts it has with `main`. Of the files in those conflicts, this branch changes only `docs/dev/debt/libkernel.md`, and its line there merges cleanly. #6044 moves `GuestPthreadAttrErrors.cpp` to `core/libs/tests/threads/`, and this branch's test changes are carried into the moved file. #6893 adds a line to `scePthreadAttrGet` in `Attr.cpp` and merges with this branch without a conflict. Not run on Windows, macOS or a console. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [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 <!-- #PR, or none --> - [x] Fixes: none <!-- issue it closes as Fixes #N, or none --> - [x] Unblocks: PPSA08587 #6591 (with #6592 and #7612) <!-- title ID and Game bring-up discussion, e.g. PPSA01325 #3232, or none --> - [x] GPUs tested: n/a <!-- for AGC, shader recompiler or VideoOut changes: vendor, model, driver and OS of each GPU the GPU tests ran on; otherwise n/a --> - [x] AI-assisted: yes <!-- yes / no --> 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-actions[bot] commented 2026-10-18 16:58:04 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-18T16:58:04Z.


Progress report (e1338ff → 2514ead)

📈 System libraries: 90.25% (+0.01%, +2 implemented functions)

✅ 2 implemented
Library Name
libkernel scePthreadAttrGetinheritsched
libkernel scePthreadAttrGetschedpolicy
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6252599895 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7611#issuecomment-6252599895). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-18T16:58:04Z. --- <!-- progress-report --> ### Progress report (e1338ff → 2514ead) 📈 **System libraries**: 90.25% (+0.01%, +2 implemented functions) <details> <summary>✅ 2 implemented</summary> | Library | Name | | - | - | | libkernel | `scePthreadAttrGetinheritsched` | | libkernel | `scePthreadAttrGetschedpolicy` | </details>
github-actions[bot] commented 2026-10-18 17:22:59 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-18T17:22:59Z.


Some 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.

Pull request Shared files not compared
PR 5021 docs/dev/debt/libkernel.md
PR 6044 core/libs/tests/GuestPthreadAttrErrors.cpp
PR 6149 docs/dev/debt/libkernel.md
PR 6446 docs/dev/debt/libkernel.md
PR 6469 docs/dev/debt/libkernel.md
PR 6519 docs/dev/debt/libkernel.md
PR 6740 docs/dev/debt/libkernel.md
PR 6977 docs/dev/debt/libkernel.md
PR 7049 docs/dev/debt/libkernel.md
PR 7088 docs/dev/debt/libkernel.md
PR 7105 docs/dev/debt/libkernel.md
PR 7121 docs/dev/debt/libkernel.md
PR 7149 docs/dev/debt/libkernel.md
PR 7332 docs/dev/debt/libkernel.md
PR 7509 docs/dev/debt/libkernel.md
PR 7554 docs/dev/debt/libkernel.md
PR 7556 docs/dev/debt/libkernel.md
PR 7605 docs/dev/debt/libkernel.md
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6252858441 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7611#issuecomment-6252858441). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-18T17:22:59Z. --- <!-- pr-overlap --> Some 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. | Pull request | Shared files not compared | |---|---| | [PR 5021](https://www.github.com/boykopovar/AnyPS5/pull/5021) | `docs/dev/debt/libkernel.md` | | [PR 6044](https://www.github.com/boykopovar/AnyPS5/pull/6044) | `core/libs/tests/GuestPthreadAttrErrors.cpp` | | [PR 6149](https://www.github.com/boykopovar/AnyPS5/pull/6149) | `docs/dev/debt/libkernel.md` | | [PR 6446](https://www.github.com/boykopovar/AnyPS5/pull/6446) | `docs/dev/debt/libkernel.md` | | [PR 6469](https://www.github.com/boykopovar/AnyPS5/pull/6469) | `docs/dev/debt/libkernel.md` | | [PR 6519](https://www.github.com/boykopovar/AnyPS5/pull/6519) | `docs/dev/debt/libkernel.md` | | [PR 6740](https://www.github.com/boykopovar/AnyPS5/pull/6740) | `docs/dev/debt/libkernel.md` | | [PR 6977](https://www.github.com/boykopovar/AnyPS5/pull/6977) | `docs/dev/debt/libkernel.md` | | [PR 7049](https://www.github.com/boykopovar/AnyPS5/pull/7049) | `docs/dev/debt/libkernel.md` | | [PR 7088](https://www.github.com/boykopovar/AnyPS5/pull/7088) | `docs/dev/debt/libkernel.md` | | [PR 7105](https://www.github.com/boykopovar/AnyPS5/pull/7105) | `docs/dev/debt/libkernel.md` | | [PR 7121](https://www.github.com/boykopovar/AnyPS5/pull/7121) | `docs/dev/debt/libkernel.md` | | [PR 7149](https://www.github.com/boykopovar/AnyPS5/pull/7149) | `docs/dev/debt/libkernel.md` | | [PR 7332](https://www.github.com/boykopovar/AnyPS5/pull/7332) | `docs/dev/debt/libkernel.md` | | [PR 7509](https://www.github.com/boykopovar/AnyPS5/pull/7509) | `docs/dev/debt/libkernel.md` | | [PR 7554](https://www.github.com/boykopovar/AnyPS5/pull/7554) | `docs/dev/debt/libkernel.md` | | [PR 7556](https://www.github.com/boykopovar/AnyPS5/pull/7556) | `docs/dev/debt/libkernel.md` | | [PR 7605](https://www.github.com/boykopovar/AnyPS5/pull/7605) | `docs/dev/debt/libkernel.md` |
LeandroLP23 commented 2026-10-18 18:06:16 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by LeandroLP23 on 2026-10-18T18:06:16Z.


Windows run, since the description lists Windows as not run. Radeon 860M (RDNA 3.5, driver 32.0.13058.8001), Windows 11 26300, WinLibs GCC 15.2.0 r7, Release, BUILD_TESTING=ON. Build: main c3591adf9 with #7623, #7612, #7611, #7603, #7579, #7563 and #7541 merged together (each merge clean, built once).

The build is clean and guest_pthread_attr_errors passes 3 runs of 3.

AI-assisted

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6253307611 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7611#issuecomment-6253307611). Originally posted by [LeandroLP23](https://github.com/LeandroLP23) on 2026-10-18T18:06:16Z. --- Windows run, since the description lists Windows as not run. Radeon 860M (RDNA 3.5, driver 32.0.13058.8001), Windows 11 26300, WinLibs GCC 15.2.0 r7, Release, `BUILD_TESTING=ON`. Build: `main` `c3591adf9` with #7623, #7612, #7611, #7603, #7579, #7563 and #7541 merged together (each merge clean, built once). The build is clean and `guest_pthread_attr_errors` passes 3 runs of 3. AI-assisted
LuisAguilarDev commented 2026-10-19 02:09:49 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by LuisAguilarDev on 2026-10-19T02:09:49Z.


Supporting this one. Dragon Ball Xenoverse 2 (PPSA08587, #6591) needs both getters to load.

I had the same two getters on my fork since 2026-10-15 (3cb3fef): the getters return the values the existing setters store and reject a null attribute or output with EINVAL, as the other attribute getters do. With it, the title loads and reaches the Conton City hub (Windows 11, RTX 3070 Ti). I won't open a duplicate.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6258148104 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7611#issuecomment-6258148104). Originally posted by [LuisAguilarDev](https://github.com/LuisAguilarDev) on 2026-10-19T02:09:49Z. --- Supporting this one. Dragon Ball Xenoverse 2 (PPSA08587, #6591) needs both getters to load. I had the same two getters on my fork since 2026-10-15 ([3cb3fef](https://github.com/LuisAguilarDev/AnyPS5/commit/3cb3fef10a6ad4c5edc14b6bcaab96818eb65c72)): the getters return the values the existing setters store and reject a null attribute or output with `EINVAL`, as the other attribute getters do. With it, the title loads and reaches the Conton City hub (Windows 11, RTX 3070 Ti). I won't open a duplicate.
adriadam10 commented 2026-10-19 23:24:05 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-19T23:24:05Z.


Merged: checked diff against libthr 11.4 refs, setters' fields, test pins values; Windows run by @LeandroLP23 passes; merged.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6279560440 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7611#issuecomment-6279560440). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-19T23:24:05Z. --- Merged: checked diff against libthr 11.4 refs, setters' fields, test pins values; Windows run by @LeandroLP23 passes; merged.
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!7611
No description provided.