libera/#maemo-leste/ Tuesday, 2023-07-04

maxwelldyes!00:17
maxwelldused it whole day today. while working listened to internet radios.00:18
maxwelldand it got me a list of works i like. in csv format.00:19
sicelotmlind: freemangordon: remember the l3 interrupt issue i posted a couple of weeks ago?  https://paste.debian.net/1284876/ for ease of reference09:24
siceloand fmg asked if it could be possible to find address or device that's at fault ... TRM seems to suggest it's possible even on OMAP3, see page 643, 5.2.4.309:26
sicelowe probably can't tell here because the kernel code calls BUG_ON() without attempting to decode the source of the error, https://github.com/torvalds/linux/blob/master/drivers/bus/omap_l3_smx.c#L171-L17709:29
siceloi added a printk just above that line 177, printk("omap_l3_smx.c: omap3_l3_app_irq: L3_SI_FLAG_STATUS_0: %llu \n", status);09:30
sicelogot the value 524288, (0x80000) ... using table 5-29, I suppose that's flag bit 19, pointing to sDMA Rd IA09:34
sicelojust thought i'd give you guys an update ... maybe you will have some ideas on how to proceed further09:36
freemangordonsicelo: thanks, I'll read the TRM later on to see if we can extract some more info11:24
freemangordonwhat the ?!? https://github.com/torvalds/linux/blob/master/drivers/bus/omap_l3_smx.c#L16811:25
freemangordonsicelo: what about moving the bug down?11:27
freemangordonBUG_ON() I mean11:28
freemangordonand see if you can get any more info from https://github.com/torvalds/linux/blob/master/drivers/bus/omap_l3_smx.c#L183 and down11:28
siceloyes, thanks. that's what i was going to try next :-)11:34
siceloi was yet to see what the __ffs does (line 184) so i can know if line 186 will contain the correct address11:35
sicelofreemangordon: so with our timeout error, `int_type` will be 0, and err_source will be 19. looks good. what i can't grok yet is how `base` will be evaluated on line 186. it appears to expect omap3_l3_bases to be a multidimensional array, something like omap3_l3_bases[0][19] in our case.14:59
siceloah ... sorry i get it now. always good to ask :P15:00
siceloso `bases` will be calculated correctly ... i'll make the change soon15:01
freemangordon:)15:07
siceloi'll also try what tmlind suggested at https://lore.kernel.org/lkml/YmkFvmE+2CD3Bjs+@atomide.com/ ... but for now, already compiling such that we can see what's going on with the L3 error itself15:34
freemangordonright16:22

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!