#asahi-dev · 2023-07-20 12:53
_jannau__j`ey: is merged (I think in 6.2)#asahi-dev · 2023-07-20 12:52
alyssa_jannau__: makes sense :)#asahi-dev · 2023-07-20 12:51
j`eywhat happened with that series from thierry?#asahi-dev · 2023-07-20 12:50
_jannau__I plan however to submit the iommu dependencies soon#asahi-dev · 2023-07-20 12:50
_jannau__I'd like to have at least the 2 firmware versions support and basic dcpext support user tested before thinking of submitting it#asahi-dev · 2023-07-20 12:48
_jannau__so this should be only an issue if the lenght is not a multiple of 16k#asahi-dev · 2023-07-20 12:46
_jannau__dart certainly can't support a scatterlist out of discontinuous 4k pages even if offset and length are 16k aligned#asahi-dev · 2023-07-20 12:45
_jannau__my understanding from Lina's 4k patches was that DMA allocations are based on 16k folios#asahi-dev · 2023-07-20 12:43
alyssamarcan: https://github.com/jannau/linux/commit/9fbd4119b479213bf020ab631beb0b0468bbdf61 <-- will this still be ok for 4K kernels?#asahi-dev · 2023-07-20 12:41
alyssajannau: with that gone, you must be getting close to submitting your driver upstream, yeah?#asahi-dev · 2023-07-20 12:35
chadmedand i may or may not have a surprise in store for the 13" machines #asahi-dev · 2023-07-20 12:35
chadmedand thats the 14" (and maybe 16") machines done#asahi-dev · 2023-07-20 12:34
chadmedonly thing we're really waiting on now is the wireplumber changes to land in 0.5#asahi-dev · 2023-07-20 12:34
chadmedok i think the bass thing is pretty much good to go#asahi-dev · 2023-07-20 08:30
marcanack#asahi-dev · 2023-07-20 08:06
jannauthe elemination of the piodma driver and using an unmanaged iommu domain for it requires the dart changes as well#asahi-dev · 2023-07-20 08:05
jannauupdating how locked darts are handled. This is required for dispext* on M2 and presumedly t602x#asahi-dev · 2023-07-20 08:02
jannau000-devicetree and 200-dcp are simple fast forward updates but bits/020-dart is almost a complete rewrite#asahi-dev · 2023-07-20 08:01
jannaumarcan: please pull bits/000-devicetree, bits/020-dart and bits/200-dcp from https://github.com/jannau/linux#asahi-dev · 2023-07-20 00:28
alyssa🙃#asahi-dev · 2023-07-20 00:28
alyssajannau: awesome! I can't believe that code ever made it into the driver in the first place...#asahi-dev · 2023-07-20 00:27
alyssa07:06 <jannau> nice, the dummy_piodma module and driver is gone and so is the unsafe dma_get_sgtable/dma_map_sgtable usage #asahi-dev · 2023-07-19 08:05
svenI think he mentioned that it’s usually easier to reach him by mail #asahi-dev · 2023-07-19 07:53
chadmedaxboe: are you still running your 16" macbook pro with the speakers enabled? #asahi-dev · 2023-07-19 07:08
svennice :)#asahi-dev · 2023-07-19 07:06
jannaunice, the dummy_piodma module and driver is gone and so is the unsafe dma_get_sgtable/dma_map_sgtable usage#asahi-dev · 2023-07-18 20:11
jannauhttps://github.com/intel/thunderbolt-utils/issues/1#asahi-dev · 2023-07-18 20:10
mps`make LIBTBT_EXEC=./lstbt`#asahi-dev · 2023-07-18 20:08
mpsit meant to run make as root :)#asahi-dev · 2023-07-18 20:08
mpsyes, had to tweak this#asahi-dev · 2023-07-18 20:07
svenlol#asahi-dev · 2023-07-18 20:07
jannauhigh quality Makefile: "gcc -g -Wall -W -O2 -o /usr/bin/lstbt $(OBJECTS) -lm"#asahi-dev · 2023-07-18 20:06
svenyeah, it’s not gonna work at all #asahi-dev · 2023-07-18 20:05
svenprobably not gonna work actually because I think they directly access some HW that apple moved around afaict #asahi-dev · 2023-07-18 20:01
svenunless they hardcoded some PCI stuff to access/control the NHI#asahi-dev · 2023-07-18 20:00
svenoh wait #asahi-dev · 2023-07-18 20:00
svenjannau: id expect a bunch of small incompatibilities but in theory it should work #asahi-dev · 2023-07-18 19:59
povikyou mean there's another way? :D#asahi-dev · 2023-07-18 19:57
ChaosPrincessand i really dont like their code, they enumerate stuff by shelling out to bash and using bash globs.#asahi-dev · 2023-07-18 19:56
ChaosPrincessseems like it just reads sysfs#asahi-dev · 2023-07-18 19:54
mpsaha, that is#asahi-dev · 2023-07-18 19:54
jannau"will work" == "will work once we have thunderbolt support". there is no thunderbolt in asahi#asahi-dev · 2023-07-18 19:53
mps"thunderbolt can't be found"#asahi-dev · 2023-07-18 19:52
mpsjannau: do we have thunderbolt in asahi 6.3-13 kernel. I built thunderbolt-utils but it says something 'no thunderbolt'#asahi-dev · 2023-07-18 19:51
jannauanyone willing to take bets whether https://github.com/intel/thunderbolt-utils will work unmodified?#asahi-dev · 2023-07-18 17:55
jannauit means I have to add special blocked domain handling for locked DARTs but otherwise it should be ok to leave the TTBRs after disabling DMA#asahi-dev · 2023-07-18 17:39
jannauit looks like it is fine otherwise as well since the iommu code switches to the blocking domain#asahi-dev · 2023-07-18 17:37
jannausven: apple_dart_domain_free() is fine as is. it's called on the previous domain after switching#asahi-dev · 2023-07-18 12:34
chadmedand that will still be there when we ship :P#asahi-dev · 2023-07-18 12:29
poviktimeless