#
✕ nick:marcan
#asahi-dev · 2022-02-28 14:01
marcanI'm not expecting all this stuff to magically work on future SoCs; I'm mostly betting on being able to get to the point where linux-asahi is today (except audio)
#asahi-dev · 2022-02-28 14:00
marcanyeah
#asahi-dev · 2022-02-28 13:59
marcanapple moved the fuses around for pcie too, I think the fusemap isn't stable
#asahi-dev · 2022-02-28 13:58
marcanheh, fair
#asahi-dev · 2022-02-28 13:58
marcanah
#asahi-dev · 2022-02-28 13:58
marcan(we do know they move the fuses around, so it's good we have the whole nvmem mechanism for that)
#asahi-dev · 2022-02-28 13:57
marcansince in this case it is compatible
#asahi-dev · 2022-02-28 13:57
marcanand the t6000 one could be apple,t6000-atcphy, apple,t8103-atcphy
#asahi-dev · 2022-02-28 13:57
marcananyway, we probably shouldn't have too high hopes of cross-compat for these phys, and robher doesn't really like having millions of generic DT names, so for this one it might make sense to just call it apple,t8103-atcphy
#asahi-dev · 2022-02-28 13:56
marcanI wonder why the extra fuses...
#asahi-dev · 2022-02-28 13:55
marcanah
#asahi-dev · 2022-02-28 13:55
marcando we know what the fuses do? (reg names for these?)
#asahi-dev · 2022-02-28 13:54
marcansven: check for the extra fuses and decide that way?
#asahi-dev · 2022-02-28 06:30
marcan(or both)
#asahi-dev · 2022-02-27 16:36
marcanah, sure
#asahi-dev · 2022-02-27 15:26
marcanfor stuff that isn't a hardware difference like this?
#asahi-dev · 2022-02-27 15:22
marcanbut in the meantime, we should just bail if TCRs are set
#asahi-dev · 2022-02-27 15:22
marcanso it still complains for darts that shouldn't handoff
#asahi-dev · 2022-02-27 15:22
marcanI think we should have a property like apple,dart-handoff to tell the driver handoff is expected
#asahi-dev · 2022-02-27 15:22
marcanyeah, but... ew
#asahi-dev · 2022-02-27 15:18
marcanso it should be backported
#asahi-dev · 2022-02-27 15:18
marcanI'll send it as stable
#asahi-dev · 2022-02-27 15:17
marcanok
#asahi-dev · 2022-02-27 15:16
marcanwanna send the patch or should I?
#asahi-dev · 2022-02-27 15:15
marcanfirmware bug really
#asahi-dev · 2022-02-27 15:13
marcanmaybe just warn for bypass mode
#asahi-dev · 2022-02-27 15:13
marcanunder the argument that a bootloader smart enough to use non-bypass mode really should be cleaning up after itself
#asahi-dev · 2022-02-27 15:13
marcanwe could only bail if any streams are in non-bypass mode
#asahi-dev · 2022-02-27 15:10
marcantoday, without a binding change, we could have the driver check the streams and refuse to probe if any are enabled (even in bypass), which honestly would qualify as a firmware bug in my book (does u-boot clear them?)
#asahi-dev · 2022-02-27 15:08
marcansven: what do you think about sending out a fixes patch to future-proof the disp0 DART stuff?
#asahi-dev · 2022-02-26 12:35
marcansame as I wrote a generic one for SPMI
#asahi-dev · 2022-02-26 12:35
marcansven: is there no generic driver that can just do that?
#asahi-dev · 2022-02-26 11:41
marcanbut I mean, there's DAIF if you want to just turn off IRQs/FIQs at the CPU level
#asahi-dev · 2022-02-26 11:40
marcancorrect
#asahi-dev · 2022-02-26 11:39
marcanoh, sure, you can just turn it off on the others
#asahi-dev · 2022-02-26 11:39
marcanI suspect theres more than one priority
#asahi-dev · 2022-02-26 11:39
marcanfeel free to poke around
#asahi-dev · 2022-02-26 11:39
marcankettenis: not yet, but it has two bits, so there's more than two modes
#asahi-dev · 2022-02-26 11:05
marcanno particular responsibilities expected, but feel free to nuke this kind of nonsense on sight :-)
#asahi-dev · 2022-02-26 11:04
marcanjannau, sven, alyssa: congrats, you're now on the op list
#asahi-dev · 2022-02-25 11:45
marcanso 0.5% or so?
#asahi-dev · 2022-02-25 11:44
marcanha, nice
#asahi-dev · 2022-02-24 13:08
marcanmaz: off it goes :)
#asahi-dev · 2022-02-24 11:47
marcanI'll just send my stuff as is then
#asahi-dev · 2022-02-24 11:43
marcanI also just realized that PMU means two things now... the CPU thing and Apple's term for a PMIC...
#asahi-dev · 2022-02-24 11:43
marcanmaz: how do you want to handle the AIC PMU support series? you rebase on top of me, me on top of you, or merge conflict? :)
#asahi-dev · 2022-02-23 13:42
marcanhttps://docs.kernel.org/driver-api/nvmem.html
#asahi-dev · 2022-02-23 13:40
marcansven: fuses is what the nvmem stuff was made for!
#asahi-dev · 2022-02-23 12:02
marcanI'm clearly distracted today :p
#asahi-dev · 2022-02-23 12:02
marcan*a bad idea

plus ›