#
✕ nick:maz
#asahi-dev · 2025-04-04 09:03
mazhuh, what a mess.
#asahi-dev · 2025-04-04 08:55
mazdo we have a native driver for the switch in this box? or relying on the generic Linux code?
#asahi-dev · 2025-04-04 08:54
mazI usually have to play all sort of command-line tricks to deal with PCIe switches...
#asahi-dev · 2025-04-04 08:52
mazyeah. it would take my M1 studio to die on me to be able to justify it. and even then, a 128 core Altra could make more sense, given what I do with it.
#asahi-dev · 2025-04-04 08:30
mazjannau: huh, right. oh well, less code anyway, and additional functionality. too bad I can't afford that box! :)
#asahi-dev · 2025-04-04 08:27
mazjannau: what was preventing this from working before my changes? I didn't really expect any functional difference with them.
#asahi-dev · 2025-04-01 08:19
mazbut on the other hand, I'd never run -stable.
#asahi-dev · 2025-04-01 08:17
mazalyssa: it's definitely at least 1, since bare upstream is all I'm running on my m1 mini. everything else requires tons of patches though.
#asahi-dev · 2025-03-31 11:17
mazI'll add the reference to this commit as a justification.
#asahi-dev · 2025-03-31 11:17
mazlet's see if we have better luck this time. if they are annoyed by that, they can drop the cc stable themselves.
#asahi-dev · 2025-03-31 11:13
mazjannau: ah, fair enough. I'll reorder the series before reposting it then.
#asahi-dev · 2025-03-31 09:48
mazjannau: do we really need the backport to stable of "PCI: apple: Set only available ports up"? prior versions of Asahi don't need to take the backport, and upstream doesn't really care yet. but maybe you have other plans for it that would require backporting?
#asahi-dev · 2025-03-25 10:30
mazjannau: alyssa: posted v2 of the t6020 PCIe patches. bit more invasive than the initial drop, but I think the overall result is cleaner. feedback welcome.
#asahi-dev · 2025-03-17 19:34
mazI'm going to turn a blind eye on them for now, as things seem to be working OK on both t8103 and t6020 with my current set of changes.
#asahi-dev · 2025-03-17 19:32
mazthey are indeed totally separate. and poking at them instead of PORT_LTSSMCTL doesn't seem to result in anything remotely useful.
#asahi-dev · 2025-03-17 19:01
mazjannau: I guess there is nothing really needed from a functional pov there, so I'll keep ignoring it for now.
#asahi-dev · 2025-03-17 18:08
mazdo you happen to know what this is about?
#asahi-dev · 2025-03-17 18:08
mazhowever, the driver always pokes at a fix offset in the port range.
#asahi-dev · 2025-03-17 18:07
mazjannau: I'm looking at respinning the t602x PCIe patches again, and noticed that the DT describes per-port LTSSM ranges.
#asahi-dev · 2025-03-16 12:50
mazI need at least SMC and DART support in order to test things on my M2-pro.
#asahi-dev · 2025-03-16 12:49
mazsven: btw, SMC is an implicit requirement for the PCIe patches. the PCIe driver works without, of course, but nothing is functional without SMC.
#asahi-dev · 2025-03-16 11:52
mazsame difference. easy enough to plug in as an afterthought.
#asahi-dev · 2025-03-16 11:46
mazexactly. the driver can always be extended with a new compatible string, should the need arise. it's not like SMC is open for people to plug random stuff into it anyway.
#asahi-dev · 2025-03-16 11:36
mazhonestly, the fact that SMC isn't upstream is a massive drag. whatever helps moving this upstream gets my (relatively insignificant) vote.
#asahi-dev · 2025-03-16 09:48
mazmischa85: thanks for that. I'll have a look shortly.
#asahi-dev · 2025-03-14 15:46
mazthanks!
#asahi-dev · 2025-03-14 15:41
mazmischa85_: if you get there, I'll happily take patches.
#asahi-dev · 2025-03-14 14:44
mazalternatively, you can spend some quality time hacking the CS firmware to support higher baud dates. shouldn't be too hard...
#asahi-dev · 2025-03-14 14:37
mazit works, just slowly.
#asahi-dev · 2025-03-14 14:36
mazah, you're then stuck to 115200 then.
#asahi-dev · 2025-03-14 14:36
mazthat's a direct USB2 connection to the target.
#asahi-dev · 2025-03-14 14:36
mazif you want to interact with the proxy, you need to use the micro-usb connector on the CS itself.
#asahi-dev · 2025-03-14 14:35
mazthat's only for the serial console.
#asahi-dev · 2025-03-14 14:35
mazthe only significant baud-rate is for the serial console, and that's firmly set to 115200 in the CS firmware.
#asahi-dev · 2025-03-14 14:34
mazagain, if you're using the USB passthrough that the CS is giving you, there is no baud-rate to speak of.
#asahi-dev · 2025-03-14 14:33
mazif you're using a USB connection, this isn't a real serial connection, so the baud rate is irrelevant.
#asahi-dev · 2025-03-07 15:35
mazbut if all you want is cycles and instructions executed, you will get that.
#asahi-dev · 2025-03-07 15:33
mazalyssa: we don't expose many events in the guest, as the PMUv3 events do not really match the M1/M2 events.
#asahi-dev · 2025-03-07 14:17
mazjannau: it was the whole point of this exercise. hopefully we can take this into 6.15 (I need to go once more over the details).
#asahi-dev · 2025-03-05 22:45
mazsounds like TRBE.
#asahi-dev · 2025-02-27 19:06
mazguess I'll rework the series once I'm on "holiday" in two weeks.
#asahi-dev · 2025-02-27 19:06
mazso I happen to have this box keeping my feet warm.
#asahi-dev · 2025-02-27 19:05
mazbingo.
#asahi-dev · 2025-02-27 19:05
maz"compatible = "apple,t6020-pcie";"
#asahi-dev · 2025-02-27 18:53
mazhmm, only M2 pro here.
#asahi-dev · 2025-02-27 18:47
maz:/
#asahi-dev · 2025-02-27 18:44
mazalyssa: are you going to respin the PCIe patches?
#asahi-dev · 2025-02-27 15:48
mazalyssa: it's like cycling. :)
#asahi-dev · 2025-02-27 15:40
mazalyssa: honestly, build them. the whole thing is pre-configured so that it is as easy as it gets.
#asahi-dev · 2025-02-27 13:18
mazsoldering a CS board is rather easy, even for me...

plus ›