ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
balrog has quit [Quit: Bye]
stipa is now known as Guest5602
stipa has joined #asahi-dev
Guest5602 has quit [Ping timeout: 480 seconds]
Droop has quit [Read error: Connection reset by peer]
Droop has joined #asahi-dev
systwi_ has quit [Ping timeout: 480 seconds]
systwi has joined #asahi-dev
systwi has quit [Ping timeout: 480 seconds]
systwi has joined #asahi-dev
kesslerd has quit [Quit: Leaving]
cylm has joined #asahi-dev
zef_ has joined #asahi-dev
kesslerd has joined #asahi-dev
zef has quit [Ping timeout: 480 seconds]
eiln has joined #asahi-dev
kesslerd has quit [Remote host closed the connection]
systwi has quit []
zzywysm has quit [Ping timeout: 480 seconds]
darkapex1 has quit []
darkapex has joined #asahi-dev
rkjnsn_ has joined #asahi-dev
MajorBiscuit has joined #asahi-dev
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lesiuk has joined #asahi-dev
stipa is now known as Guest5637
stipa has joined #asahi-dev
Guest5637 has quit [Ping timeout: 480 seconds]
nyilas has joined #asahi-dev
lesiuk was kicked from #asahi-dev by ChanServ [Piracy, spam]
mkurz has joined #asahi-dev
bisko has joined #asahi-dev
bluetail51 has quit []
bluetail51 has joined #asahi-dev
bluetail519 has joined #asahi-dev
bluetail51 has quit [Ping timeout: 480 seconds]
mkurz has quit [Remote host closed the connection]
mkurz has joined #asahi-dev
hightower2 has quit [Ping timeout: 480 seconds]
kesslerd has joined #asahi-dev
<sven> looks like we write 0xfffffff1 to PORT_MSICFG because pcie->nvecs is only initialized much later
<kettenis> sven: not sure what the effect of that would be, but probably a good idea to fix it
hightower2 has joined #asahi-dev
<sven> it ends up as 0x71 instead of 0x51, but yeah, probably a good idea to fix it
<kettenis> I guess that means 128 vectors instead of 32, but I suspect everything above 32 isn't actually wired up and wouldn't work
<sven> yeah, and there's no way to use anything above 32 anyway so I don't think this actually matters
chadmed has quit [Remote host closed the connection]
<kettenis> do the thunderbolt ports support more than 32 MSIs?
<sven> no
<sven> at least not on t8103
eiln has quit [Remote host closed the connection]
pbsds has quit [Ping timeout: 480 seconds]
kesslerd has quit [Ping timeout: 480 seconds]
gtk2 has quit [Ping timeout: 480 seconds]
arekm has quit [Ping timeout: 480 seconds]
arekm has joined #asahi-dev
gtk2 has joined #asahi-dev
pbsds has joined #asahi-dev
kesslerd has joined #asahi-dev
eiln has joined #asahi-dev
kesslerd_ has joined #asahi-dev
kesslerd has quit [Ping timeout: 480 seconds]
<marcan> povik: ivsense fix on sound/ivsense-fix (the sdout zero mask was getting cropped too much)
<marcan> other than that it works with the new daemon :) (still missing all the interlocks, sample rate solution, and catchup code though)
<marcan> passed the I Won The Loudness War at 0dBFS on every speaker test on j314 (with the kernel cap still 3dB lower than macOS)
<marcan> I'll have to test without the 3dB pad to be really sure but I think this looks good
<j`ey> marcan: what power % was the last test?
<marcan> j`ey: % of what?
<j`ey> marcan: you were talking about 'this is only at 0.1 / 1%' of something
<marcan> I mean the song was at 100%
<j`ey> ah cool
gladiac has joined #asahi-dev
cylm has quit [Ping timeout: 480 seconds]
<ChaosPrincess> has anyone tried to upstream spi already?
<sven> does anyone here have a usb4 host running Linux and a goshen ridge usb4 hub and a few more devices?
<j`ey> ChaosPrincess: markan did
<ChaosPrincess> how did it go?
<j`ey> a bit of bikeshedding, but nothing too major iirc
<ChaosPrincess> i see that its from 2021
<marcan> yeah, it's been on the back burner forever
<marcan> that was just the host though
<marcan> host should be fine
<marcan> the spi-hid stuff I'm more worried about
<ChaosPrincess> can you please re-send the host part?
hightower2 has quit [Ping timeout: 480 seconds]
<kettenis> even that should be fairly straightforward; some bikeshedding over the compatible name and the spien-gpios property perhaps
MajorBiscuit has quit [Quit: WeeChat 3.6]
<povik> marcan: cool!
<povik> not sure how much significance we should attach to the 3dB pad since we don't know how much of the codec input range is exercised by apple's EQ
<povik> (i have a duct-tape admac stream tracer somewhere with which to check that)
<povik> it might make sense for us to push the kernel cap even lower due to other-than-thermal limits
<povik> not that i know what those are, or where they are at
derzahl has joined #asahi-dev
<povik> --
<povik> what is the purpose of the !display check here?
<sven> I think that name is just misleading. it’s actually something like “verbose boot enabled” iirc
<povik> ah, so that's not the other thing after &&?
<sven> the thing after the && checks for security level or something
<povik> ok
<povik> so why don't i get the early proxy here :p
<sven> “Enable proxy mode if -v is set and if the local policy security mode is set to the most insecure level”
mini0n has joined #asahi-dev
mini0n has quit []
derzahl has quit [Ping timeout: 480 seconds]
<povik> of course i haven't set it up properly
<povik> ERROR: reserving fdt memory region failed (addr=9e09ac000 size=4000 flags=4)
<povik> ERROR: reserving fdt memory region failed (addr=9e09b0000 size=4000 flags=4)
<povik> ERROR: reserving fdt memory region failed (addr=9e09b4000 size=20000 flags=4)
<povik> ERROR: reserving fdt memory region failed (addr=9e09d4000 size=4000 flags=4)
<povik> u-boot not happy about the sio reservations ^--
bluetail519 has quit []
bluetail has joined #asahi-dev
gladiac has quit [Quit: k thx bye]
<povik> it must have something to do with them being placed at the top of memory and allocated in m1n1, because the firmware regions passed down from apple's carveouts don't trigger that
<povik> maybe i am wrong in removing the allocated regions from the usable memory range
<povik> i did the same m1n1's display.c is doing to reallocate framebuffer
hightower2 has joined #asahi-dev
<sven> hm, so the hotplug interrupt issue is clearly a usb4 thing
<sven> if I connect my caldigit dock in front of the usb4 hub all the hotplug interrupts just work
<jannau> povik: do those regions have a "no-map" property?
<povik> jannau: yup
WindowPain has joined #asahi-dev
<povik> on an unrelated issue time has come to try pd_ignore_unused
WindowPa- has quit [Ping timeout: 480 seconds]
<jannau> does it boot to linux? I find inspecting the dtb with `dtc -I fs -O dts -o - /proc/device-tree | less -I` helpful
<povik> it does, and i inspected the DT and the reservations are there
<povik> pd_ignore_unused did the trick and the other issue (SIO randomly dying) disappears
<povik> now i got to a NULL pointer dereference :D
<povik> who would have guessed trying the new drivers with a proper distro install would have opened that many new issues
<sven> that sound eerily similar to how my early driver development process works :D
<jannau> I'm not sure I looked if u-boot complains about the reallocated framebuffer. not you need to manually configure a hgiher display resolution for m1n1 to trigger the reallocation
<povik> the one upside to the NULL pointer issue is that it takes down pulseaudio on the userspace side
<povik> which i haven't yet replaced on this install with pipewire
kesslerd_ has quit [Remote host closed the connection]
kesslerd has joined #asahi-dev
gorbypark has joined #asahi-dev
kesslerd has quit [Remote host closed the connection]
gorbypark has quit []
kesslerd has joined #asahi-dev
kesslerd has quit [Remote host closed the connection]
<povik> [ 3.918360] snd_pcm_capture_open+0x4c/0x78
<povik> ah it tries capture on hdmi
<povik> also 3.9 into the boot and pulseaudio is already snooping around pcms
<povik> boot times realy have improved since (mine) early days
kesslerd has joined #asahi-dev
<j`ey> maybe: #define NUM_PLAYBACK 1 #define NUM_CAPTURE 0 somewhere would make that more obvious :P
derzahl has joined #asahi-dev
jeffmiw has joined #asahi-dev
chadmed has joined #asahi-dev
<chadmed> ooh looks like ive got some stuff to test this evening :D
<chadmed> that was fast
kesslerd has quit [Quit: Leaving]
derzahl has quit [Ping timeout: 480 seconds]
kesslerd has joined #asahi-dev
<kettenis> povik: I don't think you're supposed to reserve memory ranges that are not included in the ranges advertised by the /memory node
<jannau> that would exclude reserved memory from the carveouts too but there's the reserved memory map (not visible)
<povik> jannau: not sure i understand that
<jannau> no, we don't do anything for the carveouts there. see fdt_add_mem_rsv()
<jannau> povik: there has to be something wrong with "no-map". the function producing the error message should not be called
<jannau> see boot_fdt_add_mem_rsv_regions() in boot/image-fdt.c
<jannau> err, I can't read
<povik> i am not by the test machine anymore so i can't send a dt snippet
<povik> but i saw the no-maps there
<povik> this was btw with the sio loader code as its sitting in the pr: https://github.com/AsahiLinux/m1n1/pull/286
<jannau> maybe we're just running out of regions? CONFIG_LMB_MAX_REGIONS seems to default to 8
<jannau> dcp and gpu use more than that but they might coalesce into 8 regions or less
<povik> aha!
<povik> i can try that when i get to it tomorrow
DarkShadow44 has quit [Quit: ZNC - https://znc.in]
DarkShadow44 has joined #asahi-dev
DarkShadow44 has quit []
DarkShadow44 has joined #asahi-dev
derzahl has joined #asahi-dev
Hibyehello has joined #asahi-dev
nyilas has quit [Remote host closed the connection]