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
heat has quit [Remote host closed the connection]
heat has joined #armlinux
Tokamak_ has joined #armlinux
Tokamak has quit [Ping timeout: 255 seconds]
Pali has quit [Quit: Pali]
Tokamak has joined #armlinux
Tokamak_ has quit [Read error: Connection timed out]
apritzel has quit [Ping timeout: 268 seconds]
alpernebbi has quit [Ping timeout: 256 seconds]
shawnguo has joined #armlinux
alpernebbi has joined #armlinux
Tokamak_ has joined #armlinux
Tokamak has quit [Ping timeout: 256 seconds]
amitk has joined #armlinux
cbeznea has joined #armlinux
heat has quit [Ping timeout: 256 seconds]
scosu has joined #armlinux
guillaume_g has joined #armlinux
viorel has joined #armlinux
hanetzer has quit [Ping timeout: 260 seconds]
hanetzer has joined #armlinux
iivanov has joined #armlinux
sszy has joined #armlinux
frieder has joined #armlinux
mcoquelin has joined #armlinux
cbeznea has quit [Ping timeout: 240 seconds]
hanetzer has quit [Ping timeout: 256 seconds]
hanetzer has joined #armlinux
luispm has joined #armlinux
<krzk> vkoul: that failure was reported many times on next...
<krzk> the commit should be dropped
<krzk> vkoul: ok, not many times, two times: 5th and 8th of November build failure of your tree
<krzk> If the patch owner does not respond to such failure report (I guess here on purpose because the patchset was described as non-mergeable via subsystems), I think you should consider dropping the patch.
apritzel__ has joined #armlinux
sibis has quit [Read error: Software caused connection abort]
sibis has joined #armlinux
<arnd> IIRC there are some cases where an interrupt controller requires an #address-cells property, so I wonder if this one should be fixed by changing the the binding rather than the dts
<prabhakarlad> arnd: can you provide any example pointers please. I had a quick look at bindings/pinctrl folder which are interrupt controllers but don't have address-cells for child nodes.
<krzk> arnd: I think it's only in case if some other nodes are interrup nexuses with interrupt-map. Then the parent and nexus should have the address-cells.
<arnd> Right, so https://www.devicetree.org/open-firmware/practice/imap/imap0_9d.html describes it, but interrupt-map is mainly used for legacy PCI IntX interrupts, so if this one is not connected to PCI, it's probably not needed
<krzk> I don't remember any other cases.
<krzk> arnd: yes
cbeznea has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
prabhakarlad has joined #armlinux
<arnd> tagr: regarding your updated pull requests: I already have a bunch of things on top of the original PR. I can of course redo it all as I have not pushed it out, but it would be easier to leave it if the only change is the fixes line. how important is this to you?
<arnd> I have not pulled the memory driver branch yet
biju has quit [Ping timeout: 256 seconds]
prabhakarlad has quit [Ping timeout: 260 seconds]
naoki has quit [Quit: naoki]
<lag> Anyone know of a tool, similar to `pahole` that would be useful to examine the stack-frame of a given function within a compiled *.o file?
<lag> Trying to debug -Wframe-larger-than warnings when the size of the used stack is not evident by simply reading the code
<lag> Should I assume that 'static const's, declared and assigned *outside* of a function, but used *inside* said function get shoved into that function's stack frame?
<lag> No, that can't be right - else that would blow the frame-larger-than limit several fold in my working example [wp512_process_buffer()]
<arnd> lag: ndesaulniers' https://github.com/ClangBuiltLinux/frame-larger-than might help
Amit_T has joined #armlinux
<bjdooks> lag: unlikely, it is much more likely to be something inside the function itself
prabhakarlad has joined #armlinux
<lag> arnd: I am working with ndesaulniers on this already :)
<lag> bjdooks: Right, but I'm missing it
<bjdooks> lag: is this code public?
<lag> bjdooks: arnd: ndesaulniers did say that in some cases KASAN was inflating use
<lag> bjdooks: No idea - is the Linux kernel public? =;-D
<lag> bjdooks: Let me grab you a link
<bjdooks> some of our work is debugging whatevre bat-crazy stuff our suppliers have made
<lag> bjdooks: I know Ben, I'm just pulling your leg
<lag> bjdooks: BTW, I moved to to your neck of the woods recently - fancy a beer? :)
<bjdooks> lag: the start of that is easily 256 bytes of frame from the 4x8xsizeof(u64)
<lag> bjdooks: Right, so where does the other 900-odd Bytes come from?
<arnd> lag: I've looked at similar cases before, compiler optimizations tend to clash with crypto algorithms because those are written to be impossible to optimize yet look to the compiler like it should be possible. The compiler then runs out of registers trying to fold it all together
<lag> arnd: So what do we do? Turn down the warning for that file / subsystem?
<arnd> lag: if you look at the asm file generated by 'make crypto/wp512.s', you should see a lot of 'spilled variable' annotations
<arnd> lag: no, the warning is for a real problem, which causes both very slow code that is meant to be optimized, and an actual risk for stack overflow. In some of these cases it may overflow immediately when the function stack frame grows to tens of kb
<arnd> sometimes it helps to turn off a specific optimization flag that causes the compiler to make a mess
<bjdooks> lag: yep, but i'm going to be away from end of this week until late decmber
<arnd> CFLAGS_wp512.o := $(call cc-option,-fno-schedule-insns) # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79149
<arnd> this is from the last time this happened
<lag> (without looking) is that current?
<arnd> lag: what compile and version do you use, and which flags are enabled?
<lag> arnd: Lots
<arnd> the workaround was from 2017, see 7d6e91050267 ("crypto: improve gcc optimization flags for serpent and wp512")
<lag> arnd: Line 30 is the build I'm looking at ("arm allmodconfig clang-13") -- fail (12 errors - 14 warnings)
<arnd> ok, so maybe clang needs a similar workaround to gcc
<arnd> the optimzation flags all have different names and different behavior of course, but it may be a case where they run into the same fundamental issue
<lag> arnd: Okay, let me speak to Nick, see what he can suggest
<lag> arnd: bjdooks: Thanks for your input
<bjdooks> there's nothing that jumps out, sounds like a weird compiler issue
<arnd> lag: my guess would be d539fee9f825 ("ARM: 9253/1: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL")
<arnd> I think we had similar problems the last time someone tried turning that on
<arnd> does it happen if you disable CONFIG_UBSAN_SANITIZE_ALL?
<lag> arnd: I can try
<lag> arnd: Doesn't look like it's enabled
<lag> arnd: At least not explicitly (no mention in .config)
<lag> CONFIG_UBSAN=y
<lag> CONFIG_CC_HAS_UBSAN_BOUNDS=y
<lag> CONFIG_UBSAN_BOUNDS=y
<lag> CONFIG_CC_HAS_UBSAN_ARRAY_BOUNDS=y
<lag> CONFIG_UBSAN_ARRAY_BOUNDS=y
<lag> CONFIG_UBSAN_SHIFT=y
<lag> CONFIG_UBSAN_UNREACHABLE=y
<lag> CONFIG_UBSAN_BOOL=y
<lag> CONFIG_UBSAN_ENUM=y
<lag> CONFIG_TEST_UBSAN=m
<arnd> ok, is this a release kernel then? The SANITIZE_ALL stuff only just went into linux-next, so on other kernels it must be something else
<lag> arnd: Stock v6.0
<arnd> ok
<arnd> so KASAN_STACK is also disabled because of CONFIG_CC_IS_CLANG, right?
<lag> arnd: Correct
<arnd> lag: so what I've done in the past to debug issues like this is to bisect through the command line. Build it with "make V=1 crypto/wp512.o" on both allmodconfig (which produces the warning and defconfig (which should not), and then compare all the command line flags, the theory being that exactly one of the flags makes the difference. Then run the compiler command manually to build the file with a mix of the two sets of parameters
torez has joined #armlinux
<lag> arnd: That sounds like fun!
monstr has joined #armlinux
<geertu> arnd: IIRC, we used to get warnings if the #address-cells was missing in an interrupt-controller, while most(?) interrupts controllers don't use/need it at all. Exception is GIV with v2m subnodes
<maz> v2m is an MSI controller, for which the #address-cell means a lot.
prabhakarlad has quit [Quit: Client closed]
<arnd> tmlind: is "[GIT PULL] Regulator changes for am335x-pcm-953" for 6.1 or for 6.2?
<tmlind> arnd: does not seem too urgent to me, up to you to merge whenever suitable :)
<arnd> ok
elastic_1 has joined #armlinux
elastic_1 is now known as elastic_dog
elastic_dog has quit [Killed (calcium.libera.chat (Nickname regained by services))]
<arnd> tmlind: I've put it into the fixes branch for 6.1 now
<tmlind> arnd: ok thanks
Tokamak has joined #armlinux
Tokamak_ has quit [Ping timeout: 260 seconds]
prabhakarlad has joined #armlinux
cambrian_invader has quit [Ping timeout: 268 seconds]
heat has joined #armlinux
<tagr> arnd: I was going to send an updated PR for three branches because I noticed a Fixes: reference mismatch earlier today
<tagr> I had sent out a mail, but you might have missed it
<tagr> maybe not worth it now that you already pulled because the Fixes: tag is for a patch that precedes the fix by 2 commits in the branch
<tagr> so the reference is only marginally useful and in retrospect it might have been better to just squash the fix into the original patch
<tagr> that's exactly what I would've done for the updated PR
cambrian_invader has joined #armlinux
<arnd> tagr: I think the email bot was a bit confusing today, the version I pushed out should not have anything that depends on your dt-bindings branch
<arnd> I ended up redoing the soc/dt branch leaving out the three I had pulled earlier, and I did not merge the one for the drivers branch
<arnd> tagr: if you check my for-next branch, you should see what is missing, please resend everything I haven't already pulled
<tagr> arnd: great, will do
<tagr> arnd: oh, I see that PR 8/8 is the only one that has an actual link to the merge commit, and that's the only one that I see in your for-next branch
<tagr> sorry, I completely misinterpreted the output
<tagr> I'll resend 1-7 then
frieder has quit [Remote host closed the connection]
headless has joined #armlinux
luispm has quit [Quit: Leaving]
prabhakarlad has quit [Ping timeout: 260 seconds]
<ajb-linaro> does anyone know who admins storage.kernelci.org? is it a linaro bod or someone else in the community?
prabhakarlad has joined #armlinux
Lucanis0 has joined #armlinux
Lucanis0 has quit [Changing host]
Lucanis0 has joined #armlinux
Lucanis has quit [Ping timeout: 260 seconds]
apritzel__ has quit [Remote host closed the connection]
apritzel__ has joined #armlinux
apritzel__ has quit [Ping timeout: 256 seconds]
monstr has quit [Remote host closed the connection]
plappermaul has joined #armlinux
<mwalle> did someone already found out what's wrong with next-20221121? looks like most arm64 doesn't boot
elastic_dog has joined #armlinux
Tokamak has quit [Ping timeout: 256 seconds]
<mwalle> robmur01: thanks, let me try it
prabhakarlad has quit [Quit: Client closed]
viorel has quit [Quit: WeeChat 3.5]
iivanov has quit [Quit: Leaving...]
Pali has joined #armlinux
Tokamak has joined #armlinux
Tokamak_ has joined #armlinux
Tokamak has quit [Ping timeout: 260 seconds]
amitk has quit [Ping timeout: 260 seconds]
<mwalle> robmur01: yep, reverting that commit will fix the issue
prabhakarlad has joined #armlinux
apritzel has joined #armlinux
headless has quit [Quit: Konversation terminated!]
prabhakarlad has quit [Ping timeout: 260 seconds]
luispm has joined #armlinux
naoki has joined #armlinux
cbeznea has quit [Quit: Leaving.]
cbeznea has joined #armlinux
guillaume_g has quit [Quit: Konversation terminated!]
Nact has joined #armlinux
apritzel has quit [Ping timeout: 260 seconds]
Amit_T has quit [Ping timeout: 260 seconds]
plappermaul has quit [Quit: Client closed]
prabhakarlad has joined #armlinux
Tokamak_ has quit [Quit: Tokamak_]
cbeznea has quit [Quit: Leaving.]
Tokamak has joined #armlinux
Lucanis has joined #armlinux
Lucanis0 has quit [Ping timeout: 268 seconds]
Lucanis0 has joined #armlinux
Lucanis0 has joined #armlinux
Lucanis0 has quit [Changing host]
Nact has quit [Remote host closed the connection]
Nact has joined #armlinux
Lucanis has quit [Ping timeout: 252 seconds]
Nact has quit [Client Quit]
Nact has joined #armlinux
Nact has quit [Client Quit]
Nact has joined #armlinux
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Nact has quit [Quit: Konversation terminated!]
Nact has joined #armlinux
apritzel has joined #armlinux
torez has quit [Quit: torez]
Nact has quit [Quit: Konversation terminated!]
Nact has joined #armlinux
elastic_1 has joined #armlinux
elastic_dog has quit [Killed (platinum.libera.chat (Nickname regained by services))]
elastic_1 is now known as elastic_dog
Nact has quit [Read error: Connection reset by peer]
Nact has joined #armlinux
Pali has quit [Quit: Pali]
heat has quit [Remote host closed the connection]
heat has joined #armlinux
Tokamak has quit [Quit: Tokamak]