Repository navigation
docs(libkernel): record the version stubs, kern.boottime and the SoC power block as measured on a PS5 - #11116
Conversation
…power block as measured on a PS5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@pushkarreddyy #10671 edits the |
MarcZX10
left a comment
There was a problem hiding this comment.
The documentation changes and linked console logs are consistent with the measurements I checked. I found one material mismatch in the PR description: its opening says “AnyPS5 already behaves as measured,” but the sceKernelGetSocPowerConsumption bullet and the existing debt entry both say AnyPS5 returns EINVAL and writes nothing, while the PS5 probe returns 0 and writes 112 bytes. Please revise the opening to say that the PR records console measurements without changing the host behavior (and that some measured behavior still differs). The distinction is already described in the detailed bullet; this request is only to make the summary accurate.
|
@MarcZX10 Fixed the summary: the opening now says the PR only records the console measurements and changes no host behaviour, and that |
|
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.
|
MarcZX10
left a comment
There was a problem hiding this comment.
The author corrected the opening summary to accurately say this documentation-only PR records console measurements without changing AnyPS5 behavior, and that sceKernelGetSocPowerConsumption still differs. I verified the revised opening against the detailed bullet and existing debt behavior. The console logs and debt edits I reviewed earlier remain unchanged; conventions, eligibility, intake, and labels pass. Product build/test checks are skipped for this documentation-only change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Checked the three edited entries against the PR body and the neighbouring entries (the SoC power entry still says AnyPS5 returns |
What
Three libkernel entries recorded as measured on a retail PS5 (firmware 13.60) with homebrew probes from a payload process. This PR only records these console measurements in
docs/dev/debt/libkernel.mdand changes no host behaviour: AnyPS5 already matches the first two entries, whilesceKernelGetSocPowerConsumptionstill differs from the console, as its bullet below says. The sources and console logs are in this gist (pexver,pboottime,psocpow).sceKernelGetSystemExVersion,sysKernelGetLowerLimitSysexVersion,sysKernelGetLowerLimitUpdVersionandsceKernelGetTraceMemoryStatswere read from 13.42 disassembly and not measured. On the console all four are exported bylibkernel.sprx,libkernel_sys.sprxandlibkernel_web.sprxat the same address and behave as the entry says: the first writes one zero byte to each output and returns a plain 22 if either is null; the lower limits write a zero byte and a zero 32-bit word, and return0x80020016for null; the trace statistics write 8 zero bytes to the first two outputs, skip null ones, leave the third and fourth alone and return 0. The meaning of the outputs stays open.kern.boottime: the entry said the value a PS5 title gets was not measured. A payload process getsCLOCK_REALTIMEminusCLOCK_UPTIME(1792934811.652920 against 1792934811.652919 read at the same time), unchanged 2 s later, from{1, 21}and from the name alike; an 8-byte buffer gets the first 8 bytes andENOMEM, a 0-byte oneENOMEM. This is what AnyPS5 does. What a title process gets is still open.sceKernelGetSocPowerConsumption: AnyPS5 returnsEINVALbecause the host has no power source to read, and that does not change. The entry now records what the console does: 0, 112 bytes (28 32-bit words) written, the first word about 4700 when idle (the PS5LM Plus reading it as milliwatts would show 4.7 W, so the unit is not known), and a fault for a null buffer.Tested
Documentation only. Head
f0a989a508onmaind17785dba8.tools/check_conventions.pypasses; each changed entry is under 1000 characters.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)kern.boottime), feat(libkernel): implement sysKernel update version and mode queries #10671 (it edits thesceKernelGetSystemExVersionentry; merge order only)