#asahi-dev · 2026-07-25 17:05
yukaAha!#asahi-dev · 2026-07-25 17:04
yukaI swear one of the mac minis had the port1 disabled, and then overrides the iommu-map like this#asahi-dev · 2026-07-25 17:03
yukaehhh#asahi-dev · 2026-07-25 17:03
yuka*t8112-j473#asahi-dev · 2026-07-25 17:03
yukat8103-j457#asahi-dev · 2026-07-25 17:02
yukawhich one was it#asahi-dev · 2026-07-25 17:02
yukasorry#asahi-dev · 2026-07-25 17:02
yukaI will try what you pasted, but I'm following t8103-j274.dts#asahi-dev · 2026-07-25 17:02
jannaunote that you're overriding it in t8132-j773g.dts#asahi-dev · 2026-07-25 17:01
jannauyuka: I think iommu-map should be https://paste.debian.net/hidden/937709b0#asahi-dev · 2026-07-25 16:59
yukajannau: https://cyberchaos.dev/yuka/linux/-/commit/135c86f1ce1fa83131fc4b627ba544f92ea17772#asahi-dev · 2026-07-25 16:53
svenTTY> hv_sprr[0]: first gexit -> 0xfffffe0012b801a4 (ASPSR 0x2)#asahi-dev · 2026-07-25 16:53
svenTTY> hv_sprr[0]: SPRR_PERM_EL1 0x2020a5053020f0f0 -> 0x2020a5063020f0e0#asahi-dev · 2026-07-25 16:53
svenbut, progress \o/ now just gotta figure out why the SP seems wrong after that gexit: TTY> hv_sprr[0]: first genter #0 from 0xfffffe0012b801a4 -> 0xfffffe00135a5a1c#asahi-dev · 2026-07-25 16:52
svengah, probably something wrong with the SP. and here i thought i understood how GXF works :/#asahi-dev · 2026-07-25 16:51
jannauyuka: can you pastebin your t8132 pcie nodes?#asahi-dev · 2026-07-25 16:50
jannausofus: samples weren't complete. I'll retest#asahi-dev · 2026-07-25 16:48
yukaOkay I was missing APPLE_ADMAC but it's still failing (but I can now re-test all the device tree variations again)#asahi-dev · 2026-07-25 16:40
sofusjust ffmpeg (software decoder)#asahi-dev · 2026-07-25 16:39
jannauFedora-Asahi-Remix#asahi-dev · 2026-07-25 16:39
svenyay, xnu survives my first emulated genter and then immediately dies at gexit :D#asahi-dev · 2026-07-25 16:39
sofuswhat is FAR?#asahi-dev · 2026-07-25 16:37
jannauI'm testing on FAR so that will not work at all#asahi-dev · 2026-07-25 16:37
sofustry using FFmpeg-H.264 as the decoder? easy way to check#asahi-dev · 2026-07-25 16:36
jannaunot sure if checked if the h264 samples are complete. the server was blocking me#asahi-dev · 2026-07-25 16:31
sofusthat did not change anything#asahi-dev · 2026-07-25 16:29
sofuswait i have some local changes#asahi-dev · 2026-07-25 16:28
sofusGStreamer-H.264-V4L2SL. I just tested it again#asahi-dev · 2026-07-25 16:22
jannausofus: which decoder are you using on linux? JVT-AVC_V1 passes only 28/135 with GStreamer-H.264-V4L2SL on t6020 here#asahi-dev · 2026-07-25 16:19
jannauI suspect 'iommu-map*' in the pcie devicetree node#asahi-dev · 2026-07-25 16:18
yukaI will find out why it doesn't return true#asahi-dev · 2026-07-25 16:18
yukayes#asahi-dev · 2026-07-25 16:18
jannauuse_dma_iommu() should return true. do you have CONFIG_IOMMU_DMA=y?#asahi-dev · 2026-07-25 16:17
yukamore like use_dma_iommu?#asahi-dev · 2026-07-25 16:17
jannauI don't think it should call dma_direct_supported()#asahi-dev · 2026-07-25 16:14
yukait's difficult to tell if any of the code path should already have returned earlier, since it checks for many ways that dma would be supported#asahi-dev · 2026-07-25 16:13
yukamask=7fffffff, phys_to_dma_unencrypted(dev, min_mask)=103e08fffff#asahi-dev · 2026-07-25 16:13
yukait goes to dma_supported() -> dma_direct_supported() when then returns 0 because the mask is < "phys_to_dma_unencrypted(dev, min_mask)"#asahi-dev · 2026-07-25 16:08
yukabut no#asahi-dev · 2026-07-25 16:08
yuka*ZONE_DMA#asahi-dev · 2026-07-25 16:07
yuka(config option)#asahi-dev · 2026-07-25 16:07
yukaDMA_ZONE maybe#asahi-dev · 2026-07-25 16:02
yuka(USB works in the same config)#asahi-dev · 2026-07-25 16:02
yukayes to all of them#asahi-dev · 2026-07-25 16:02
jannau16k page size, iommu / dart support?#asahi-dev · 2026-07-25 16:01
jannauthe wider address space shouldn't be an issue since the mac mini with m2 pro works with tg3 as well#asahi-dev · 2026-07-25 16:01
yukacould be my kernel config#asahi-dev · 2026-07-25 16:00
jannaunot sure why dma_set_coherent_mask() would fail. it should not with iommu. maybe print the error and follow the failure path up#asahi-dev · 2026-07-25 15:54
jannauI don't think it'll help, different issue than I assumed\#asahi-dev · 2026-07-25 15:52
yukaAha, this is downstream stuff