docs(libkernel): record PS5 results for two libkernel exports #11897

Merged
ionut27001 merged 1 commit from upstream-pr/11897 into main 2026-10-28 09:33:32 +00:00
ionut27001 commented 2026-10-27 12:10:04 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ionut27001 on 2026-10-27T12:10:04Z.


What

Records two results measured in a payload process on a PS5 (firmware 12.70) in the docs/dev/debt/libkernel.md entries. No code changes; the two exports behave as before, so no test is added.

  • sceKernelInternalMemoryGetAvailableSize: -1 with errno 0 for a null output, -2 with errno 0 for a valid output left at 0xa5 (probe log lines: case internal_null ret=0xffffffff errno=0, case internal_valid ret=0xfffffffe errno=0 out=a5a5...). The entry keeps the throw; a title process was not measured.
  • sceKernelGetAllowedSdkVersionOnSystem: returned 0 and wrote 0x12700fff in 4 bytes only, the next 4 bytes of an 8-byte 0xa5 buffer stayed untouched; a null output returned 0x80020016 (probe log lines: case allowed_sdk ret=0 value=0x12700fff, case allowed_sdk_wide ret=0 bytes=ff0f7012a5a5a5a5, case allowed_sdk_null ret=0x80020016 errno=0). In the same process sceKernelGetSystemSwVersion reported 13.090.001 / 0x13090001 (case sw_version ret=0 str="13.090.001" packed=0x13090001). The allowed-SDK value carries 12.70, the kernel firmware version (meta fw=0x12700001), not that reported version. The entry now leads with the gap (0x01000fff here, 0x12700fff there); the null-pointer SCE_KERNEL_ERROR_EINVAL return matches.

Each entry stays gap first and under 1000 characters.

Tested

Docs only: no code changed, nothing built or run. tools/check_conventions.py passes.

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:5033654389 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/11897). Originally posted by [ionut27001](https://github.com/ionut27001) on 2026-10-27T12:10:04Z. --- ### What Records two results measured in a payload process on a PS5 (firmware 12.70) in the `docs/dev/debt/libkernel.md` entries. No code changes; the two exports behave as before, so no test is added. - `sceKernelInternalMemoryGetAvailableSize`: -1 with `errno` 0 for a null output, -2 with `errno` 0 for a valid output left at `0xa5` (probe log lines: `case internal_null ret=0xffffffff errno=0`, `case internal_valid ret=0xfffffffe errno=0 out=a5a5...`). The entry keeps the throw; a title process was not measured. - `sceKernelGetAllowedSdkVersionOnSystem`: returned 0 and wrote `0x12700fff` in 4 bytes only, the next 4 bytes of an 8-byte `0xa5` buffer stayed untouched; a null output returned `0x80020016` (probe log lines: `case allowed_sdk ret=0 value=0x12700fff`, `case allowed_sdk_wide ret=0 bytes=ff0f7012a5a5a5a5`, `case allowed_sdk_null ret=0x80020016 errno=0`). In the same process `sceKernelGetSystemSwVersion` reported `13.090.001` / `0x13090001` (`case sw_version ret=0 str="13.090.001" packed=0x13090001`). The allowed-SDK value carries 12.70, the kernel firmware version (`meta fw=0x12700001`), not that reported version. The entry now leads with the gap (`0x01000fff` here, `0x12700fff` there); the null-pointer `SCE_KERNEL_ERROR_EINVAL` return matches. Each entry stays gap first and under 1000 characters. ### Tested Docs only: no code changed, nothing built or run. `tools/check_conventions.py` passes. ### 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-10-27 12:20:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-27T12:20:18Z.

Review: APPROVED


This documentation-only update records the two payload measurements with firmware context, separates measured values from unverified title/other-firmware behavior, and preserves the repository's gap-first debt format. The allowed-SDK entry distinguishes the observed kernel firmware version from the system software version and limits the claim to the measured payload. Conventions, intake, labels, and eligibility pass; no code or tests changed. I found no issue in the documentation update.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5666924912 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/11897#pullrequestreview-5666924912). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-27T12:20:18Z. **Review:** APPROVED --- This documentation-only update records the two payload measurements with firmware context, separates measured values from unverified title/other-firmware behavior, and preserves the repository's gap-first debt format. The allowed-SDK entry distinguishes the observed kernel firmware version from the system software version and limits the claim to the measured payload. Conventions, intake, labels, and eligibility pass; no code or tests changed. I found no issue in the documentation update.
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!11897
No description provided.