#
#asahi-dev · 2026-05-15 11:10
chaos_princessyou take the asc address from the adt and add 0x8000 to it
#asahi-dev · 2026-05-15 11:09
tryhard[m]like u do this: pmp_mbox: mbox@28ec08000
#asahi-dev · 2026-05-15 11:09
tryhard[m]so i choose the address then?
#asahi-dev · 2026-05-15 11:09
chaos_princessthey aren't, mailbox using a split node is linux-specific
#asahi-dev · 2026-05-15 11:09
tryhard[m]chaos_princess: i just need like the address
#asahi-dev · 2026-05-15 11:08
tryhard[m]couldnt see them on adt dump
#asahi-dev · 2026-05-15 11:08
chaos_princesswdym?
#asahi-dev · 2026-05-15 11:08
tryhard[m]chaos_princess: could you point me on where the mailboxes are defined?
#asahi-dev · 2026-05-15 11:07
tryhard[m]chaos_princess: yep that fixed it. now rtkit::Rtkit fails, probably because what you said
#asahi-dev · 2026-05-15 10:59
chaos_princessalso, you are using rtkit wrong, look at how everything else has _mbox and do it like that
#asahi-dev · 2026-05-15 10:58
chaos_princesslink the dart to the pmp itself, there is currently no relationship declared there
#asahi-dev · 2026-05-15 10:57
tryhard[m]remove the last slash
#asahi-dev · 2026-05-15 10:57
tryhard[m]https://paste.sh/4_L1uV0m#JkkPgbwctQDdJNr_Y9Zu8YHD\
#asahi-dev · 2026-05-15 10:54
chaos_princessshow your device tree entry for pmp
#asahi-dev · 2026-05-15 10:53
tryhard[m]0x10000
#asahi-dev · 2026-05-15 10:53
chaos_princesshow big is PMP_MMIO_SIZE
#asahi-dev · 2026-05-15 10:53
tryhard[m]sent a rust code block: https://matrix.org/oftc/media/v1/media/download/AbNpO6n7JNc2X9Sh5pfUG_G-eSfaVEqxMwREY-D9N8G9-pAV5uLU9YtaUp8ZbHN0nDi0t48ip3Cx2h7cBovATKBCeec13nLgAG1hdHJpeC5vcmcvaEZUUXVWY1VsQktQUUpEZm9FVmxWQWhZ
#asahi-dev · 2026-05-15 10:52
tryhard[m]well it happens when building the shared memory.
#asahi-dev · 2026-05-15 10:30
jannauStanfordAppliedCyber[m]: yuka: chip-revision 17 which matches apple's custom revision encoding scheme in MIDR (extending Revision with bits from Variant)
#asahi-dev · 2026-05-15 10:24
tryhard[m]right, just wanted to check with u first
#asahi-dev · 2026-05-15 10:23
chaos_princessadd debug printfs so you can see which line it is on
#asahi-dev · 2026-05-15 10:22
tryhard[m]also:... (full message at <https://matrix.org/oftc/media/v1/media/download/AYB4tsvZ0VXx5mZ5LB_qjANqTFMo-Zk-QH0rnILKT-XmIc5yAnyhghHM5sqnrpc3FUoQUN0YBe_WqB9lU_rHBShCeec0H7bwAG1hdHJpeC5vcmcvTkJRS1pjQm9pU2xWV01RZEpudGVmY1BB>)
#asahi-dev · 2026-05-15 10:21
tryhard[m]https://paste.sh/KoVtE5q-#DeYJbCCO5mFr9xYMW6-Q5s0o
#asahi-dev · 2026-05-15 10:21
tryhard[m]i'm getting an error -12 when probing my pmp_v1 driver. any reason for nomem error?
#asahi-dev · 2026-05-15 08:51
fl0_id__jannau, btw, with the m3-bits rebased on asahi branch + aic3 compatible, I have a working tree again. then experimented with pcie with yuka yesterday as that doesn't work.
#asahi-dev · 2026-05-15 08:34
nickchanno it actually doesn't beause the macbook neo isn't the first product using A18 Pro
#asahi-dev · 2026-05-15 08:17
StanfordAppliedCyber[m]which explains the earlier cpu revision
#asahi-dev · 2026-05-15 08:17
StanfordAppliedCyber[m]pretty soon after launch
#asahi-dev · 2026-05-15 08:16
nickchanStanfordAppliedCyber[m]: when did you buy/order your macbook neo?
#asahi-dev · 2026-05-15 08:08
StanfordAppliedCyber[m]clearly there is a way to get the cores working, macos + macho boot does, but it's something we don't understand
#asahi-dev · 2026-05-15 08:07
StanfordAppliedCyber[m]i'm trying to understand what i'm doing differently that other people aren't and the silicon revision appears to be a big one
#asahi-dev · 2026-05-15 08:07
StanfordAppliedCyber[m]well sure, but in raw boot mode it doesn't work on my machine whereas it works on everyone else's
#asahi-dev · 2026-05-15 08:06
chaos_princessotherwise you could takeover sptm
#asahi-dev · 2026-05-15 08:06
chaos_princessthat is not unexpected, rvbar should point inside sptm on versions of macos that have it
#asahi-dev · 2026-05-15 08:05
StanfordAppliedCyber[m]because it works in macho boot mode with a regular apple kernelcache
#asahi-dev · 2026-05-15 08:05
StanfordAppliedCyber[m]--> something very fishy is going on
#asahi-dev · 2026-05-15 08:05
StanfordAppliedCyber[m]yeah, that's my assumption also, because what this indicates is that macos, in raw boot mode, isn't capable of starting its own cores
#asahi-dev · 2026-05-15 08:04
StanfordAppliedCyber[m]even if it did nothing but crash the hypervisor, we'd at least notice some side effect?
#asahi-dev · 2026-05-15 08:04
chaos_princessprobably
#asahi-dev · 2026-05-15 08:04
StanfordAppliedCyber[m]my point is that if macos had successfully started the cores, we'd know about it right?
#asahi-dev · 2026-05-15 08:04
StanfordAppliedCyber[m]i know
#asahi-dev · 2026-05-15 08:00
chaos_princessthat panic just means nothing happened and macos failed to start the cores
#asahi-dev · 2026-05-15 07:57
StanfordAppliedCyber[m]because if i pass through the writes from the macos side macos actually panics with some error like "waited 250ms for cores to boot"
#asahi-dev · 2026-05-15 07:57
StanfordAppliedCyber[m]ie, we pass through the writes, macos successfully starts secondaries, the secondaries don't know our hypervisor exists and then something bad happens, but we'd notice the something bad?
#asahi-dev · 2026-05-15 07:56
StanfordAppliedCyber[m]question, so i know for the hypervisor we start the cores first, trap the mmio CPUSTART write, and then release the core from our spin table, and i know why we do this, but if we deliberately turned off the handling here, ie, let macos start the cores, not intercept the write, at minimum we should notice the result right? like maybe it crashes the hypervisor, or causes some other side effect, but we'd notice it right?
#asahi-dev · 2026-05-15 06:49
StanfordAppliedCyber[m]is this load bearing, maybe, maybe not, but it's somewhat suspicious
#asahi-dev · 2026-05-15 06:48
StanfordAppliedCyber[m]mine ends in a 0
#asahi-dev · 2026-05-15 06:48
StanfordAppliedCyber[m]she has the same silicion revision as chewy, ends in a 1
#asahi-dev · 2026-05-15 06:48
yukajannau: does your J700's MIDR_EL1 end in 0 or 1?
#asahi-dev · 2026-05-15 06:48
StanfordAppliedCyber[m]yuka's image which starts secondaries on her machine does NOT work on my machine

plus ›