Commit Graph
20967 Commits
Author SHA1 Message Date
Felipebmaitan c6cba56c6d docs(job-manager): keep remaining debt concise 2026-10-23 12:46:03 -03:00
Felipebmaitan c82f45c9c9 fix(job-manager): forward object registration results 2026-10-23 12:46:03 -03:00
Felipebmaitan f5d6081d3d fix(job-manager): retire ready waits during shutdown 2026-10-23 12:46:03 -03:00
Felipebmaitan f0a48e45f2 fix(job-manager): release waiters and clean up partial initialization 2026-10-23 12:46:03 -03:00
Felipebmaitan d6083b8c55 test(job-manager): verify native compute command capacity 2026-10-23 12:46:03 -03:00
Felipebmaitan 0393f72cb0 fix(libSceJobManager): batch compute completion in caller storage 2026-10-23 12:46:03 -03:00
Felipebmaitan 438540c8e1 fix(job-manager): spin only for pending work in host clock time 2026-10-23 12:46:03 -03:00
Felipebmaitan 77d1cc65e2 fix(tests): distinguish the manual JobManager reference runner 2026-10-23 12:46:03 -03:00
Felipebmaitan 5a19cd7e14 fix(libSceJobManager): honor worker spin and persistence policies 2026-10-23 12:46:02 -03:00
orezraeyandClaude Opus 5.5 85caaefe6d test(libc): check the fopen modes measured on a PS5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 12:39:56 -03:00
cadenasynyster a5896a447c test(libc): drop the comment from the opendir Windows loop skip
The conventions check allows comments only for technical debt, so the explanatory comment added with the skip is removed. The code is unchanged.
2026-10-23 17:39:32 +02:00
StoneDC 0ae3cbcafb fix(libScePad): retain explicit throw for unsupported Lotus IR and virtual-device exports 2026-10-23 23:39:10 +08:00
Adrià 4be3da2c6f Merge pull request #7800 from santhoshkumar-dev/codex/agc-memory-hardening
fix(agc): reclaim idle images safely during cache creation
2026-10-23 17:39:02 +02:00
Adrià 68810f6342 Merge pull request #7816 from Capmare/fix/shader-frontend-call-analysis-wave-size
fix(shader): give the frontend's call analysis the dispatch's wave size
2026-10-23 17:38:03 +02:00
Yunus Shaikh cec1f82d76 test(relinker): frame inflate_fast's cmp at rsp before a branch through the instructions before it
red_zone_framer frames two leaves whose 4-byte cmp %rdi,(%rsp) sits
before a jne: after an add (inflate_fast's shape) and after a load below
rsp that heads the loop and moves by the shift inside the stub, and no
operand in a stub is also moved in place. A cmp whose loop branches back
to it stays refused, the widened stub covering the branch target. The
execution test runs both framed leaves under writes below rsp.
2026-10-23 08:36:08 -07:00
Yunus Shaikhandtibzejoker e410c38b42 feat(relinker): extend a short rsp operand's stub over the instructions before it
When the instruction after an rsp operand that cannot move in place is
a branch, a rip-relative instruction or a freeing add, the operand's stub
could stay shorter than a jump and the leaf was skipped. The stub now
also takes the contiguous sequential instructions before the operand,
moving their own rsp operands by the shift; the branch-target, site and
existing-stub checks run on the widened range, and the instructions it
covers leave the in-place moves. zlib's inflate_fast, whose only operand
left is a 4-byte cmp %rdi,(%rsp) between an add and a jne, frames this
way.

The backward extension is tibzejoker's, from their comment on
boykopovar/AnyPS5#5640: with it, 243 of Grand Theft Auto V's 991
red-zone leaves frame (240 before), inflate_fast among them, and one
leaf is left with no room for a stub.

red_zone_framer's leaf whose operand at rsp sits before a rip-relative
load now frames; the one before an exit stays refused, its forward
extension reaching the exit's pops.

Co-authored-by: tibzejoker <[email protected]>
2026-10-23 08:36:06 -07:00
orezraeyandClaude Opus 5.5 a75706d40f docs(libc): record fopen and freopen of directories as measured on a PS5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 12:33:25 -03:00
orezraeyandClaude Opus 5.5 5415895377 docs(libc): record reallocf as measured on a PS5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 12:28:46 -03:00
Adrià 83694b3db9 Merge pull request #7803 from thuanquang/fix/msaa-2d-sample-zero
fix(shader): read a 2D MSAA T# through DIM 2D as its sample 0
2026-10-23 17:24:59 +02:00
orezraeyandClaude Opus 5.5 3d4fadbcae fix(libSceUlt): keep ulthread names within the pthread name limit
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 12:23:42 -03:00
orezraeyandClaude Opus 5.5 2a05015c2a fix(libkernel): refuse long thread names and answer a detach after a join as measured on a PS5
scePthreadCreate returns ENAMETOOLONG for a name of 32 bytes or more without creating the thread, and scePthreadDetach returns ESRCH for a joined thread.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 12:21:46 -03:00
Felipebmaitan 2aecbef8b2 fix(job-manager): preserve profiler spans across GPU barriers 2026-10-23 12:19:21 -03:00
JJenkx 2c98914fe4 test(loader): observe concurrent module initialization wait 2026-10-23 11:15:41 -04:00
JJenkx 5c507eda39 test(loader): verify deferred module unload and reload lifecycle 2026-10-23 11:15:41 -04:00
JJenkx f32d9d89be test(loader): verify nested handle retains runtime module 2026-10-23 11:15:41 -04:00
JJenkx bbaf07d110 test(loader): cover reentrant deferred module loads 2026-10-23 11:15:41 -04:00
JJenkx a82db0717d test(loader): separate import mapping from runtime initialization 2026-10-23 11:15:41 -04:00
JJenkx df7fe4182f test(relinker): check deferred zero-init host dependency 2026-10-23 11:15:41 -04:00
JJenkx 8309412720 test(loader): distinguish runtime mapping from explicit initialization 2026-10-23 11:15:41 -04:00
JJenkx d1b40c5aa6 test(relinker): use a guest-relative zero-init fixture run path 2026-10-23 11:15:40 -04:00
JJenkx 13b33108b6 fix(relinker): retain deferred zero-address initializers
Retain DT_INIT presence when emitting the deferred Linux lifecycle slot. Check zero-valued initializers with and without preinit, native argument forwarding and return status, and the absent-tag case. Addresses the interaction with PR #6684 identified in review.
2026-10-23 11:15:40 -04:00
JJenkx adf0176d3a fix(loader): preserve SDK startup in browser conversions 2026-10-23 11:15:40 -04:00
JJenkx d5987b3fb8 docs(loader): keep lifecycle debt focused on ABI limits 2026-10-23 11:15:40 -04:00
JJenkx 2d4d55036d test(loader): preserve explicit zero-argument module starts 2026-10-23 11:15:40 -04:00
JJenkx cd5dea57aa test(loader): verify explicit runtime starts and record lifecycle limits 2026-10-23 11:15:40 -04:00
JJenkx 74878ee102 feat(loader): prototype deferred Linux runtime module lifecycles 2026-10-23 11:15:40 -04:00
cadenasynyster 72a3b30957 test(libc): skip the opendir Windows loop checks when links cannot be created
The new Windows loop cases in guest_directory required CreateSymbolicLinkW to succeed, so the test aborted on a host without Developer Mode or administrator rights. They now run only when CreateLinks created its links, which is how the other link checks in the file already skip, and keep their ELOOP assertions whenever link creation is allowed.
2026-10-23 17:15:00 +02:00
orezraeyandClaude Opus 5.5 4acca6020c fix(libkernel): log a thread atexit Decrement without a reference
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 12:14:27 -03:00
orezraeyandClaude Opus 5.5 e437f33787 fix(libkernel): answer the thread atexit references as measured on a PS5
Increment returns -1 for an address outside every module and Decrement never fails, instead of throwing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 12:13:07 -03:00
ntamas94andClaude Opus 5.5 16d2cbb4b3 fix(libSceRtc): range-check by the compiled SDK version as the PS4 does
Measured on PS4 firmware 10.71 from processes compiled with SDK versions
0x01000051, 0x02ffffff, 0x03000000 and 0x05050001. From 0x03000000 on,
FormatRFC3339 returns INVALID_VALUE when the zone shift overflows or
underflows the tick, GetDayOfWeek checks the month before the year and
rejects years past 9999, and SetTime_t rejects negative seconds and
converts all 64 bits. 0x02ffffff and earlier keep the wrap, the year-first
order and the low 32 bits.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 17:11:35 +02:00
Nciibi 191266170b fix(relinker): move a following in-place replacement into a 256-bit store's stub
A 4-byte 256-bit store at the start of a segment followed by an AMD-only
site that can only be emitted in place (RDSEED, CLWB, MOVNTSS, ...) had no
preceding instruction to move, so WindowPlacer gave up with "No room for a
jump to the stub of 256-bit store within its neighbours or a nearby island".

Try a last-resort window placement that allows EmitOutOfLine to use the
in-place lowering for the follower. Preferred preceding and following moves
are unchanged.
2026-10-23 16:11:00 +01:00
PrivacyOnion 201b8e816c docs(debt): document libSceNotification technical debt 2026-10-23 17:10:18 +02:00
Felipebmaitan e8cf808ec7 fix(job-manager): forward native profiler lifecycle events 2026-10-23 12:07:56 -03:00
Project-MOC 355a90b924 test(relinker): cover Windows file writer behavior 2026-10-23 17:07:00 +02:00
Bram910 7c9ef2becc fix(relinker): keep registry offsets independent of host locale 2026-10-23 17:02:33 +02:00
orezraeyandClaude Opus 5.5 f90172bf48 fix(libc): keep the host diagnostic line and use the gettid system call
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 12:01:35 -03:00
orezraeyandClaude Opus 5.5 7009b00a86 fix(libc): print sceLibcInternalHeapErrorReportForGame's report as a PS5 does
A payload process on a PS5 (firmware 13.60) writes the mspace name at heap+0x3B0, its number at heap+0x3F4, the reason for error 1 and the pid and tid to standard output, then returns.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 12:00:22 -03:00
ntamas94 52a54522a6 Merge remote-tracking branch 'origin/main' into fix/rtc-ps4-limits 2026-10-23 16:58:47 +02:00
QRMOE 5836873170 fix(memory): honor low guest mapping hints 2026-10-23 16:51:33 +02:00
orezraeyandClaude Opus 5.5 c24e44c0b4 test(libkernel): check that flags 2 finds the main program
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 11:50:55 -03:00