#asahi-dev · 2023-06-22 09:23
sid-linuxHowever I do see:#asahi-dev · 2023-06-22 09:22
sid-linuxI never see any "Starting system endpoint..." messages in dmesg#asahi-dev · 2023-06-22 09:22
sid-linuxsee `drivers/soc/apple/rtkit.c` line 195 onwards#asahi-dev · 2023-06-22 09:22
mpsquote from kernel-parameters.txt#asahi-dev · 2023-06-22 09:21
mps"loglevel= All Kernel Messages with a loglevel smaller than the console loglevel will be printed to the console. It can also be changed with klogd or other programs."#asahi-dev · 2023-06-22 09:21
sid-linux apple_rtkit_start_ep(rtk, ep);#asahi-dev · 2023-06-22 09:21
sid-linux "RTKit: Starting system endpoint 0x%02x\n", ep);#asahi-dev · 2023-06-22 09:21
sid-linux dev_dbg(rtk->dev,#asahi-dev · 2023-06-22 09:21
j`eysid-linux: loglevel changes what's printed, not what goes into dmesg#asahi-dev · 2023-06-22 09:20
mpsthen loglevel will not change much, if anything#asahi-dev · 2023-06-22 09:20
sid-linuxI basically don't want any messages on console. I want more detail when I check out `dmesg` #asahi-dev · 2023-06-22 09:19
sid-linux(sorry I had changed `default/grub` and not `/etc/grub.d/10_linux)#asahi-dev · 2023-06-22 09:19
mpsto get messages on console#asahi-dev · 2023-06-22 09:18
mpsusually is enough to remove quiet from kernel cmdline#asahi-dev · 2023-06-22 09:18
mpssid-linux: loglevel controls whic messages will be printed on console, dmesg always shows what is 'in kernel'#asahi-dev · 2023-06-22 09:17
sid-linuxsorry it is `[...] loglevel-7 quiet`#asahi-dev · 2023-06-22 09:17
sid-linuxIt successfully shows `quiet loglevel=7` there#asahi-dev · 2023-06-22 09:16
j`eysid-linux: what about /proc/cmdline?#asahi-dev · 2023-06-22 09:15
sid-linux4 4 1 7#asahi-dev · 2023-06-22 09:15
sid-linux`cat /proc/sys/kernel/printk` gives me#asahi-dev · 2023-06-22 09:14
sid-linuxHowever I still don't see a higher level of detail via dmesg#asahi-dev · 2023-06-22 09:14
sid-linuxA question related to asahi linux (arch) debugging. I set `loglevel=7` in /etc/grub.d/10_linux , run `update-grub` successfully#asahi-dev · 2023-06-22 06:58
sid-linuxjannau: Thanks !#asahi-dev · 2023-06-22 06:27
jannausid-linux: it's the low 16-bits of hwirq (the number after AIC2)#asahi-dev · 2023-06-22 04:09
sid-linuxThe highest number before IPI0 is 106. Also all AIC2 interrupts do have a number have something like AIC2 66NNN . How do I find the interrupt number mentioned in the dtbi ?#asahi-dev · 2023-06-22 04:06
sid-linuxBut if I do `cat /proc/interrupts` I am not able to find them there#asahi-dev · 2023-06-22 04:05
sid-linuxMany devices have AIC IRQ numbers that are in > 500#asahi-dev · 2023-06-22 04:03
sid-linuxQuestion relating to device tree. The IRQs for `mtp_mbox` for instance is `<AIC_IRQ 864 IRQ_TYPE_LEVEL_HIGH>` (etc)#asahi-dev · 2023-06-21 11:56
povikbut the code in ca9fa7 looks good#asahi-dev · 2023-06-21 11:56
poviki think if there's one or few registers that we need to move up in the restore order, there's a regcache_sync variant we can use for that#asahi-dev · 2023-06-21 11:54
chadmedit might be the actual order regcache_sync() tries to use though which would require some more work#asahi-dev · 2023-06-21 11:53
chadmedthat ended up as ca9fa7523781#asahi-dev · 2023-06-21 11:52
chadmedyeah #asahi-dev · 2023-06-21 11:52
chadmedwe talked that out yeah, i think the result was one of the patches in that branch#asahi-dev · 2023-06-21 11:52
povikand i have a feeling we were thinking that out once before, not sure what we arrived at#asahi-dev · 2023-06-21 11:51
povikone potential source of issues is the order in which the registers are restored#asahi-dev · 2023-06-21 11:50
chadmedhmm#asahi-dev · 2023-06-21 11:50
chadmedoh i already have it in there #asahi-dev · 2023-06-21 11:49
povikif it wasn't, the ordinary bootup wouldn't be reliable too#asahi-dev · 2023-06-21 11:48
povikif you do the same delay that's there for the ordinary bootup path then that should be enough#asahi-dev · 2023-06-21 10:06
chadmedyeah sounds like the chips need more time to wake up after the gpio is toggled each time#asahi-dev · 2023-06-21 09:33
joskechadmed: in the past with your patches it used to work for 'short' sleep duration, but not when sleeping for entire night. Haven't tried longer sleep yet#asahi-dev · 2023-06-21 09:32
joskechadmed: that kernel was built without rust support, when I fixed that, second try, it was working! Both channels working after resume#asahi-dev · 2023-06-21 09:31
joskechadmed: I meant on asahi-wip I had that problem. On your patches, first try, after resume, no sound at all and this in dmesg: https://paste.debian.net/1283693/#asahi-dev · 2023-06-21 09:07
chadmedthanks for testing btw :) #asahi-dev · 2023-06-21 09:07
chadmedhm ok ill go back to the drawing board on the weekend#asahi-dev · 2023-06-21 08:28
joskechadmed: ah let me try that, I saw you closed the PR so I assumed it was merged (but couldn't find anything relevant). The error was the same: failed to restore registers or something#asahi-dev · 2023-06-21 07:46
chadmedwas there anything in dmesg that would suggest the cause? im thinking the chips are not given enough time out of reset to init before we try to restore state#asahi-dev · 2023-06-21 07:45
chadmedjoske: snd-pm-v3 on my fork of the kernel is asahi-wip with the patches on top #asahi-dev · 2023-06-20 21:19
joskechadmed: where are these patches? Tried on asahi-edge kernel, on j313 still same issue, R channel dead after resume.