#asahi-dev · 2026-09-25 11:16
yukaI grepped for .readable_reg and searched for implementations which read them from the device tree and couldn't find any#asahi-dev · 2026-09-25 11:16
yukajannau: it's a chicken and egg problem if I don't know what other dt-bindings would call this#asahi-dev · 2026-09-25 11:10
jannaudid you check if any other pinctrl dt-binding has something similar#asahi-dev · 2026-09-25 11:09
jannauyuka: "apple,protected-pins" (no underscore) is fine and and matches "apple,npins". I could bikeshed over "apple,unused-pins", "…,skipped-pins", "…,externally-used-pins"#asahi-dev · 2026-09-25 11:08
integralpilotthank you, makes sense :)#asahi-dev · 2026-09-25 11:03
svenintegralpilot: i like to wait at least 24h-48h because the maintainer might comment on something else especially if it's a tiny patch that can be reviewed quickly, but i've also sent a v2 after an hour before and wasn't screamed at so *shrug*#asahi-dev · 2026-09-25 11:02
svenyuka: works as well i think#asahi-dev · 2026-09-25 11:02
myriaUhhhh, idk? I'd at least give it a day or two#asahi-dev · 2026-09-25 11:01
integralpilot?#asahi-dev · 2026-09-25 10:58
integralpilotcause its only 1 tiny patch how long do i have to wait before v2#asahi-dev · 2026-09-25 10:58
integralpilotARGHH sashiko caught something right about regmap#asahi-dev · 2026-09-25 10:55
yukaSo I guess it's protected_pins then? or would that name be inaccurate#asahi-dev · 2026-09-25 10:55
svenweird#asahi-dev · 2026-09-25 10:55
yukafwiw this is not even dtbs_check, just normal make dtbs#asahi-dev · 2026-09-25 10:55
yukaif I rename it to protected-pins, the warning disappears#asahi-dev · 2026-09-25 10:55
yukaI think the reason is just that the property contains the string "gpio"#asahi-dev · 2026-09-25 10:54
yukaYes#asahi-dev · 2026-09-25 10:54
svenhow did you add that property to the dt-binding? it should be a uint32 array or something like that#asahi-dev · 2026-09-25 10:54
yuka"Warning (gpios_property): /soc/pinctrl@31a000000:apple,protected-gpios: cell 0 is not a phandle reference"#asahi-dev · 2026-09-25 10:54
yuka"apple,protected-gpios = <134>;"#asahi-dev · 2026-09-25 10:54
yukathough it gives me a warning when compiling the device tree#asahi-dev · 2026-09-25 10:53
yukaI have the pinctrl protected-gpios thingy working#asahi-dev · 2026-09-25 10:52
svenurgh.. i think this might be irq delivery going wrong when i'm inside an emulated guarded level :/#asahi-dev · 2026-09-25 10:45
integralpilot(i did end up CC-ing asahi list because i wanted a lore.kernel.org/asahi/... link for the spreadsheet)#asahi-dev · 2026-09-25 10:44
integralpilotregmap link: https://lore.kernel.org/asahi/20260925-regcache-lifecycle-submit-v1-1-83b75ca79d96@gmail.com/T/#u#asahi-dev · 2026-09-25 10:44
integralpilotOK so regmap is sent; dchid almost ready just double checking; am writing wifi cover letter; SAT not yet out#asahi-dev · 2026-09-25 10:27
svenmaybe i just need to steal the memory for the shadow pagetables from the end of RAM #asahi-dev · 2026-09-25 10:26
sveni didn't really like being loaded at ram_base + >2GiB#asahi-dev · 2026-09-25 10:26
svenor maybe some of those SPTM checks actually checked something important#asahi-dev · 2026-09-25 10:24
svencould be guarded emulation going wrong#asahi-dev · 2026-09-25 10:24
svenso that's the issue now: panic(cpu 4 caller 0xfffffe003d541ea8): Kernel data abort. at pc 0xfffffe003d390098, lr 0xfffffe001854446c (saved state: 0xfffffe4eaf65b240)#asahi-dev · 2026-09-25 10:24
integralpilotso cool it's gotten this far!#asahi-dev · 2026-09-25 10:24
integralpilotlooks like issue happens when talking to SMC?#asahi-dev · 2026-09-25 10:24
svenyeah, it's also done a full trip through all the guarded levels at this point#asahi-dev · 2026-09-25 10:23
JamesCalligeros[m]oh neat it started turning on coprocessors nice#asahi-dev · 2026-09-25 10:18
svenwill have to do that properly but i like this progress#asahi-dev · 2026-09-25 10:18
svenhttps://f.svpe.de/7e626ba98ee21dc9955f066d777e2b7ea024f06e457f9c92a44b05339af36722_m4_xnu.log i just patched out all those annoying sptm checks :D#asahi-dev · 2026-09-25 10:16
integralpilotthank you jannau for sending nvme :)#asahi-dev · 2026-09-25 09:23
integralpilotyay, cool!#asahi-dev · 2026-09-25 09:15
yuka(the progress)#asahi-dev · 2026-09-25 09:15
yukanice!#asahi-dev · 2026-09-25 09:12
sven# [cpu4] ctXr_check_all_regions: CTRR-A per-core register not locked by iBoot (expected: 8000000000000001, got: 0)#asahi-dev · 2026-09-25 09:12
sven# [cpu4] SPTM panic at 0xfffffe001900d620 (SPTM-rx+0x5d620 = 0xfffffff0270fd620): format=0xfffffe0018f17e34 args=0xfffffe001903fe80#asahi-dev · 2026-09-25 09:12
svenin other news, made some progress on the m4 hv on the train. sptm checks a lot of crap now on m4:#asahi-dev · 2026-09-25 08:39
integralpilotthankfully atar not coming out until next year!#asahi-dev · 2026-09-25 08:38
integralpilotim just keeping my options open so took it earlier this month#asahi-dev · 2026-09-25 08:38
integralpilotcollegeboard (us)#asahi-dev · 2026-09-25 08:38
integralpilotsat#asahi-dev · 2026-09-25 08:38
JamesCalligeros[m]atar already?