ChanServ changed the topic of #armlinux to: ARM kernel talk [Upstream kernel, find your vendor forums for questions about their kernels] | https://libera.irclog.whitequark.org/armlinux
Tokamak has quit [Ping timeout: 256 seconds]
Tokamak has joined #armlinux
apritzel has quit [Ping timeout: 246 seconds]
jwerner has quit [Remote host closed the connection]
Tokamak has quit [Ping timeout: 255 seconds]
Tokamak has joined #armlinux
jwerner has joined #armlinux
Tokamak has quit [Ping timeout: 256 seconds]
elastic_dog has quit [Ping timeout: 260 seconds]
elastic_dog has joined #armlinux
Peng_Fan has joined #armlinux
iivanov has joined #armlinux
matthias_bgg has quit [Ping timeout: 258 seconds]
shailangsa has quit [Ping timeout: 240 seconds]
Peng_Fan has quit [Quit: Connection closed for inactivity]
Peng_Fan has joined #armlinux
shailangsa has joined #armlinux
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #armlinux
<tmlind> arnd: sounds like the am335x regression was a false positive on the vmap stack changes
<tmlind> i'll suggest bisecting with vmap stack always disabled
djrscally has joined #armlinux
<arnd> tmlind: but vmap-stack was disabled before the patches he bisected to, so unless there was a mistake during bisection, the trigger is still in the same few patches
<tmlind> arnd: yeah so it seems, now vmap stack gets enabled by default
<tmlind> arnd: so the v6 and thread save local changes could be it, we had some of those recently, right?
apritzel has joined #armlinux
<arnd> from the patches in the bisection, I would guess it's something in 9c46929e7989 ("ARM: implement THREAD_INFO_IN_TASK for uniprocessor systems")
<tmlind> right
<arnd> this appears to enable THREAD_INFO_IN_TASK, IRQSTACKS and STACKPROTECTOR_PER_TASK, all of which would be disabled before this for the V6 SMP config
<tmlind> yeah i'll suggest testing before and after that commit
<arnd> I thought those failed to work because of another bug, so he couldn't bisect further
<arnd> but if the problem is still there without SMP and MULTI_v6, it's likely that the problem already existed before the patches but was hidden because CURRENT_POINTER_IN_TPIDRURO depends on !CPU_V6
<tmlind> yes could be
<tmlind> arnd: for the musb dma issues, seems that the driver data just needs to add void __iomem *buf to have it available for transferring the remaining bytes after dma :)
<tmlind> that should get rid of all the pre dma enagine crap
<ardb> maybe the IRQ stacks are the issue, although i'm not sure how
bps3 has quit [Ping timeout: 255 seconds]
prabhakarlad has joined #armlinux
apritzel has quit [Ping timeout: 246 seconds]
machaddr has joined #armlinux
Pali has joined #armlinux
headless has joined #armlinux
Pali has quit [Ping timeout: 255 seconds]
matthias_bgg has joined #armlinux
bps3 has joined #armlinux
rvalue has quit [Ping timeout: 246 seconds]
rvalue has joined #armlinux
cbeznea has joined #armlinux
apritzel has joined #armlinux
cbeznea has quit [Remote host closed the connection]
cbeznea has joined #armlinux
machaddr_ has joined #armlinux
machaddr has quit [Ping timeout: 272 seconds]
darkapex has joined #armlinux
machaddr_ is now known as machaddr
<ardb> arnd: tmlind, ok so it seems related to the SMP_ON_UP patching of the TPIDR register reads into loads of cpu_offset and/or __current
<ardb> (that would be my guess, anyway)
<tmlind> ardb: ok
<ardb> tmlind: this is a UP Cortex-A8, right?
<tmlind> ardb: yes am335x is up c-a8
Amit_T has joined #armlinux
headless has quit [Quit: Konversation terminated!]
cbeznea has quit [Read error: Connection reset by peer]
<arnd> I suppose we really should have removed that support and made SMP depend on !CPU_V6 back then, but now we have to fix it
<arnd> or at least understand the exact problem before deciding it's too hard to fix ;-)
shailangsa has quit [Remote host closed the connection]
<arnd> ardb: I was just looking at use of tasklets in dmaengine for entirely different reasons, but there is always a chance that this is related: cppi41_dma_callback() runs from a tasklet in softirq context, and it gets into another network softirq through the can driver, which may then trigger running ksoftirqd
<arnd> most other drivers wouldn't run into that particular combination, at least not reproducibly
cbeznea has joined #armlinux
machaddr_ has joined #armlinux
machaddr has quit [Ping timeout: 246 seconds]
<arnd> I went through possible code paths involving softirq or the smp-patched TPIDR. So far I did not find what I was looking for, but maz might like to hear that handle_IPI() can now be removed
<arnd> marked as obsolete in 56afcd3dbd19 ("ARM: Allow IPIs to be handled as normal interrupts"), last caller removed in 08572cd41955 ("ARM: remove some dead code")
shailangsa has joined #armlinux
machaddr_ has quit [Quit: Leaving]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #armlinux
mcoquelin has quit [Remote host closed the connection]
<arnd> krzk: I'm going through the patchwork contents at the moment to see what is missing that should still be part of rc1, and there are a ton of patches from you. I assume the three "dma-channels" cleanups are meant for 5.19, and the whitespace stuff is for 5.20?
<ukleinek> arnd: some days ago we discussed about KASAN_STACK. In the end I found it enabled with COMPILE_TEST on arm and I understood you were surprised by that too. Ist that right?
<arnd> ukleinek: correct. I don't know exactly what happened here, the best explanation I have is that there was a compile-time check in the past that turned KASAN_STACK into a nop on gcc
<arnd> maybe nathanchance's 19532869feb9 ("kasan: always respect CONFIG_KASAN_STACK") turned it off for clang but on for gcc?
<arnd> I have a number of patches on top of my randconfig build tree, and may have missed that
<ukleinek> 19532869feb9 looks innocent to me
* ukleinek does a bit of bisecting
Peng_Fan has quit [Quit: Connection closed for inactivity]
<ukleinek> in v5.11 KASAN was disabled for allmodconfig ARCH=arm
<ukleinek> in v5.12 it was already on
<ukleinek> 02c587733c8161355a43e6e110c2e29bd0acff72 is the first bad commit
<ukleinek> ah, that however only changes CONFIG_KASAN_STACK=1 to CONFIG_KASAN_STACK=y, so my bisect script was wrong
<ukleinek> in v5.0 KASAN_STACK=1, too, with allmodconfig
Turingtoast has joined #armlinux
* ukleinek improves his bisect script
djrscally has quit [Ping timeout: 246 seconds]
<ukleinek> it seems KASAN is effectively on since 421015713b306e47af95d4d61cdfbd96d462e4cb, seems to be by design
matthias_bgg has quit [Ping timeout: 255 seconds]
Turingtoast has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Pali has joined #armlinux
matthias_bgg has joined #armlinux
iivanov has quit [Read error: Connection reset by peer]
iivanov has joined #armlinux
Turingtoast has joined #armlinux
<mwalle> arnd: thanks, btw that link somehow has a trailing quote: https://git.kernel.org/soc/soc/c/01ba87a4b792
<mwalle> arnd: dunno if that a problem of your tool or if you just have clumsy fingers
headless has joined #armlinux
<ukleinek> arnd: I think KASAN was never disabled for ARCH=arm?!
<arnd> kasan itself was added for arm in 5.11, late 2020. I don't think the behavior is arm specific though, the extra stack usage happens on all architectures, and is more noticeable on 32-bit architectures because of the lower default warning limit
<ukleinek> so what is the action item? Look at each warning and fix?
Turingtoast has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
archetech has joined #armlinux
Amit_T has quit [Ping timeout: 255 seconds]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #armlinux
djrscally has joined #armlinux
cbeznea has quit [Quit: Leaving.]
c1728p9 has joined #armlinux
archetech has quit [Quit: Konversation terminated!]
iivanov has quit [Quit: Leaving...]
c1728p9 has quit [Quit: Leaving]
sakman has quit [Quit: Leaving]
sakman has joined #armlinux
luispm has quit [Quit: Leaving]
headless has quit [Quit: Konversation terminated!]
djrscally has quit [Ping timeout: 240 seconds]
jeeeun has quit [Quit: The Lounge - https://thelounge.chat]
jeeeun has joined #armlinux
Tokamak has joined #armlinux
Peng_Fan has joined #armlinux