#asahi-dev · 2026-07-28 22:05
chaos_princessmmediouni[m]: yep, exactly what that is for#asahi-dev · 2026-07-28 22:05
svenl2c_err thingy to be able to clear it#asahi-dev · 2026-07-28 22:05
JamesCalligeros[m]If we get lrcpc on machines where it’s supported i dont think tso matters that much#asahi-dev · 2026-07-28 22:05
mmediouni[m]that sounds Windows#asahi-dev · 2026-07-28 22:04
chaos_princesspmuv3 traps#asahi-dev · 2026-07-28 22:03
svenTSO as well but I’ve heard that disabling that was very intentional #asahi-dev · 2026-07-28 22:03
sventhe core power off ones might be nice but we don’t even know how to correctly use them so kinda hard to ask for them #asahi-dev · 2026-07-28 22:02
yuka~all?#asahi-dev · 2026-07-28 22:02
yuka> And that are wanted?#asahi-dev · 2026-07-28 22:02
JamesCalligeros[m]We do their testing for them :)#asahi-dev · 2026-07-28 22:01
sven~none#asahi-dev · 2026-07-28 22:01
mmediouni[m]I wonder how much testing apple even did in that lockdown mode#asahi-dev · 2026-07-28 22:00
mmediouni[m][@_oftc_flokli:matrix.org](https://matrix.to/#/@_oftc_flokli:matrix.org) any more registers that are missing? And that are wanted?#asahi-dev · 2026-07-28 21:48
yukaso 26.6 has it unlocked on all M4* :)#asahi-dev · 2026-07-28 21:47
floklit6040 has a working `msr((3, 5, 15, 1, 3), mrs((3, 5, 15, 1, 3)))` on 26.6!#asahi-dev · 2026-07-28 19:54
j`ey(some feature might say, feature X says that some_bit is treated as 1)#asahi-dev · 2026-07-28 19:53
j`eyeffective value means that a a bit should be treated as 1, even if it wasnt set#asahi-dev · 2026-07-28 19:52
mmediouni[m]I think effective value means TGE, so they punted this to impdef#asahi-dev · 2026-07-28 19:51
mmediouni[m]> If HCR_EL2.TIDCP is 1, it is IMPLEMENTATION DEFINED whether any accesses from EL0 are trapped to EL2.#asahi-dev · 2026-07-28 19:51
mmediouni[m]but then#asahi-dev · 2026-07-28 19:51
svenworth a try i guess#asahi-dev · 2026-07-28 19:51
mmediouni[m]> Otherwise, if FEAT_TIDCP1 is implemented and the Effective value of SCTLR_EL2.TIDCP is 1, any accesses from EL0 are trapped to EL2.#asahi-dev · 2026-07-28 19:51
mmediouni[m]I think this might still work because HCR_EL2.TIDCP says#asahi-dev · 2026-07-28 19:49
sveni think if we really need userspace jit to work for some reason i'll just patch the msr/mrs in that .dylib to a nop and map that sprr index as rwx#asahi-dev · 2026-07-28 19:48
mmediouni[m]there's also this but I don't think that'd be leveragable on any apple hw#asahi-dev · 2026-07-28 19:47
mmediouni[m]> elsif (EL2Enabled() && (!ELIsInHost(EL0))) && ((!IsHCRXEL2Enabled()) || (HCRX_EL2.EnIDCP128 == '0')) then#asahi-dev · 2026-07-28 19:43
mmediouni[m]trapped by this mechanism#asahi-dev · 2026-07-28 19:43
mmediouni[m]> If HCR_EL2.TGE==0, no instructions accessing the System register or System instruction spaces are#asahi-dev · 2026-07-28 19:43
mmediouni[m]ah no...#asahi-dev · 2026-07-28 19:42
mmediouni[m]sven: SCTLR_EL2.TIDCP#asahi-dev · 2026-07-28 19:40
svenso does that trap from el0 all the way up to el2 even with el1 inbetween?#asahi-dev · 2026-07-28 19:40
mmediouni[m]if I'm reading things right M4 already has FEAT_TIDCP1 (as it's armv9.3 and that's mandatory there)#asahi-dev · 2026-07-28 19:28
mmediouni[m]yup looks like that worked :)#asahi-dev · 2026-07-28 19:28
sventhere's some weirdness with the bridge#asahi-dev · 2026-07-28 19:27
svenyou should no longer be banned now#asahi-dev · 2026-07-28 19:27
sventhat was supposed to unban him *sigh*#asahi-dev · 2026-07-28 19:26
svenbah#asahi-dev · 2026-07-28 19:26
svenprobably over-eager anti-spam protection#asahi-dev · 2026-07-28 19:25
mmediouni[m]looks like that screenshot resulted in an instant ban sigh...#asahi-dev · 2026-07-28 19:24
mmediouni[m]Uh oh but the IRC bridge still works...#asahi-dev · 2026-07-28 19:24
mmediouni[m]> You were banned from Asahi Linux Development by Moderation#asahi-dev · 2026-07-28 19:23
mmediouni[m]nickchan: huh this bridge is kinda broken, but that's the feature you're looking for - for having TIDCP regs trapped at EL0#asahi-dev · 2026-07-28 19:22
mmediouni[m]uploaded an image: (101KiB) < https://matrix.org/oftc/media/v1/media/download/AR4TmSKJnyfd3wDZhLdCBP79mXw_1YynfonPkupcodmSW-h7AkBcrkdpLXT46SvImDILtehaCuwHqG6tm-e-eXlCef8kZ4AQAG1hdHJpeC5vcmcvYU5YUHBNQXJmY2F5Z3dMbHdzTm9vaGpi >#asahi-dev · 2026-07-28 19:01
sventhanks for the offer, but i think there's enough stuff i can make progress on before that thing arrives#asahi-dev · 2026-07-28 19:01
svenand i can probably get started with sptm on my m1.#asahi-dev · 2026-07-28 19:01
svenyuka: probably won't have time to continue before the weekend and there's at least one GL0 inaccuracy i need to fix anyway#asahi-dev · 2026-07-28 18:35
fl0_idshould make this much better#asahi-dev · 2026-07-28 18:35
fl0_idsofus ah thanks, right i remember jannau said they had a local patch for it