ChanServ changed the topic of #linux-msm to:
svarbanov has quit [Ping timeout: 480 seconds]
Daanct12 has joined #linux-msm
marvin24 has quit [Ping timeout: 480 seconds]
marvin24 has joined #linux-msm
<steev> lumag: v7 does seem to work for the most part, however.... (sorry there is always a however with me :( ) - it seems like every so often, there may be a race where it doesn't load properly. is dmesg output good enough for you or is there more info somewhere i should grab?
<steev> of pd mapper*
Daanct12 has quit [Quit: WeeChat 4.2.2]
Daanct12 has joined #linux-msm
marvin24_ has joined #linux-msm
marvin24 has quit [Ping timeout: 480 seconds]
<lumag> dmesg is enough of _debug output
<lumag> steev, or a description of the issue
ungeskriptet is now known as Guest2198
ungeskriptet has joined #linux-msm
Guest2198 has quit [Ping timeout: 480 seconds]
<steev> lumag: i've only had it happen once, but basically the battery showed up at 0% and the remote procs weren't started - actually, just rebooted 3 times and got it to happen again :)
<lumag> steev, which platform is that? And what is your .config? I'll try reproducing it here
<steev> X13s - http://sprunge.us/CfcBgc is the config i'm using
<steev> i plan to test it on 6.9 shortly, but since i knew 6.8 was stable i was testing it on top of that
<lumag> steev, could you please add #define DEBUG to the top of the pdm driver and then try reproducing the issue?
<lumag> I don't think baseline matters
<steev> sure
<steev> it IS nice to see it working when it does though :D
<lumag> at least I don't see any errors in the log
<steev> around line 706 is where the remote proc seems to go wrong
<lumag> [ 4.499434] qcom_q6v5_pas 3000000.remoteproc: error -ENXIO: IRQ wdog not found ?
<steev> yeah
<steev> hwirq-194
<lumag> Wait...
<lumag> [ 4.471281] remoteproc remoteproc0: releasing 3000000.remoteproc
<lumag> [ 4.506518] remoteproc remoteproc1: releasing 3000000.remoteproc
<lumag> Let me take a look
<lumag> Just out of curiosity, if you see such issue, can you try manually starting the adsp?
<steev> how do i manually start it?
<lumag> echo start > .../remoteproc1/state
<lumag> echo start > /sys/class/remoteproc1/state
<lumag> ***
<steev> it doesn't exist
<lumag> echo start > /sys/class/remoteproc/remoteproc1/state
<steev> only remoteproc0 in /sys/class/remoteproc
<lumag> ok, reading the source now. releasing means that remoteproc is being destroyed
<lumag> steev, please pick up f011688162ec4c492c12ee7cced74c097270baa2
<lumag> z3ntu, oh, my, the patch isn't even marked as Fixes
<steev> will grab
<steev> that's a paddlin
<lumag> ?
<steev> ah, it's a joke
<steev> that's a paddlin is like, a spanking. for not marked as Fixes
<lumag> steev, my best theory would be that AF_QIPCRTR is n't available at the time of the first start attemt. This causes the call to return EPROBE_DEFER.
<lumag> And on probe deferral the IRQ comes into play
<steev> that makes sense
<steev> i grabbed the patch as well
<steev> fwiw, in next, it does have Fixes tags
<steev> bjorn added them
<lumag> That means that I should add a kind of MODULE_DEPENDENCY from pd_mapper onto qrtr
<lumag> steev, ok, good
jhovold has joined #linux-msm
<steev> lumag: so far, with f01168816 pulled in as well, i haven't been able to reproduce (and i stupidly have not been counting the number of reboots, but i know for sure i ran into it twice in less, before that commit :) )
<lumag> steev, thanks!
<lumag> It would be nice to check if you can trigger the 'releasing foo.remoteproc' message
<steev> aside from battery and audio working, is there any other tests
<lumag> with the ucsi series in place, you should have /sys/class/typec/port0 and port1
<steev> i can't recall if i do or not, will check after this reboot :)
<steev> aw, i don't. i have /sys/class/typec but nothing in there. will try to get that tested soon too
svarbanov has joined #linux-msm
<lumag> steev, thanks!
<lumag> If you can respond with tested-by to the pd-mapper series, that would be great. Maybe after several more reboots
<steev> absolutely :)
<steev> i keep rebooting, logging in, checking dmesg for releas and then rebooting again, so far i haven't seen it
<lumag> steev, thanks! sounds great
wfranken[m] has joined #linux-msm
svarbanov has quit [Ping timeout: 480 seconds]
pespin has joined #linux-msm
f_ has joined #linux-msm
svarbanov has joined #linux-msm
f_ has quit [Ping timeout: 480 seconds]
ungeskriptet is now known as Guest2218
ungeskriptet has joined #linux-msm
Guest2218 has quit [Ping timeout: 480 seconds]
Daanct12 has quit [Quit: WeeChat 4.2.2]
ungeskriptet has quit [Ping timeout: 480 seconds]
<marc|gonzalez> bamse: jhugo: bryanodonoghue: I have changed the msm8998 MMCC commit message to include the output of mpv showing broken/unbroken
<bryanodonoghue> cool - how about the end of stream and critical err message from firmware ?
<marc|gonzalez> On it right now :)
<marc|gonzalez> I mean: trying to get the debug logs right now :p
<marc|gonzalez> I'm also seeing a probably related issue:
<bryanodonoghue> I suspect the critical err message is a result of HFI_3XX firmware not understanding a message sent to it.. ?
<marc|gonzalez> when the decode fails because the clocks are fubared, mpv hangs even if I specify a decode length
<bryanodonoghue> ah so you still get decode failure then /
<bryanodonoghue> hangs = the application hangs or the board hangs ?
<marc|gonzalez> I was unclear
<marc|gonzalez> I tested BEFORE/AFTER patch
<marc|gonzalez> BEFORE = clocks are fubared
<marc|gonzalez> BEFORE = mpv hangs when decode fails
<marc|gonzalez> Might not worth understanding why mpv hangs in an error situation
<jhugo> marc|gonzalez: saw it hit my mailbox. "upstream day" is tomorrow for me. I anticipate reviewing then
<marc|gonzalez> jhugo: code is unchanged FWIW ;)
<marc|gonzalez> Will try sending the associated DT changes this evening
<marc|gonzalez> bryanodonoghue: errrr, running venus with debug enabled rebooted my system...
<marc|gonzalez> digging...
<bryanodonoghue> marc|gonzalez what kernel are you running ?
<marc|gonzalez> 6.9-rc1
f_ has joined #linux-msm
<marc|gonzalez> phh pointed out that the target is dumping so much stuff over the 115200bps console that it's probably keeping "something" busy too long and triggering a watchdog bite.
ungeskriptet has joined #linux-msm
svarbanov has quit [Ping timeout: 480 seconds]
<marc|gonzalez> I'm going to need a MUCH bigger ring buffer...
ungeskriptet has quit [Ping timeout: 480 seconds]
pespin has quit []
<marc|gonzalez> log_buf_len=16777216 :)
f_ has quit [Remote host closed the connection]
f_ has joined #linux-msm
ungeskriptet has joined #linux-msm
telent has quit []
telent has joined #linux-msm
f_ has quit [Ping timeout: 480 seconds]
svarbanov has joined #linux-msm
jhovold has quit [Ping timeout: 480 seconds]
svarbanov has quit [Ping timeout: 480 seconds]