#
✕ nick:jannau
#asahi-dev · 2025-09-05 14:40
jannauyou should not need to do anything specific
#asahi-dev · 2025-09-05 14:37
jannaufeel free to ask more questions
#asahi-dev · 2025-09-05 14:33
jannauI forgot that ane did this
#asahi-dev · 2025-09-05 14:32
jannauhttps://github.com/AsahiLinux/linux/blob/asahi/drivers/accel/ivpu/ivpu_gem.c could be a good reference
#asahi-dev · 2025-09-05 14:31
jannauin first approximation it shouldn't access dart directly but use the dma api and gem-shmem helpers
#asahi-dev · 2025-09-05 14:06
jannaualexaltea: can you point to the specific code. I don't quite follow what you're asking
#asahi-dev · 2025-09-04 21:44
jannauas usual I was tripped up by negation and &&
#asahi-dev · 2025-09-04 21:44
jannauI'm not sure I just noticed that I added 'dma-coherent;' only to the t60xx device trees. But I was never sure if that's needed at all
#asahi-dev · 2025-09-04 21:39
jannaui.e. if the size is smaller than 128 or the cache line size
#asahi-dev · 2025-09-04 21:36
jannauit is not or? "return !dma_kmalloc_safe(dev, dir) && !dma_kmalloc_size_aligned(size);"
#asahi-dev · 2025-09-04 21:29
jannauit uses swiotlb if the size is not page alligned: https://elixir.bootlin.com/linux/v6.16.3/source/drivers/iommu/dma-iommu.c#L595
#asahi-dev · 2025-09-04 21:25
jannauwhich is x86 only
#asahi-dev · 2025-09-04 21:24
jannaubased on arch_pci_dev_is_removable()
#asahi-dev · 2025-09-04 21:23
jannauI haven't looked where/how untrusted is set
#asahi-dev · 2025-09-04 21:22
jannaupci code has external_facing and untrusted
#asahi-dev · 2025-09-04 21:15
jannauthe size is 16384 so it's page aligned
#asahi-dev · 2025-09-04 21:12
jannaunot sure how we would do that. there is the obvious "external-facing" which we don't use
#asahi-dev · 2025-09-04 21:03
jannaudoesn't external/untrusted just disable bypass?
#asahi-dev · 2025-09-04 20:56
jannauthe iommu group with wifi/bt is type DMA
#asahi-dev · 2025-09-04 20:50
jannauhuh, why is brcmfmac using swiotbl? https://paste.debian.net/1394943/
#asahi-dev · 2025-09-04 11:50
jannauI guess I'll keep the sent dt-bindings + driver changes to avoid confusion due to the back and forth
#asahi-dev · 2025-09-04 11:48
jannauchaos_princess: no runtime PM in the gpu driver. firmware does internal power management but that not full power-gating
#asahi-dev · 2025-09-04 11:10
jannauI'm splitted with just moving on and using the generic compatibles at least for t602x
#asahi-dev · 2025-09-04 11:09
jannauany opinions what to do with the generic compatibles after https://lore.kernel.org/asahi/20250902194528.GA1014943-robh@kernel.org/
#asahi-dev · 2025-09-04 11:07
jannaueven upstream t600x has it
#asahi-dev · 2025-09-04 11:05
jannauwe might have upstreamed it accidentally for t8112 (and my current t602x DT contains it as well)
#asahi-dev · 2025-09-04 11:02
jannauisn't your for-upstream dwc3/atc-phy branch evidence enough that it's not strictly needed?
#asahi-dev · 2025-09-04 10:43
jannauhttps://github.com/AsahiLinux/linux/commit/ab020063f0b5319c5475df5b92742a975d94a563
#asahi-dev · 2025-09-04 10:43
jannaudo we want to leave ps_atc*_usb_aon always-on? shouldn't be necessary anymore with atcphy
#asahi-dev · 2025-09-04 10:18
jannaumostly squashing (the speaker enablement history isn't useful) but we also had a few redundant commits
#asahi-dev · 2025-09-04 10:16
jannaushaved off at least 56 commits of bits/000-devicetree (189 -> 133, latter number includes a couple of queued t2 and iphone changes)
#asahi-dev · 2025-09-03 15:23
jannaureplied to the drm-rust tree mail to avoid further confusion
#asahi-dev · 2025-09-03 08:19
jannaudoesn't seem to be any of the usb "TIMEOUT.*5000" defines in linux. I modified those and it's still ~5 seconds
#asahi-dev · 2025-09-03 07:57
jannauinterestingly but unrelated dwc3 uses 5s runtime PM autosuspend delay
#asahi-dev · 2025-09-03 07:56
jannauany idea where the 5 second delay is coming from? atcphy, dwc3 or linux' usb stack? 5 seconds seems to be very long for a HW based timeout
#asahi-dev · 2025-09-02 22:13
jannauand now actually passing dtbs_check
#asahi-dev · 2025-09-02 22:09
jannausven: https://github.com/jannau/linux/commits/wip/atcphy-20250902/ has t600x and t8112 devicetree changes on top of your branch
#asahi-dev · 2025-09-02 21:50
jannauthe timeout on ACIOPHY_TOP_PHY_STAT_LN0_UNK0 doesn't change to ACIOPHY_TOP_PHY_STAT_LN1_UNK0 based on the plug orientation
#asahi-dev · 2025-09-02 21:46
jannaudidn't you want to use usb3/dp mode by for usb3 only anyway as that's what macos does?
#asahi-dev · 2025-09-02 21:45
jannauapproved the m1n1 PR as the weirdness is unlikely to be found there
#asahi-dev · 2025-09-02 21:43
jannauyes, no delay or timeout on ACIOPHY_TOP_PHY_STAT_LN0_UNK0 when using an usb3/dp switch
#asahi-dev · 2025-09-02 21:36
jannaum1 max behaves in the same way as m2
#asahi-dev · 2025-09-02 20:40
jannausame behavior with 90e2c56eccad though
#asahi-dev · 2025-09-02 20:36
jannauthis was 5d4191594cf6
#asahi-dev · 2025-09-02 20:34
jannaustill "timed out waiting for ACIOPHY_TOP_PHY_STAT_LN0_UNK0" but the delay between "hub 3-0:1.0: 1 port detected" and "new SuperSpeed Plus Gen 2x1 USB device" os now only 4.75s
#asahi-dev · 2025-09-02 20:27
jannauon shutdown uas errors drom the usb ssd
#asahi-dev · 2025-09-02 20:14
jannauI don't think I see that with the asahi tree
#asahi-dev · 2025-09-02 20:01
jannauhttps://paste.debian.net/1394584/
#asahi-dev · 2025-09-02 19:38
jannauworks on the m2 mini but still (again?) 5 seconds delay until superspeed devices are detected
#asahi-dev · 2025-09-02 19:37
jannauatcphy refuses to probe without apple,tunable-fuses though

plus ›