#
✕ nick:maz
#asahi-dev · 2024-09-05 13:39
maznickchan: cleaner than?
#asahi-dev · 2024-08-20 19:03
maz(and do that for each and every OS that supports DT).
#asahi-dev · 2024-08-20 19:02
mazif you were really mad (or wanted to write a PhD thesis), you could generate some driver templates from the bindings.
#asahi-dev · 2024-08-20 19:01
mazno
#asahi-dev · 2024-08-20 19:01
mazin practice, there is a large part of "get real" on both sides of the equation.
#asahi-dev · 2024-08-20 19:00
maznickchan: almost. the bindings describe how the devices are supposed to be presented, and the kernel is supposed to follow these rules to parse the DT
#asahi-dev · 2024-08-05 15:21
mazah, lovely. I'll hack something together that doesn't require me to update the DT yet.
#asahi-dev · 2024-08-05 15:17
mazI'm pretty sure my DT is out of date (it doesn't contain any "apple,fan" property, but hopefully I can hack something.
#asahi-dev · 2024-08-05 15:16
mazjannau: yup, found it. thanks.
#asahi-dev · 2024-08-05 15:12
mazchadmed: which branch is this on? this patch calls apple_smc_write_f32_scaled(), which isn't defined.
#asahi-dev · 2024-08-05 08:26
mazchadmed: cheers. poke me when you have something that needs testing -- I think I have the ideal workload! ;-)
#asahi-dev · 2024-08-05 07:58
mazjannau: I'll happily carry such patch if you point me to it.
#asahi-dev · 2024-08-04 09:31
mazanyone knows of an efficient way to add extra cooling to an M2-pro mini? Mine is cooking...
#asahi-dev · 2024-07-30 16:35
mazscreaming*
#asahi-dev · 2024-07-30 16:35
mazyup. I really wish there was a creaming conflict.
#asahi-dev · 2024-07-30 16:29
mazjannau: yeah, DWC3 is the only one I able to use. I'll poke around once I have rebased the NV queue.
#asahi-dev · 2024-07-30 16:23
mazDWC3 is the one with multiple IOMMUs, right?
#asahi-dev · 2024-07-30 16:23
mazI'm restarting with a full tree (I had to reduce the whole thing to 4 branches).
#asahi-dev · 2024-07-30 16:22
mazNo conflicts. it just applied gracefully.
#asahi-dev · 2024-07-30 15:59
mazjannau: reverting "iommu/of: Handle missing iommu_ops as probe deferral in of_iommu_xlate" works around it. it somehow clashes with the new way iommu_ops are handled.
#asahi-dev · 2024-07-30 07:28
mazjannau: ah, that'd explain it. yeah, 6.10 was almost a walk in the park, but 6.11 is a bit more elusive. if doesn't help that I caught something on my way back from the US, leaving me with only 20% of a brain.
#asahi-dev · 2024-07-30 07:05
mazjannau: the darts definitely probe, and nvme works, so *something* is OK. I'll try and track to see whether PCIe correctly attaches to its IOMMU, as I think there were some changes in that area.
#asahi-dev · 2024-07-29 15:11
mazM1 mini still works fine with vanilla upstream, so it must be something related to the M2 pro support that is part of the asahi branch.
#asahi-dev · 2024-07-29 15:09
mazjannau: starting with 6.11-rc1, and it looks like most things related to USB fail to probe correctly (both PCI and DWC3). I'm trying to figure out what went wrong...
#asahi-dev · 2024-07-01 10:28
mazwouldn't trust them as charging cables, but purely for serial data, that's quite neat.
#asahi-dev · 2024-07-01 10:26
maz*USB-C
#asahi-dev · 2024-07-01 10:26
mazfor those using a Central Scrutinizer and being annoyed with the length of standard cables, I just found that the ultra-short USC-C 3.1 cables (13cm) available on eBay work nicely.
#asahi-dev · 2024-06-25 12:30
mazalso, the counter doesn't have to tick at 1GHz. its apparent resolution has to be 1GHz.
#asahi-dev · 2024-06-25 12:29
mazchadmed: so that you can migrate VMs across systems and don't worry about details such as the timer freq.
#asahi-dev · 2024-06-01 11:45
maz2.7v
#asahi-dev · 2024-06-01 11:44
mazamusingly, Apple insists that you must install a BR1632 and not the universal CR1632. Of of course, the machine did contain a CR1632...
#asahi-dev · 2024-06-01 11:43
mazjannau: the battery it was indeed. everything works again after swapping it. I guess that they only last about 3 years.
#asahi-dev · 2024-05-31 13:39
mazI'll find out on Monday when I get the new battery.
#asahi-dev · 2024-05-31 13:38
mazbut clearly macOS is confused about the date as well, so this is pointing in the same direction.
#asahi-dev · 2024-05-31 13:37
mazand setting it again doesn't change the situation.
#asahi-dev · 2024-05-31 13:34
maz"pmset -g " indicated that it was already set....
#asahi-dev · 2024-05-31 13:11
mazordered a couple of batteries, just to rule that out.
#asahi-dev · 2024-05-31 12:55
mazrestarting the box shortly after power-off usually works, but leaving it 2 minutes without power makes it impossible to restart it.
#asahi-dev · 2024-05-31 12:52
mazjannau: the variable was already set to 'true', as expected. I'm starting to wonder whether the internal battery has died, which could explain it.
#asahi-dev · 2024-05-31 12:36
mazand yeah, I normally power off the machine by asking the PDU to pull the plug on it.
#asahi-dev · 2024-05-31 12:35
mazjannau: thanks a bunch, I'll try that now!
#asahi-dev · 2024-05-31 11:53
mazand of course, I can't remember my macos password to go and check the magic option.
#asahi-dev · 2024-05-31 11:53
mazgah. for some reason, my M1 Mini has lost its ability to boot automatically when power is switched on from the PDU, and now requires the power button to be tickled...
#asahi-dev · 2024-05-30 14:41
mazplug*
#asahi-dev · 2024-05-30 14:41
mazjannau: that's far more conventional than what I do: install a debian VM on a spare disk, install m1n1+u-boot on the mac, plus the disk on the mac. then spend the next 30 minutes fixing things...
#asahi-dev · 2024-05-28 07:04
mazjannau: amazing!
#asahi-dev · 2024-05-27 11:03
mazjannau: this looks awesome!
#asahi-dev · 2024-05-16 07:34
mazsven: yeah, I appreciate this is a thankless task...
#asahi-dev · 2024-05-16 07:27
mazanyhow, thanks a lot for the detective work!
#asahi-dev · 2024-05-16 07:25
mazjannau: confirmed. hacking dwc3_power_off_all_roothub_ports() and reverting this patch results in a working setup again. now, what is so special about the M2 Pro that it requires all this?

plus ›