#
✕ nick:marcan
#asahi · 2021-08-09 12:27
marcanwe never settled on the issue of the clock dependencies, right?
#asahi · 2021-08-09 12:27
marcanshould get there this week
#asahi · 2021-08-09 12:27
marcanalright, if nobody else wants to take those, after I get the installer PoC done I'll get in kernel mode for a while and work on that
#asahi · 2021-08-09 12:26
marcanyup
#asahi · 2021-08-09 12:26
marcanthat then makes the keyboard work, and the USB-PD stuff doable
#asahi · 2021-08-09 12:26
marcani2c and spi are dumb things we should tick off
#asahi · 2021-08-09 12:26
marcanI can take over that if you want
#asahi · 2021-08-09 12:25
marcan(upstream I mean)
#asahi · 2021-08-09 12:25
marcansven: no i2c still either, right?
#asahi · 2021-08-09 12:25
marcanthere's lots of little loose ends to be tied
#asahi · 2021-08-09 12:25
marcanand seeing how much of that I can get into 5.16
#asahi · 2021-08-09 12:24
marcanI'd rather get back in kernel mode and start putting together pieces, maybe write a few drivers
#asahi · 2021-08-09 12:24
marcanah nah, if you're okay with leaving it for 5.16 we can just do it like that
#asahi · 2021-08-09 12:24
marcanwhich is probably another reason why we shouldn't worry too much about distros shipping 5.15, too late for that
#asahi · 2021-08-09 12:23
marcanuntil that's done we can't really hope for smooth upgrades
#asahi · 2021-08-09 12:23
marcankeep in mind we have a backwards compat break ahead of us anyway in the power/clock driver stuff, which is why I really should push for that
#asahi · 2021-08-09 12:22
marcanarnd: how important is it to get the DT updates in for this round for whatever works so far, vs waiting until the other pieces fall in place a bit better?
#asahi · 2021-08-09 12:22
marcani.e. dumping out a rootfs
#asahi · 2021-08-09 12:21
marcanwe're mostly going to be handling installation for distros, at least initially, I expect
#asahi · 2021-08-09 12:21
marcanyeah
#asahi · 2021-08-09 12:19
marcantbh I think it's wishful thinking to expect much from distros this early, but if we can get things in real nice shape for the *next* LTS, that's definitely something to aim for... :-)
#asahi · 2021-08-09 12:16
marcanyeah, sounds like it
#asahi · 2021-08-09 12:08
marcanI've been doing all the fun DCP/HV/etc reversing and alyssa wants me to look into graphics ASAP, but I think I need to spend some time getting all the non-fun stuff done for a change :p
#asahi · 2021-08-09 12:08
marcanalso I might have to prioritize the clock stuff because even though nobody cares it's kind of important for DT correctness :)
#asahi · 2021-08-09 12:07
marcanI've been neglecting the kernel side, I'll catch up this week
#asahi · 2021-08-09 12:07
marcanarnd: I *think* with DART that means USB should work, but there was a PHY binding thing, I think sven knows more
#asahi · 2021-08-09 10:42
marcanwould be interesting to copy some DAPF settings and poke around
#asahi · 2021-08-09 10:42
marcanmaybe SIO needs something like that
#asahi · 2021-08-09 10:42
marcansven: so on the DCP DART stream #15 is mapped out in DAPF to all RAM IIRC
#asahi · 2021-08-09 10:41
marcanacio is the thunderbolt *controller* dart
#asahi · 2021-08-09 10:40
marcanis there a DART features bit that just happens to be set on these DARTs (and not others)?
#asahi · 2021-08-09 10:39
marcanSIO DART, DAPF one page later as usual right?
#asahi · 2021-08-09 10:39
marcanthis sounds interesting, I'll probe around later
#asahi · 2021-08-09 10:39
marcan"no ttbr" doesn't just mean TTBR is unconfigured, right?
#asahi · 2021-08-09 10:38
marcanwild idea: this is a VM thing and #15 is meant for a hypervisor to set up 2-stage DART translations
#asahi · 2021-08-09 10:37
marcanah
#asahi · 2021-08-09 10:37
marcanso you're saying the DART goes through the DART?
#asahi · 2021-08-09 10:37
marcanhuh
#asahi · 2021-08-09 10:36
marcanthis is if you *don't* set #15 to bypass?
#asahi · 2021-08-09 10:35
marcanyou mean the pagetable is also locked out from the AP?
#asahi · 2021-08-09 10:34
marcanso maybe the reason DART is locked is that #15
#asahi · 2021-08-09 10:33
marcanyeah
#asahi · 2021-08-09 10:33
marcanso clearly they're trying to protect DCP from the AP to some extent, much like DART protects the AP from DCP
#asahi · 2021-08-09 10:32
marcanso are some MMIO mappings, and that weird stream #15 backdoor
#asahi · 2021-08-09 10:32
marcanwhich is locked together with the DART
#asahi · 2021-08-09 10:32
marcanI think the DCP firmware is mapped via DAPF
#asahi · 2021-08-09 10:31
marcanj_ey: protecting the firmware, for one, I think
#asahi · 2021-08-09 10:29
marcanthat should be implemented together with mapping adoption from the bootloader, since the two problems kind of go together
#asahi · 2021-08-09 10:28
marcanthe page table isn't locked, only the registers are
#asahi · 2021-08-09 09:49
marcan:o nice!

plus ›