#
✕ nick:yuka
#asahi-dev · 2026-07-25 16:59
yukajannau: https://cyberchaos.dev/yuka/linux/-/commit/135c86f1ce1fa83131fc4b627ba544f92ea17772
#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: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:17
yukamore like use_dma_iommu?
#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:01
yukacould be my kernel config
#asahi-dev · 2026-07-25 15:52
yukaAha, this is downstream stuff
#asahi-dev · 2026-07-25 15:45
yukaand it's using the unmodified driver and fw for that, correct?
#asahi-dev · 2026-07-25 15:38
yukawere the gigabit ethernet cards in previous mac minis also brcm tg3?
#asahi-dev · 2026-07-25 15:38
yukahmm, wifi/bluetooth/ethernet show up in lspci, but the driver for ethernet does not probe: Unable to obtain 64 bit DMA for consistent allocations
#asahi-dev · 2026-07-25 12:32
yukado I add a generic aliases mechanism or do I just add this case in dt_append_atc_tunable?
#asahi-dev · 2026-07-25 12:32
yukaI guess it should be handled like an alias
#asahi-dev · 2026-07-25 12:31
yuka_think different_
#asahi-dev · 2026-07-25 12:31
yukaThe M4 Mac mini is literally the only device I have where that atcphy tunable is called ATCAXI2AF. all newer devices use ATC0AXI2AF again
#asahi-dev · 2026-07-25 12:03
yukathere's still commented out code in there
#asahi-dev · 2026-07-25 11:22
yukawill try once more with everything removed from the dt except aic and serial
#asahi-dev · 2026-07-25 11:21
yukagetting >5min uptime sitting in m1n1, but once I load linux it reboots after 3-4mins (even without watchdog node and with pd_ignore_unused). weird
#asahi-dev · 2026-07-25 11:09
yukaif m1n1 doesn't re-arm it before booting linux
#asahi-dev · 2026-07-25 11:08
yukabut doesn't even seem to be watchdog
#asahi-dev · 2026-07-25 11:08
yukabut now I can't get past 4 minutes
#asahi-dev · 2026-07-25 11:08
yukaat some point
#asahi-dev · 2026-07-25 11:08
yukaat least I was sure I had tested a linux update of 10+ minutes
#asahi-dev · 2026-07-25 11:07
yukaI think it changed again with some recent iboot/firmware update :(
#asahi-dev · 2026-07-25 11:02
yuka(I looked in m1n1 payload / kboot)
#asahi-dev · 2026-07-25 11:02
yukaor does the linux driver reenable it by itself
#asahi-dev · 2026-07-25 11:01
yukabut jannau said something like this recently
#asahi-dev · 2026-07-25 11:01
yukaQuick question: where is the wdt re-enabled when booting linux? I couldn't find it
#asahi-dev · 2026-07-25 11:01
yuka/ iboot version
#asahi-dev · 2026-07-25 11:01
yukaunclear
#asahi-dev · 2026-07-25 11:00
yukathough that might also be a firmware version thing
#asahi-dev · 2026-07-25 11:00
yukatunable_ATC0AXI2AF vs tunable_ATCAXI2AF
#asahi-dev · 2026-07-25 11:00
yukaonly thing is one tunable is named differently
#asahi-dev · 2026-07-25 11:00
yukayes
#asahi-dev · 2026-07-25 10:59
yukayes
#asahi-dev · 2026-07-25 10:59
yukaOn M4 Mac mini
#asahi-dev · 2026-07-25 10:59
yuka> Bus 002 Device 002: ID 0bda:8156 CMI USB 10/100/1G/2.5G LAN
#asahi-dev · 2026-07-25 10:10
yukaalso read: https://asahilinux.org/docs/platform/introduction/#recoveryos-and-1tr
#asahi-dev · 2026-07-25 10:10
yukapossible
#asahi-dev · 2026-07-25 10:09
yukayes: https://asahilinux.org/docs/sw/m1n1-user-guide/#installation
#asahi-dev · 2026-07-25 10:07
yukaand there is no support for M4 in the installer so it's a very manual process of installing a recent beta/RC into a separate partition, install m1n1 as custom kernel object via the 1TR recovery, and then pushing the kernel/initrd to the device via usb every time
#asahi-dev · 2026-07-25 10:05
yukaTurboRigby[m] fwiw asahi-wip should have a basic device tree for your device, just that ~0 of the hardware is included/supported (no nvme, no pcie, no usb, no wifi/bt, no keyboard/touchpad...), so no point in booting it unless you have something specific to test

plus ›