#asahi-dev · 2021-02-17 19:54
modwizcodeProbably unlikely but is there any chance there's even just minor overlap with SMMU concepts?#asahi-dev · 2021-02-17 19:53
modwizcodeheh I don't think I've ever heard that one#asahi-dev · 2021-02-17 19:51
modwizcodeMaybe an op to write and immediately read would be helpful#asahi-dev · 2021-02-17 19:48
modwizcodesven: can you post up a full dump of dart space values somewhere?#asahi-dev · 2021-02-17 18:50
modwizcodeOpen up the soc and poke some probes in c;#asahi-dev · 2021-02-17 17:10
modwizcodeBut even that is nullified by the fact that they put the GPL license header at the top of the additional files with the copyrighted code decompiled in it#asahi-dev · 2021-02-17 17:10
modwizcodeAlthough I think you could probably use the argument that technically distribution as a public github repo doesn't imply licensing others to actually use the code.#asahi-dev · 2021-02-17 17:09
modwizcodeThat's... probably a good point#asahi-dev · 2021-02-17 16:28
modwizcodeI think it's fair that someone using a repo as a storage place might keep notes in the comments to explain their code. They make some really weird implementation choices overall though.#asahi-dev · 2021-02-17 16:17
modwizcodeThe point still stands that as far as I know what they call the "deferred" ipis are currently not documented on our AIC page#asahi-dev · 2021-02-17 16:16
modwizcodeYeah I noticed that it's pretty yikes#asahi-dev · 2021-02-16 18:16
modwizcodemarcan: Looking at this emulator code reveals that maybe those deferred IPIs can be sent through the AIC too?#asahi-dev · 2021-02-16 18:14
modwizcodethey have some more ipi registers in the AIC documented though potentially#asahi-dev · 2021-02-16 18:09
modwizcodeIf they can help merge in APRR and KTRR (which they also seem to call CTRR?) it might be beneficial since I've not touched those features at all yet.#asahi-dev · 2021-02-16 18:07
modwizcodeSent them a DM on twitter lets see. They seem to be focused on that security research theme, and so far I think mostly they just implement the same stuff I do (although TBH I disagree with the way they implement some of the AIC stuff already)#asahi-dev · 2021-02-16 18:05
modwizcodeYeah I'll reach out#asahi-dev · 2021-02-16 18:05
modwizcodeThanks for showing me that though j`ey#asahi-dev · 2021-02-16 18:04
modwizcodeAnd those just patched around the support rather than implement it especially not in an upstreamable way, but this seems more legit.#asahi-dev · 2021-02-16 18:04
modwizcodeI wish I could get in touch to collab or discuss the changes. nobody replied when I posted some of my work on the qemu mailing list. So far other projects have mostly been one-off hacks by iOS research people#asahi-dev · 2021-02-16 18:02
modwizcodeI'm being scooped!#asahi-dev · 2021-02-16 18:02
modwizcodeOh no#asahi-dev · 2021-02-15 13:57
modwizcodeGPG is kind of meaningless without signatures on your key and people to use it with#asahi-dev · 2021-02-15 13:57
modwizcodeI think that's how that all works#asahi-dev · 2021-02-15 13:57
modwizcodeI think my current key is actually safe, when keybase came out I setup everything so that worked. So keybase has an encrypted copy of my key and I think I have a backup printout and the password I actually remember.#asahi-dev · 2021-02-15 13:56
modwizcodeI've tried a few times to maintain a key and I always lose it, but I don't have much reason to use it for anything.#asahi-dev · 2021-02-14 16:28
modwizcodeI assume though that it means that there's a parallel interrupt controller driver for a GIC (or at least running under a vGIC) so that macOS can be emulated.#asahi-dev · 2021-02-14 16:25
modwizcodeand maybe figure out if I can seperate the vGIC code enough, I wonder if it's easiest to just replicate enough to work in the AIC part#asahi-dev · 2021-02-14 16:24
modwizcodemeans I have to read the docs for the v3 GIC I think#asahi-dev · 2021-02-14 16:24
modwizcodeI don't look forward to figuring out how to make that work#asahi-dev · 2021-02-14 16:24
modwizcodewell that's probably definitely the easiest way to solve that issue#asahi-dev · 2021-02-14 16:23
modwizcodebut just the vGIC I assume not the rest of it?#asahi-dev · 2021-02-14 16:23
modwizcode...#asahi-dev · 2021-02-14 16:23
modwizcodethat's#asahi-dev · 2021-02-14 16:23
modwizcodeuhh#asahi-dev · 2021-02-14 16:23
modwizcodeoh#asahi-dev · 2021-02-14 16:22
modwizcodeI thought you found a bit that helped with that marcan#asahi-dev · 2021-02-14 16:22
modwizcodein qemu most of the time it seems that they end up fed into the IRQ controller which then feed back out IRQ and FIQ lines for each CPU. At least GIC can I think remap them however you please, although I know little about the GIC.#asahi-dev · 2021-02-14 16:21
modwizcodeIt is quite strange#asahi-dev · 2021-02-14 16:14
modwizcodeI guess yeayh#asahi-dev · 2021-02-14 16:14
modwizcodeI would have said screw it and just ended up implementing a poor copy of high level IPC like IOS does#asahi-dev · 2021-02-14 16:13
modwizcodeyikes#asahi-dev · 2021-02-14 16:13
modwizcodeoh right#asahi-dev · 2021-02-14 16:13
modwizcodewhy?#asahi-dev · 2021-02-14 16:12
modwizcodeyeah I guess that just works too#asahi-dev · 2021-02-14 16:12
modwizcodeRight because they're not coherent#asahi-dev · 2021-02-14 16:11
modwizcodeI was trying to figure out if (besides the doorbell interrupts) the IPC couldn't have just basically used normal memory lol#asahi-dev · 2021-02-14 16:11
modwizcodeYeah I uh thought it was weird#asahi-dev · 2021-02-14 16:10
modwizcodeahh#asahi-dev · 2021-02-14 16:09
modwizcodeI can think of a lot of reasons but what was the practical issue there?#asahi-dev · 2021-02-14 16:08
modwizcodeheh