#
✕ nick:marcan
#asahi · 2021-02-05 14:17
marcanso you can "self" another CPU, which isn't self any more
#asahi · 2021-02-05 14:17
marcanand yes, 5000+x gives you another CPU's view of the registers
#asahi · 2021-02-05 14:17
marcanthe top bit is "self", all the other bits are "IPI another CPU"
#asahi · 2021-02-05 14:16
marcanthat's the *value*
#asahi · 2021-02-05 14:15
marcanthey are not symmetric in how you trigger them, but they are otherwise basically the same thing
#asahi · 2021-02-05 14:15
marcanthe "other" IPI is 1<<cpu in the trigger register, and 1 in the status/mask registers
#asahi · 2021-02-05 14:15
marcanthe "self" IPI is 0x80000000 in the trigger and status registers
#asahi · 2021-02-05 14:10
marcanthat kind of stuff
#asahi · 2021-02-05 14:10
marcanjust try random bits, all, none, binary search manually to see which ones break things...
#asahi · 2021-02-05 14:08
marcaneventually, as you can see, I resorted to blobs of asm to do things locally and capture register values before returning control to python
#asahi · 2021-02-05 14:08
marcansince I was trying to debug this using the serial itself for communications
#asahi · 2021-02-05 14:08
marcanit was... confusing and complicated
#asahi · 2021-02-04 22:56
marcan$50 here
#asahi · 2021-02-04 22:53
marcanI have one
#asahi · 2021-02-04 22:53
marcanamw: not sure if available outside Japan, but these are great: https://www.amazon.co.jp/-/en/gp/product/B07Y8BPVV4/
#asahi · 2021-02-04 22:41
marcanthat would be out of spec if it's missing SBU
#asahi · 2021-02-04 22:36
marcanthat needs mentioning in the docs
#asahi · 2021-02-04 22:36
marcanI've been thinking of full-spec USB3 SS cables all along
#asahi · 2021-02-04 22:36
marcanUSB2 type C cables won't work, those don't have SBU
#asahi · 2021-02-04 22:35
marcanyou need a *USB 3* SuperSpeed type C cable
#asahi · 2021-02-04 22:35
marcanwait, I forgot something
#asahi · 2021-02-04 22:19
marcanI tested it with an Apple Thunderbolt cable, which unsurprisingly worked fine
#asahi · 2021-02-04 22:18
marcanFWIW SBU are required; though we can map serial to D+/D-, those are not crossed over, so that will never work for M1-to-M1, you'd end up with RX-RX TX-TX
#asahi · 2021-02-04 22:17
marcanI thought they were
#asahi · 2021-02-04 22:17
marcanthose are not required by spec?
#asahi · 2021-02-04 22:15
marcan:)
#asahi · 2021-02-04 22:15
marcanAIC will need an upgrade...
#asahi · 2021-02-04 22:15
marcanapple silicon with 1024 cores when
#asahi · 2021-02-04 22:14
marcannn :)
#asahi · 2021-02-04 22:14
marcanI should really do a demo where the apple logo turns into you know what
#asahi · 2021-02-04 22:14
marcanapple, that is
#asahi · 2021-02-04 22:14
marcanoff by one; what you want is *bad*
#asahi · 2021-02-04 22:14
marcanMary_: boot baudrate is 115200; most of the python stuff will switch that to 1500000 though
#asahi · 2021-02-04 22:13
marcanby the way, that's 3 different installs where I had no kmutil problems, maybe 4. not sure if I'm p=0.125 odds lucky here, or they fixed the supposed kmutil bug by the time 11.2 final rolled out
#asahi · 2021-02-04 22:12
marcanGlanzmann: correct!
#asahi · 2021-02-04 22:12
marcanthat's why that command exists
#asahi · 2021-02-04 22:12
marcanMary_: anything else you're likely to get the timing wrong, and miss the messages
#asahi · 2021-02-04 22:11
marcanMary_: make sure you use "reboot serial"
#asahi · 2021-02-04 22:05
marcangoing to sleep now :)
#asahi · 2021-02-04 22:05
marcanj`ey: thanks, I'll fix those up in the next version
#asahi · 2021-02-04 21:26
marcanclover[m]: let's wait until it's actually upstream ;)
#asahi · 2021-02-04 21:25
marcantired, ignore me
#asahi · 2021-02-04 21:25
marcaner no sorry, I did link lore
#asahi · 2021-02-04 21:24
marcan:)
#asahi · 2021-02-04 21:24
marcandhewg: I was waiting for it to show up
#asahi · 2021-02-04 21:04
marcanmodulo an email reply or two, I'll be taking tomorrow off; I've been neglecting too many things the past few weeks :p
#asahi · 2021-02-04 21:04
marcanmaximus64: I sure hope so :)
#asahi · 2021-02-04 21:03
marcan(even if they're in the email body)
#asahi · 2021-02-04 21:03
marcanj`ey: I said non-empty, header lines do not count as body content :p
#asahi · 2021-02-04 21:03
marcanbut in the meantime I'm going to try to build up core support :)

plus ›