#
✕ nick:kettenis
#asahi-dev · 2023-02-12 13:36
kettenisand there are more pcie differences this time
#asahi-dev · 2023-02-12 13:36
kettenisit'll just take a while
#asahi-dev · 2023-02-12 13:36
kettenisseriously though, I'm happy to slog on for a bit longer if you're busy doing other stuff
#asahi-dev · 2023-02-12 13:34
kettenisheh, well, I thought the deal was that you figured out the hard bits and I got to brag about having proper OpenBSD support before Linux ;)
#asahi-dev · 2023-02-12 12:44
kettenisand since SPMI writes fail, poweroff doesn't work
#asahi-dev · 2023-02-12 12:44
kettenisbut OpenBSD might poke it in slightly different ways
#asahi-dev · 2023-02-12 12:43
kettenisSMC works for me in OpenBSD
#asahi-dev · 2023-02-12 12:43
kettenisthere are some incompatible changes there and this probably needs some deective work with macos running under the hypervisor
#asahi-dev · 2023-02-12 12:42
kettenisI got stuck on the pcie stuff
#asahi-dev · 2023-02-12 12:40
kettenisthe cpu frequencies/latencies in my tree are just copied from M2
#asahi-dev · 2023-02-12 12:39
kettenisthat's what I currently have
#asahi-dev · 2023-02-12 12:39
kettenishttps://github.com/AsahiLinux/u-boot/tree/t6020
#asahi-dev · 2023-02-12 12:29
kettenisspmi reads work it seems, but writes fail
#asahi-dev · 2023-02-12 12:28
kettenisI also added the smc and spmi stuff
#asahi-dev · 2023-02-12 12:28
kettenisthere are no longer lock-gate/power-gate references for ANS2 in the ADT, but it seems something is still needed
#asahi-dev · 2023-02-12 12:26
kettenisif only I knew how to create a gost from a bunch of files like you did...
#asahi-dev · 2023-02-12 12:25
kettenisyeah, not 100% sure about the pmgr stuff, but I can use the nvme in OpenBSD
#asahi-dev · 2023-02-12 12:24
kettenischadmed: I have device trees with a bit more stuff in them
#asahi-dev · 2023-02-09 13:58
kettenisthis is with a fairly bare-bones device tree that only enables the dwc3 controllers
#asahi-dev · 2023-02-09 13:23
kettenisin other news, I just booted OpenBSD on the m2 pro m1n1
#asahi-dev · 2023-02-02 22:58
kettenissounds like you're doing a macOS install instead ;)
#asahi-dev · 2023-02-02 15:43
kettenism2 pro mini arrived; guess I have to make my own device tree?
#asahi-dev · 2023-01-28 13:07
kettenisespecially since it means we can't accidentally expose on outward facing port just because the compatible happens to match
#asahi-dev · 2023-01-28 13:06
kettenisseparate compatibles are better here than additional optional properties I think
#asahi-dev · 2023-01-28 13:05
kettenisdoesn't trigger my OCD ;)
#asahi-dev · 2023-01-28 12:16
kettenis(I do appreciate that scaling up development to a larger number of developers is tricky)
#asahi-dev · 2023-01-28 12:15
kettenismarcan: yes, I don't need to queue up diffs, I just need an ok from bluerise ;)
#asahi-dev · 2023-01-28 12:14
kettenisI have a funny issue with reinitialization on OpenBSD
#asahi-dev · 2023-01-28 12:13
kettenisindeed (and yes the firmware state is lost)
#asahi-dev · 2023-01-28 12:12
kettenisyes
#asahi-dev · 2023-01-28 12:12
kettenissee above (OpenBSD puts it in that soft sleep state as well)
#asahi-dev · 2023-01-28 12:10
kettenis(which is something I don't care about and is unlikely to be supported in OpenBSD anyway)
#asahi-dev · 2023-01-28 12:10
kettenisof course if you do that, they probably cannot be used for wakeup
#asahi-dev · 2023-01-28 12:09
kettenismarcan: yes, powering the chips off seems to save a smallish but non-negligible amount of power (~0.1W for the wifi/bluetooth chip)
#asahi-dev · 2023-01-28 12:04
kettenisand we need to sort out the PCIe power device tree bindings
#asahi-dev · 2023-01-28 12:04
kettenison the other hand, that means I need to add an smc driver
#asahi-dev · 2023-01-28 12:03
kettenisjannau: ah, good
#asahi-dev · 2023-01-28 12:03
kettenisI'll take a look at that once my m2 pro mini arrives
#asahi-dev · 2023-01-28 12:02
ketteniswe still may need a hack for the asmedia controllers
#asahi-dev · 2023-01-28 12:01
kettenisfwiw my u-boot pci/xhci diff made it into master
#asahi-dev · 2023-01-28 11:59
kettenisat least it isn't 30 diffs that have to go through 30 trees in a coordinated fashion ;)
#asahi-dev · 2023-01-28 11:22
kettenishah!
#asahi-dev · 2023-01-28 11:20
kettenissven: not sure if I want to have a bikeshed about it, but apple,t8103-usb4-dart would have been my choice for the compatible
#asahi-dev · 2023-01-26 14:14
kettenisand probably at the stage where I understand enough of how it is supposed to work that I could write that mail
#asahi-dev · 2023-01-26 14:12
kettenismarcan: I'm at the point where I could really use a PSCI for OpenBSD
#asahi-dev · 2023-01-26 14:08
kettenishttps://pubs.opengroup.org/onlinepubs/9699919799/
#asahi-dev · 2023-01-26 14:08
kettenisyup, and it means that the Linux CLOCK_MONOTONIC isn't POSIX compatible
#asahi-dev · 2023-01-26 14:02
kettenisLinux got this aspect of POSIX wrong, but the past attempts to fix it caused all sorts of breakage
#asahi-dev · 2023-01-26 14:00
kettenisdoesn't mean they're right ;)
#asahi-dev · 2023-01-26 13:58
kettenistechnically CLOCK_MONOTONIC should never stop, but I guess that ship has sailed

plus ›