#asahi · 2021-07-28 17:30
marcanave *is* a copro#asahi · 2021-07-28 17:30
marcanthere's no firmware for it#asahi · 2021-07-28 17:30
marcanit's pure hardware as far as I saw#asahi · 2021-07-28 17:30
marcanalyssa: avd is not a copro#asahi · 2021-07-28 17:29
marcan(random-ass guess)#asahi · 2021-07-28 17:29
marcanthat would require setting up an endpoint to just receive replies#asahi · 2021-07-28 17:29
marcanso perhaps there is a variant protocol for ASC-to-ASC where they each write to each other's mailbox only in the input direction#asahi · 2021-07-28 17:29
marcanmultiple readers won't work, but multiple writers would#asahi · 2021-07-28 17:27
marcanso maybe it has to do with that, yeah#asahi · 2021-07-28 17:27
marcansven: I do think ASCs can talk to each other's mailboxes somehow#asahi · 2021-07-28 13:28
marcan:p#asahi · 2021-07-28 13:28
marcanm1n1 passes through the seed from iBoot#asahi · 2021-07-28 13:28
marcanalyssa: if you enable CONFIG_RANDOM_TRUST_BOOTLOADER, it'll start up with enough entropy#asahi · 2021-07-26 14:27
marcananyway, I think I'm going to try to actually get some early sleep today and then I might stream in the morning#asahi · 2021-07-26 14:26
marcanyeah, though the concept of NVMe depending on a mailbox might be a bit strange ;)#asahi · 2021-07-26 14:10
marcan... but that's the secure element / NFC controller#asahi · 2021-07-26 14:09
marcanwith ring buffers and endpoints#asahi · 2021-07-26 14:09
marcanthere's an AppleStockholmControl#asahi · 2021-07-26 14:09
marcanwant more confusion?#asahi · 2021-07-26 14:05
marcan:)#asahi · 2021-07-26 14:03
marcanat least until some other vendor comes along and then we can figure out how to share code#asahi · 2021-07-26 14:03
marcanthough I guess if apple is literally the only non-pci NVMe vendor out there, we can just stop pretending this makes sense elsewhere and just have the ans driver *be* the nvme platform device shim#asahi · 2021-07-26 14:03
marcanyeah, but then that shim would need an apple-specific bit there#asahi · 2021-07-26 14:01
marcanwhich doesn't really have anything to do with the mailbox, other than depending on that drive being up first#asahi · 2021-07-26 14:01
marcankettenis: yeah but the question is how to tie this to nvme#asahi · 2021-07-26 14:01
marcanso nvme then implicitly calls out to turn on ANS before binding#asahi · 2021-07-26 14:00
marcanI wonder if we could do something funny like make the ANS driver pretend to be a power driver#asahi · 2021-07-26 13:59
marcanthe main thing is it depends on ANS, so it either has to have some hook to express that dep, or else we could have the ANS driver instantiate nvme instead of using nvme bindings#asahi · 2021-07-26 13:53
marcanyeah#asahi · 2021-07-26 13:53
marcanyeah#asahi · 2021-07-26 13:52
marcansven: btw, the generic ASC driver has some special ANS crap, so there is precedent for doing it that way :p#asahi · 2021-07-26 13:51
marcanyeah#asahi · 2021-07-26 13:50
marcanASC is just the concept of one of these big IOPs with this style of mailbox interface I think#asahi · 2021-07-26 13:49
marcanand no syslog/etc?#asahi · 2021-07-26 13:48
marcanthen it still fits that ASC is the hardware type#asahi · 2021-07-26 13:48
marcanor is it different at that level too?#asahi · 2021-07-26 13:48
marcansven: are the mailbox regs the same though?#asahi · 2021-07-26 13:48
marcanTempest-ASC5#asahi · 2021-07-26 13:48
marcanChinook-ASC5#asahi · 2021-07-26 13:48
marcanthough#asahi · 2021-07-26 13:46
marcanwe know it's "chinook" for some of these, that could be the C#asahi · 2021-07-26 13:46
marcanthat might mean it's actually based on the CPU type#asahi · 2021-07-26 13:46
marcan compatible = [iop,ascwrap-v4]#asahi · 2021-07-26 13:46
marcanvs#asahi · 2021-07-26 13:46
marcan compatible = [iop,m3wrap-v2-acio]#asahi · 2021-07-26 13:44
marcanand probably not ASC#asahi · 2021-07-26 13:44
marcane.g. there's the acio-cpu which is a cortex-m3 I believe#asahi · 2021-07-26 13:43
marcanI think there's non-ASC copros too#asahi · 2021-07-26 13:43
marcanbut yes, they also call them IOPs elsewhere, though ASC might be more specific#asahi · 2021-07-26 13:42
marcanor Apple Support Coprocessor