#
✕ nick:pipcet[m]
#asahi · 2021-08-20 10:32
pipcet[m]j_ey: did you add interrupts or is it polled? sounds very useful, in any case :-)
#asahi · 2021-08-17 13:24
pipcet[m]https://github.com/rr-debugger/rr/releases/tag/5.4.0
#asahi · 2021-08-17 13:21
pipcet[m]there's some aarch64 code in the tree now, only recalled that...
#asahi · 2021-08-17 13:01
pipcet[m]cgv: rr support for M1 would be really nice, or at least evaluating whether it's possible (https://github.com/rr-debugger/rr)
#asahi · 2021-08-17 09:45
pipcet[m]so our theory is the ADT contains the entire decoded range, not the actually accessible range? That makes sense from a HW POV, I guess...
#asahi · 2021-08-16 10:33
pipcet[m]fair enough
#asahi · 2021-08-16 10:28
pipcet[m]so IIUC they disabled the serrors and wrote in the wrong mode, and you didn't and write in the right mode? cool.
#asahi · 2021-08-16 10:24
pipcet[m]I was writing to the SMC SRAM and it behaved like the writes never happened, so I added some reads to make sure they made it, and they didn't...
#asahi · 2021-08-16 10:22
pipcet[m]sven: corellium code (which uses nGnRnE) works, asahi doesn't, asahi + ioremap_np works again, pretty sure it's the E/nE thing. only shows up in kernel code since you have to mix read*() and write*() pretty much immediately for it to race
#asahi · 2021-08-16 10:20
pipcet[m](weird serrors when mixing read and write accesses to mmio space)
#asahi · 2021-08-16 10:19
pipcet[m]sven: you haven't run into the nGnRnE/nGnRE thing at all so far, right?
#asahi · 2021-08-16 10:06
pipcet[m]sven: writing to the recovery partition does the trick :-)
#asahi · 2021-08-16 10:03
pipcet[m]I believe it is, yes.
#asahi · 2021-08-16 10:01
pipcet[m](which might require a DFU recovery!)
#asahi · 2021-08-16 06:52
pipcet[m](not that rare, but it's a pretty obvious fix)
#asahi · 2021-08-15 16:52
pipcet[m]clearly someone needs to invent a new, better one, to replace all of them!
#asahi · 2021-08-15 16:16
pipcet[m](I still have my enable-all-clocks in place before I ever hand off control to m1n1, so...)
#asahi · 2021-08-15 16:15
pipcet[m](can you apply those without turning on the clock on the macbooks, though?)
#asahi · 2021-08-15 16:13
pipcet[m]oh, yes.
#asahi · 2021-08-15 15:33
pipcet[m]alyssa: which hard parts are those (not trying to be confrontational, just wondering whether m1n1 grew any new features while I wasn't looking)?
#asahi · 2021-08-15 11:50
pipcet[m]alyssa: so, brcmfmac works with a few changes, most of them because I'm stupid and didn't read the error messages right :-)
#asahi · 2021-08-15 06:20
pipcet[m]I think battery life isn't terrible with the pearl/corellium kernel, but people might disagree :-)
#asahi · 2021-08-15 05:42
pipcet[m]does that actually work though? I mean, telling the scheduler about it is one thing...
#asahi · 2021-08-14 19:36
pipcet[m]well, the corellium reboot driver does the same thing as the WDT driver so I'm stumped.
#asahi · 2021-08-14 19:35
pipcet[m]oh no :-(
#asahi · 2021-08-14 19:33
pipcet[m]alyssa: can't we use the wdt driver? it handles reboots fine :-)
#asahi · 2021-08-14 19:32
pipcet[m]printk("hold the power button for ten seconds\n");
#asahi · 2021-08-14 19:31
pipcet[m]you've got the nvmem driver?
#asahi · 2021-08-14 19:31
pipcet[m]you mean poweroff? yes.
#asahi · 2021-08-14 18:15
pipcet[m]i played with that very briefly and macos just rebooted when i crashed the smc
#asahi · 2021-08-14 18:13
pipcet[m]sure. how?
#asahi · 2021-08-14 18:12
pipcet[m]well, SMC and ANS are special because the boot loader might reasonably use them.
#asahi · 2021-08-14 18:09
pipcet[m]"resettable" or "not started"
#asahi · 2021-08-14 18:08
pipcet[m]and I think endpoints are stopped by the reset sequence that we need to perform on the ANS so it won't write to random memory...
#asahi · 2021-08-14 18:06
pipcet[m]kettenis: well, without getting into the "accept hardware in any reasonable state it is in" argument, I really don't see the benefit. DTs are perfectly happy expressing the relationship, and it's legitimate to open a mailbox channel you might never use..
#asahi · 2021-08-14 18:04
pipcet[m]why?
#asahi · 2021-08-14 18:02
pipcet[m]but do we need to start it to get things working?
#asahi · 2021-08-14 18:02
pipcet[m]yes, it does.
#asahi · 2021-08-14 17:43
pipcet[m]sven: I got it to work here, found some (very) minor things but it seems to be working (and yes, I realize it'll eat all my data)
#asahi · 2021-08-14 17:33
pipcet[m]alyssa: that is awesome! If you put it up somewhere, I can see whether wifi works :-)
#asahi · 2021-08-14 12:25
pipcet[m]sven: what are you going to work on next?
#asahi · 2021-08-14 10:00
pipcet[m]hmm, what's a good way of crashing the ANS coprocessor so it writes something other than 0xefefefef to the crashlog?
#asahi · 2021-08-14 08:04
pipcet[m]I meant I can look at it when the server's back up
#asahi · 2021-08-14 08:03
pipcet[m]oh, okay. I can look at your keyboard stuff then, I suppose :-)
#asahi · 2021-08-14 07:55
pipcet[m]j_ey: is gitlab.arm.com down?
#asahi · 2021-08-14 06:17
pipcet[m]yes, I think that's the layout of those weird "function" nodes: the first four bytes are the phandle, then the fourcc code, then any arguments.
#asahi · 2021-08-12 14:42
pipcet[m]ng
#asahi · 2021-08-12 13:36
pipcet[m]yeah, no big deal :-)
#asahi · 2021-08-12 13:32
pipcet[m] https://github.com/devicetree-org/dt-schema/blob/master/schemas/property-units.yaml
#asahi · 2021-08-12 13:32
pipcet[m]- DO use common property unit suffixes for properties with scientific units.

plus ›