#
#asahi-dev · 2025-04-04 23:24
chaos_princessJust let it sit for now, we can rebase it later
#asahi-dev · 2025-04-04 23:24
chadmedflokli: yeah hold off until i rip it out. ive got a bunch of other stuff to take care of first
#asahi-dev · 2025-04-04 23:23
floklichadmed: I'm happy to update the PR to drop the blackbox functionality, or rebase on top of such a change if you want to do it.
#asahi-dev · 2025-04-04 23:23
chadmedchaos_princess: you only need one column type in your database and it's JSONB
#asahi-dev · 2025-04-04 23:22
chaos_princesschadmed: json array of floats :P
#asahi-dev · 2025-04-04 23:22
chadmedthen we can look at dynamic users
#asahi-dev · 2025-04-04 23:22
chadmedit doesnt matter, i will be ripping it out at some point sooni(ish)
#asahi-dev · 2025-04-04 23:22
flokliHeh
#asahi-dev · 2025-04-04 23:22
chadmedno we cant pipe everything to the journal on crash because its PCM samples :p
#asahi-dev · 2025-04-04 23:21
flokliMmmh
#asahi-dev · 2025-04-04 23:21
chaos_princess(it is a binary)
#asahi-dev · 2025-04-04 23:20
chaos_princessblackbox is kinda like a core dump file
#asahi-dev · 2025-04-04 23:20
flokliAh, now reading "visense stuff is stable, we can rip it out"
#asahi-dev · 2025-04-04 23:19
flokliCan we improve logging sufficiently, pipe everything needed to the journal during the crash handler?
#asahi-dev · 2025-04-04 23:18
floklichadmed: what's in the black box
#asahi-dev · 2025-04-04 23:12
chadmedyou wouldnt call any other log file "state"
#asahi-dev · 2025-04-04 23:12
chaos_princessthis feels like a feature that is for files that are owned by the unit and not accessed by anything else
#asahi-dev · 2025-04-04 23:12
chadmedthe black box is also not really "state"
#asahi-dev · 2025-04-04 23:11
chadmedseems that way yeah
#asahi-dev · 2025-04-04 23:11
chaos_princessi am not clear as to how it fixes things? even with the boundary directory bit, are you still not leaving files owned by unassigned uid?
#asahi-dev · 2025-04-04 23:09
chadmedfor context: the black box is kinda useless now that the visense stuff is stable. id rather rip that out before merging this to eliminate some churn
#asahi-dev · 2025-04-04 23:08
chadmedcc flokli
#asahi-dev · 2025-04-04 23:08
chadmedchaos_princess: do you have any thoughts on https://github.com/AsahiLinux/speakersafetyd/pull/26? my thoughts is to just leave this alone until we rip out the black box
#asahi-dev · 2025-04-04 17:59
kettenisI believe that is the preferred way to power on PCI devices that are soldered onto a system board
#asahi-dev · 2025-04-04 17:58
kettenismaz, robher: there also is CONFIG_PCI_PWRCTL now
#asahi-dev · 2025-04-04 17:08
mischa85nickchan: you mentioned trying disabling cpu power domains to gain write access to cyc_ovrd. how to? considering there's no ps-regs and the power registers are still unknown
#asahi-dev · 2025-04-04 17:06
mischa85well if there's a will there's a way
#asahi-dev · 2025-04-04 13:01
robhermaz: there's also the linux,pci-probe-only flag if keeping the firmware configuration is needed.
#asahi-dev · 2025-04-04 12:57
robhermaz: There's also a switch example on hikey970 (or 960 maybe?).
#asahi-dev · 2025-04-04 12:56
robhermaz: Certainly possible. PPC boots with all the PCI hierarchy described. The kernel can in fact generate the DT PCI nodes for you. Boot with CONFIG_PCI_DYNAMIC_OF_NODES enabled. Add what you need from the DT to your dts. Then add the GPIOs you need to handle.
#asahi-dev · 2025-04-04 10:55
fl0_idyeah, not saying I'm unique haha
#asahi-dev · 2025-04-04 10:50
sventime is probably the issue for all of us :D
#asahi-dev · 2025-04-04 10:44
fl0_idmain issue for me is time and that my m3 is also my work machine, soo I cannot boot it into m1n1 that often
#asahi-dev · 2025-04-04 10:43
fl0_idyeah for sure
#asahi-dev · 2025-04-04 10:29
svenstill all pretty far away since we need to get m1/2 upstream and then ideally bring up m3 directly upstream as well
#asahi-dev · 2025-04-04 10:28
fl0_idsure. thx for explaining
#asahi-dev · 2025-04-04 10:27
svenor maybe it just works differently on m4. We don’t really know yet
#asahi-dev · 2025-04-04 10:26
svenbut sleep might just be a bug, ie they just disabled everything and didn’t realize that the sleep msr is very important
#asahi-dev · 2025-04-04 10:26
svenyeah, the rest we can (painfully) work around probably
#asahi-dev · 2025-04-04 10:21
fl0_idsven yeah deep sleep states would be rly bad :/
#asahi-dev · 2025-04-04 10:20
LarstiQI don't suppose the blessed Arm ISA has working alternatives for those?
#asahi-dev · 2025-04-04 10:19
svenplus deep sleep states might be affected which would actually be important for running Linux
#asahi-dev · 2025-04-04 10:19
svenit’s mostly annoying because our Hv for reverse engineering won’t work without these extensions
#asahi-dev · 2025-04-04 10:18
fl0_idand these just happen to be important bits I guess
#asahi-dev · 2025-04-04 10:17
fl0_idthx
#asahi-dev · 2025-04-04 10:17
fl0_idah ok.
#asahi-dev · 2025-04-04 10:14
chadmedthe platform is designed explicitly to allow custom boot objects to exist. arm got shitty with them for letting those custom objects "see" all of apples not-ARM things
#asahi-dev · 2025-04-04 10:13
chadmedfl0_id: they locked down apple's extensions to the ARM ISA
#asahi-dev · 2025-04-04 09:40
fl0_idwhy do you think they even still allow raw / custom boot objects, if they apparentyl locked down M4 so tightly?
#asahi-dev · 2025-04-04 09:14
jannauarch/arm64/boot/dts/qcom/sa8540p-ride.dts has a PM40028 switch but doesn't model devices behind the switch

plus ›