#
✕ nick:sven
#asahi · 2021-10-04 12:15
svenmaybe :/
#asahi · 2021-10-04 12:13
svenmaybe that's enough to unbreak it without breaking xhci/dwc3
#asahi · 2021-10-04 12:13
svenmarcan: ah, btw., i tested the usb isolation thing and that did absolutely nothing. i still have to try what happens if i only set one of the two reset bits in the usb2phy control register though
#asahi · 2021-10-04 12:10
sventhere's no mainline nvme support for m1 yet
#asahi · 2021-10-04 11:14
sven:D
#asahi · 2021-10-04 11:13
svenformal CS education is overrated ;)
#asahi · 2021-10-04 11:12
sveneverything that uses the dma-iommu api via the the dma api as intended will work on 4k kernels. there's some broken code that expects to be able to give the DMA api two 4k pages at A and A+8k and get back a single contiguous mapping for those at A' and A'+4k but well.... nothing we can do there
#asahi · 2021-10-04 10:38
sveni think i'm the only one who almost always runs 4k kernels :D
#asahi · 2021-10-04 10:37
svenit's not upstream yet though
#asahi · 2021-10-04 10:37
sventhere's, uh, a patch series that makes it work for trusted devices
#asahi · 2021-10-04 10:34
sveni guess i worked on i2c, tipd, usb2 reset quirk, rtkit, smc, sart, nvme and some very early atc phy stuff. oh, and the "make dart work on 4k kernels" i should pick up again at some point
#asahi · 2021-10-04 10:31
svenor, well, a usb hub over usb-c
#asahi · 2021-10-04 10:31
svenand ofc there's two ways to implement usb a ports over usb-c :>
#asahi · 2021-10-04 10:31
svenoh, nice!
#asahi · 2021-10-04 10:30
svenprobably :D
#asahi · 2021-10-04 10:25
svendoes that monitor only use display port or does it also have more features it needs usb-c for?
#asahi · 2021-10-04 09:57
sventbt will be even more "fun"
#asahi · 2021-10-04 09:57
sveni'm already happy once usb 3 works :D
#asahi · 2021-10-04 06:10
svenalyssa: yup, welcome to the hell that is usb!
#asahi · 2021-09-29 13:38
svenreally has to try poutine one day
#asahi · 2021-09-29 13:24
svendon't get me wrong, those are pretty impressive. i've just burnt out from the whole secrecy and cat-mouse-game BS
#asahi · 2021-09-29 13:23
sveni specifically enjoy this project because we don't have to rely on any exploits :)
#asahi · 2021-09-29 13:20
sven:(
#asahi · 2021-09-29 13:19
sventhe critical security boundary is 1TR. and you don't get into 1TR without long-pressing the power button
#asahi · 2021-09-29 13:18
svenhm?
#asahi · 2021-09-29 13:17
svenand SEP knows if you are in 1TR or not
#asahi · 2021-09-29 13:17
svenand actually creating a policy for m1n1 as a custom boot object requires you to be booted in to 1TR
#asahi · 2021-09-29 13:17
sventhe SEP gets send some cdhash which is apparently the hash of a signature of the binary or something but if you're running in XNU kernel context you can just fake that
#asahi · 2021-09-29 13:16
svenyou'd "just" need kernel code exec on the AP to give yourself that entitlement
#asahi · 2021-09-29 08:18
sveniirc someone confirmed the 10G nic just a standard chip linux already supports
#asahi · 2021-09-28 17:27
svenalyssa: what, you think you're some kind of Jedi, waving your hand around like that? mind tricks don't work on me! :P
#asahi · 2021-09-28 17:03
svennow... do i want to look into usb3 or do i want to continue hoping that someone else just comes along and enables that? :D
#asahi · 2021-09-28 16:58
svensee marcan's reply. we should be able to use the iboot version from the ADT
#asahi · 2021-09-28 14:20
svenis still waiting for someone to just understand how that all works in detail :>
#asahi · 2021-09-28 14:18
svenkettenis: yeah. for usb3 we need a few pokes to this "CIOPHY" thingy and probably also apply tunables from the ADT
#asahi · 2021-09-28 14:11
sven... or does that also just work by accident and my c-to-a adapter just sucks?
#asahi · 2021-09-28 14:10
svensure, but the usb3 phy on the type c ports isn't up
#asahi · 2021-09-28 14:09
svendon't think the macbook air has those though
#asahi · 2021-09-28 14:08
svenyup
#asahi · 2021-09-28 14:07
sven(i.e. same as on the mini usb c ports)
#asahi · 2021-09-28 14:06
svenonly usb 2 though
#asahi · 2021-09-28 14:06
svenhopefully
#asahi · 2021-09-28 13:42
svenoh, true. we don't even need to rely on the firmware hash in the ADT
#asahi · 2021-09-28 13:41
sven(except for that general rtkit version but that stays the same even when the dcp protocol changes)
#asahi · 2021-09-28 13:41
svenmore seriously though, i don't expect DCP to have a "get firmware version" call because it's always going to be paired to a kernel anyway
#asahi · 2021-09-28 13:40
svenj_ey: and i proposed two amazing solutions alyssa just didn't like for some reason :p
#asahi · 2021-09-27 20:31
svenyou just never like my best idea :<
#asahi · 2021-09-27 20:27
svenyou could trigger a recoverable crash to get the version from the crashlog!
#asahi · 2021-09-27 20:27
svenohhh. i have another idea! i'm sure you'll like it! :>
#asahi · 2021-09-27 20:26
svenhm, i think the hash or something of the firmware is in the ADT if all else fails

plus ›