#asahi-dev · 2023-01-09 20:42
mpswill someone make tagged u-boot release#asahi-dev · 2023-01-09 20:08
kettenisit'll probably take me a few days to clean up the dart/pci/usb changes a bit#asahi-dev · 2023-01-09 20:05
kettenisI already cherry-picked a few interesting commit a few months ago#asahi-dev · 2023-01-09 20:05
kettenisthere isn't much interesting stuff for us in the release#asahi-dev · 2023-01-09 20:04
kettenisso I rebased the asahi branch to the upstream release and rebased asahi-next on top of the upstream master branch#asahi-dev · 2023-01-09 20:04
kettenisU-Boot 2023.01 was released today#asahi-dev · 2023-01-09 17:02
_jannau_not sure if that buys me much. I still need to determine when to request that#asahi-dev · 2023-01-09 16:41
marcan_jannau_: I think that "ack" is more like a state report, and it only gets sent on first init (but you can request another one)#asahi-dev · 2023-01-09 15:38
marcan_jannau_: try sending it msg type 1 (the initcomplete msg)#asahi-dev · 2023-01-09 14:52
_jannau_marcan: iomfb has A400/A402 free_signal/stop_signal which sound promising but I couldn't figure out what I have to do to prevent dcp from crashing when I use them. stop_signal issues a few callbacks before it crashes. free_signal crashes immediately#asahi-dev · 2023-01-09 14:31
_jannau_not sure what the additional set bit signifies#asahi-dev · 2023-01-09 14:27
_jannau_marcan: unfortunately not. That's how I discovered that it reports the current dva. it crashes immediately with .dva = 0 and .flag = 4. if .flag is not set to 4 it just reports the current dva with 0x...0140#asahi-dev · 2023-01-09 14:27
svenhah, I think I can access some of the thunderbolt pciec regs. I guess the rest just needs some additional init on the pciec side before they stop reading as 0xffffffff#asahi-dev · 2023-01-09 14:22
marcanchadmed_: nice!#asahi-dev · 2023-01-09 14:22
marcanjannau: stupid idea, does setting it to 0 make it acknowledge it again next time?#asahi-dev · 2023-01-09 12:13
chadmed_finally a win with EAS #asahi-dev · 2023-01-09 12:13
chadmed_playing a 16/44.1 flac resampled to 96kHz with the pipewire dsp: 3.78 W/7.30 W#asahi-dev · 2023-01-09 12:12
chadmed_idle core power: 3.57 W, idle total system power: 6.59 W#asahi-dev · 2023-01-09 11:15
_jannau_press the power butten for ~10 seconds#asahi-dev · 2023-01-09 11:13
kettenisadmittedly not instant on a laptop with a full battery...#asahi-dev · 2023-01-09 11:13
maztoo easy?#asahi-dev · 2023-01-09 11:12
kettenisjust pull out the power cord?#asahi-dev · 2023-01-09 09:14
mazdottedmag: there are simpler ways to do this rather than dealing with PCIe TLPs to force a fault. USB-C VDMs, for example.#asahi-dev · 2023-01-09 09:11
dottedmagSounds like a way to make a simple "killmac" device#asahi-dev · 2023-01-09 08:52
svenwouldn’t surprise me if it does the same for the thunderbolt iommus as well#asahi-dev · 2023-01-09 08:51
svenat least for the non-thunderbolt iommus macOS kernel panics on any fault #asahi-dev · 2023-01-09 08:25
cyrozapQuick question about the IOMMU behavior under macOS--will macOS log IOMMU faults somewhere? Like, if I have a PCIe device plugged in over Thunderbolt, and the PCIe device tries accessing memory it doesn't have permission to access, will that be logged somewhere I can see it?#asahi-dev · 2023-01-09 06:48
jannauso it is mostly an annoyance since we have to assume it's safe to start sending messages using shmem after the SetShmem message and we have to start it on our own instead of after receiving the initialized mbox message#asahi-dev · 2023-01-09 06:41
jannaumarcan: there's a misunderstanding. DCP updates its shared mem pointer on second SetShmem message. it just doesn't acknowledge the message like it does on the initial SetShmem message#asahi-dev · 2023-01-09 04:18
marcanjannau: ha (but also ew, means we need to map it at a fixed address on reload?)#asahi-dev · 2023-01-08 23:11
kettenisand this time without ugly hacks#asahi-dev · 2023-01-08 23:11
kettenisbut with that fixed I have working type-A ports again in u-boot#asahi-dev · 2023-01-08 23:10
kettenisah, I messed up the iommu mapping for the scratchpad memory#asahi-dev · 2023-01-08 15:21
jannauneat, dcpep, returns the shmem address if SetShmem.flag != 4#asahi-dev · 2023-01-08 14:34
svenso now I can at least read the thunderbolt pcie MMIO, it's just all 0xffffffff but at least it doesn't throw exceptions anymore#asahi-dev · 2023-01-08 14:33
svenduh, i forgot that driver needs custom handling once they have more than one power domain#asahi-dev · 2023-01-08 10:30
mazkettenis: that's awesome news!#asahi-dev · 2023-01-08 02:06
hampusmarcan: thanks, missed that one#asahi-dev · 2023-01-08 01:56
marcanhampus: I think you want to join #asahi-gpu for that#asahi-dev · 2023-01-08 01:31
hampuswant to see how it breaks. it would be great to get some tips as to how I would test this beyond the test suite in the repo in a convenient way. any pointers?#asahi-dev · 2023-01-08 01:31
hampushi! recently became a happy user of asahi (thanks for the awesome work!) and wanted to see if I could get a dev env up and running here. found an issue that seemed to have appropriate tags (https://gitlab.freedesktop.org/mesa/mesa/-/issues/7541) and did a draft at https://gitlab.freedesktop.org/hlinander/mesa/-/tree/optimize_lower_resinfo. i am sure i have done weirds things (completely new to mesa) and #asahi-dev · 2023-01-08 00:46
chadmedim very keen on avoiding having to do psychoacoustic tricks and i think we're close to where we wanna be with this machine #asahi-dev · 2023-01-08 00:45
chadmedfor those keeping track: https://github.com/chadmed/asahi-audio/tree/j314-18db #asahi-dev · 2023-01-07 22:21
kettenisthat is a major step towards having support for the type-A ports on the mini#asahi-dev · 2023-01-07 22:20
kettenisyay, I have working dart support in u-boot#asahi-dev · 2023-01-07 14:10
eilnhave you installed asahi yet? going through the boot process is a good place to start imo#asahi-dev · 2023-01-07 14:07
eilnthemadpro: what do you plan on doing? my macos partition with two installs (base & hypervisor) is only 100gb #asahi-dev · 2023-01-07 12:30
svenusb also doesn't work *sigh*#asahi-dev · 2023-01-07 12:30
svenNHI seems to be up but I still can't access the pcie MMIO :/#asahi-dev · 2023-01-07 12:30
svenhates thunderbolt