#
…

2023-02-23

00:10balrog has quit [Quit: Bye]
00:28stipa is now known as Guest5602
00:28stipa has joined #asahi-dev
00:33Guest5602 has quit [Ping timeout: 480 seconds]
00:58Droop has quit [Read error: Connection reset by peer]
00:58Droop has joined #asahi-dev
01:04systwi_ has quit [Ping timeout: 480 seconds]
01:11systwi has joined #asahi-dev
01:20systwi has quit [Ping timeout: 480 seconds]
02:10systwi has joined #asahi-dev
02:13kesslerd has quit [Quit: Leaving]
02:27cylm has joined #asahi-dev
02:52zef_ has joined #asahi-dev
02:56kesslerd has joined #asahi-dev
02:59zef has quit [Ping timeout: 480 seconds]
03:10eiln has joined #asahi-dev
03:11kesslerd has quit [Remote host closed the connection]
03:21systwi has quit []
05:22zzywysm has quit [Ping timeout: 480 seconds]
07:07darkapex1 has quit []
07:08darkapex has joined #asahi-dev
07:25rkjnsn_ has joined #asahi-dev
08:04MajorBiscuit has joined #asahi-dev
08:18bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
08:29lesiuk has joined #asahi-dev
08:45stipa is now known as Guest5637
08:45stipa has joined #asahi-dev
08:51Guest5637 has quit [Ping timeout: 480 seconds]
08:56nyilas has joined #asahi-dev
09:36lesiuk was kicked from #asahi-dev by ChanServ [Piracy, spam]
09:39mkurz has joined #asahi-dev
10:46bisko has joined #asahi-dev
11:21bluetail51 has quit []
11:22bluetail51 has joined #asahi-dev
11:26bluetail519 has joined #asahi-dev
11:33bluetail51 has quit [Ping timeout: 480 seconds]
11:39mkurz has quit [Remote host closed the connection]
11:39mkurz has joined #asahi-dev
12:22hightower2 has quit [Ping timeout: 480 seconds]
12:39kesslerd has joined #asahi-dev
12:50svenlooks like we write 0xfffffff1 to PORT_MSICFG because pcie->nvecs is only initialized much later
13:07kettenissven: not sure what the effect of that would be, but probably a good idea to fix it
13:07hightower2 has joined #asahi-dev
13:08svenit ends up as 0x71 instead of 0x51, but yeah, probably a good idea to fix it
13:10kettenisI guess that means 128 vectors instead of 32, but I suspect everything above 32 isn't actually wired up and wouldn't work
13:15svenyeah, and there's no way to use anything above 32 anyway so I don't think this actually matters
13:21chadmed has quit [Remote host closed the connection]
13:25kettenisdo the thunderbolt ports support more than 32 MSIs?
13:28svenat least not on t8103
13:29eiln has quit [Remote host closed the connection]
13:29pbsds has quit [Ping timeout: 480 seconds]
14:01kesslerd has quit [Ping timeout: 480 seconds]
14:01gtk2 has quit [Ping timeout: 480 seconds]
14:19arekm has quit [Ping timeout: 480 seconds]
14:23arekm has joined #asahi-dev
14:28gtk2 has joined #asahi-dev
14:32pbsds has joined #asahi-dev
14:42kesslerd has joined #asahi-dev
14:46eiln has joined #asahi-dev
15:03kesslerd_ has joined #asahi-dev
15:09kesslerd has quit [Ping timeout: 480 seconds]
16:05marcanpovik: ivsense fix on sound/ivsense-fix (the sdout zero mask was getting cropped too much)
16:06marcanother than that it works with the new daemon :) (still missing all the interlocks, sample rate solution, and catchup code though)
16:06marcanpassed the I Won The Loudness War at 0dBFS on every speaker test on j314 (with the kernel cap still 3dB lower than macOS)
16:06marcanI'll have to test without the 3dB pad to be really sure but I think this looks good
16:07j`eymarcan: what power % was the last test?
16:08marcanj`ey: % of what?
16:09j`eymarcan: you were talking about 'this is only at 0.1 / 1%' of something
16:10marcanI mean the song was at 100%
16:10j`eyah cool
16:15gladiac has joined #asahi-dev
16:16cylm has quit [Ping timeout: 480 seconds]
16:25ChaosPrincesshas anyone tried to upstream spi already?
16:25svendoes anyone here have a usb4 host running Linux and a goshen ridge usb4 hub and a few more devices?
16:25j`eyChaosPrincess: markan did
16:25ChaosPrincesshow did it go?
16:26j`eya bit of bikeshedding, but nothing too major iirc
16:28ChaosPrincessi see that its from 2021
16:39marcanyeah, it's been on the back burner forever
16:39marcanthat was just the host though
16:39marcanhost should be fine
16:39marcanthe spi-hid stuff I'm more worried about
16:39ChaosPrincesscan you please re-send the host part?
16:44hightower2 has quit [Ping timeout: 480 seconds]
17:02ketteniseven that should be fairly straightforward; some bikeshedding over the compatible name and the spien-gpios property perhaps
17:36MajorBiscuit has quit [Quit: WeeChat 3.6]
18:08povikmarcan: cool!
18:09poviknot 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
18:16povik(i have a duct-tape admac stream tracer somewhere with which to check that)
18:17povikit might make sense for us to push the kernel cap even lower due to other-than-thermal limits
18:17poviknot that i know what those are, or where they are at
18:31derzahl has joined #asahi-dev
18:35povikwhat is the purpose of the !display check here?
18:40svenI think that name is just misleading. it’s actually something like “verbose boot enabled” iirc
18:40povikah, so that's not the other thing after &&?
18:40sventhe thing after the && checks for security level or something
18:41povikso why don't i get the early proxy here :p
18:41sven“Enable proxy mode if -v is set and if the local policy security mode is set to the most insecure level”
18:55mini0n has joined #asahi-dev
18:59mini0n has quit []
19:04derzahl has quit [Ping timeout: 480 seconds]
19:20povikof course i haven't set it up properly
19:20povikERROR: reserving fdt memory region failed (addr=9e09ac000 size=4000 flags=4)
19:20povikERROR: reserving fdt memory region failed (addr=9e09b0000 size=4000 flags=4)
19:20povikERROR: reserving fdt memory region failed (addr=9e09b4000 size=20000 flags=4)
19:20povikERROR: reserving fdt memory region failed (addr=9e09d4000 size=4000 flags=4)
19:20poviku-boot not happy about the sio reservations ^--
19:21bluetail519 has quit []
19:22bluetail has joined #asahi-dev
19:25gladiac has quit [Quit: k thx bye]
19:25povikit 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
19:26povikmaybe i am wrong in removing the allocated regions from the usable memory range
19:26poviki did the same m1n1's display.c is doing to reallocate framebuffer
19:28hightower2 has joined #asahi-dev
19:29svenhm, so the hotplug interrupt issue is clearly a usb4 thing
19:29svenif I connect my caldigit dock in front of the usb4 hub all the hotplug interrupts just work
19:30jannaupovik: do those regions have a "no-map" property?
19:30povikjannau: yup
19:31WindowPain has joined #asahi-dev
19:32povikon an unrelated issue time has come to try pd_ignore_unused
19:36WindowPa- has quit [Ping timeout: 480 seconds]
19:36jannaudoes it boot to linux? I find inspecting the dtb with `dtc -I fs -O dts -o - /proc/device-tree | less -I` helpful
19:37povikit does, and i inspected the DT and the reservations are there
19:38povikpd_ignore_unused did the trick and the other issue (SIO randomly dying) disappears
19:38poviknow i got to a NULL pointer dereference :D
19:38povikwho would have guessed trying the new drivers with a proper distro install would have opened that many new issues
19:38sventhat sound eerily similar to how my early driver development process works :D
19:39jannauI'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
19:49povikthe one upside to the NULL pointer issue is that it takes down pulseaudio on the userspace side
19:49povikwhich i haven't yet replaced on this install with pipewire
19:58kesslerd_ has quit [Remote host closed the connection]
20:03kesslerd has joined #asahi-dev
20:04gorbypark has joined #asahi-dev
20:05kesslerd has quit [Remote host closed the connection]
20:05gorbypark has quit []
20:05kesslerd has joined #asahi-dev
20:08kesslerd has quit [Remote host closed the connection]
20:13povik[ 3.918360] snd_pcm_capture_open+0x4c/0x78
20:13povikah it tries capture on hdmi
20:13povikalso 3.9 into the boot and pulseaudio is already snooping around pcms
20:14povikboot times realy have improved since (mine) early days
20:15kesslerd has joined #asahi-dev
20:28j`eymaybe: #define NUM_PLAYBACK 1 #define NUM_CAPTURE 0 somewhere would make that more obvious :P
20:31derzahl has joined #asahi-dev
20:43jeffmiw has joined #asahi-dev
20:46chadmed has joined #asahi-dev
20:57chadmedooh looks like ive got some stuff to test this evening :D
20:57chadmedthat was fast
21:02kesslerd has quit [Quit: Leaving]
21:03derzahl has quit [Ping timeout: 480 seconds]
21:04kesslerd has joined #asahi-dev
21:07kettenispovik: I don't think you're supposed to reserve memory ranges that are not included in the ranges advertised by the /memory node
21:14jannauthat would exclude reserved memory from the carveouts too but there's the reserved memory map (not visible)
21:16povikjannau: not sure i understand that
21:18jannauno, we don't do anything for the carveouts there. see fdt_add_mem_rsv()
21:26jannaupovik: there has to be something wrong with "no-map". the function producing the error message should not be called
21:26jannausee boot_fdt_add_mem_rsv_regions() in boot/image-fdt.c
21:40jannauerr, I can't read
21:41poviki am not by the test machine anymore so i can't send a dt snippet
21:41povikbut i saw the no-maps there
21:42povikthis was btw with the sio loader code as its sitting in the pr: https://github.com/AsahiLinux/m1n1/pull/286
21:46jannaumaybe we're just running out of regions? CONFIG_LMB_MAX_REGIONS seems to default to 8
21:47jannaudcp and gpu use more than that but they might coalesce into 8 regions or less
21:48poviki can try that when i get to it tomorrow
22:08DarkShadow44 has quit [Quit: ZNC - https://znc.in]
22:08DarkShadow44 has joined #asahi-dev
22:10DarkShadow44 has quit []
22:10DarkShadow44 has joined #asahi-dev
22:32derzahl has joined #asahi-dev
22:40Hibyehello has joined #asahi-dev
23:42nyilas has quit [Remote host closed the connection]
…