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
rvalue has quit [Ping timeout: 264 seconds]
nsaenz has joined #armlinux
nsaenz has quit [Ping timeout: 260 seconds]
heat_ has joined #armlinux
rvalue has joined #armlinux
apritzel has quit [Ping timeout: 256 seconds]
hanetzer has quit [Quit: WeeChat 4.1.3]
heat_ has quit [Ping timeout: 260 seconds]
jclsn has quit [Ping timeout: 268 seconds]
jclsn has joined #armlinux
sally has quit [Remote host closed the connection]
sally has joined #armlinux
cbeznea_ has joined #armlinux
amitk_ has joined #armlinux
amitk has quit [Ping timeout: 246 seconds]
monstr has joined #armlinux
mvaittin has joined #armlinux
tambarus has joined #armlinux
tambarus_ has joined #armlinux
qpla has quit [Remote host closed the connection]
qpla has joined #armlinux
iivanov has joined #armlinux
ezulian has joined #armlinux
headless has joined #armlinux
mripard has joined #armlinux
nact has quit [Remote host closed the connection]
matthias_bgg has joined #armlinux
sszy has joined #armlinux
iivanov has quit [Remote host closed the connection]
iivanov has joined #armlinux
matthias_bgg has quit [Ping timeout: 255 seconds]
nsaenz has joined #armlinux
frieder has joined #armlinux
amitk_ has quit [Remote host closed the connection]
amitk has joined #armlinux
prabhakar has quit [Quit: Connection closed]
prabhakar has joined #armlinux
prabhakarlad has joined #armlinux
Amit_T has joined #armlinux
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
headless has quit [Quit: Konversation terminated!]
biju has joined #armlinux
apritzel_ has joined #armlinux
<biju> RZ/G2L plaform(arm64) doesn't boot with today's next. Not sure any seen the same issue?
<biju> Reverting commit e49312fe09df3 ("genirq/irqdomain: Reroute device MSI create_mapping")
<biju> Fixing the boot issue.
<maz> I've had a report related to the GIC, but I can't reproduce it so far.
matthias_bgg has joined #armlinux
<biju> sorry I reverted this commit de1ff306dcf4546d6 ("genirq/irqdomain: Remove the param count restriction from select()") for fixing the boot issue on CA-55.
<biju> maz: I will report aswell.
<maz> please add the backtrace, a pointer to a configuration and to the DT for this machine.
<maz> the original report didn't have much to go on (and they call that a CI infrastructure...)
<biju> maz: Ok will do, currently I don't get any logs. will enable early prints.
<maz> biju: are you using GICv2 ot GICv3 on your system?
<biju> maz: gic 600 gicv3
qpla has quit [Ping timeout: 272 seconds]
<maz> biju: ok. getting a proper backtrace would be useful.
<biju> maz: Looks like i don't get any interrupts
<biju> [ 0.000000] GICv3: GICv3 features: 16 PPIs
<biju> [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000011940000
<biju> [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
<biju> [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
<biju> [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
<biju> [ 0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
<biju> [ 0.008425] Console: colour dummy device 80x25
<biju> [ 0.012901] printk: legacy console [tty0] enabled
<biju> [ 0.017634] printk: legacy bootconsole [scif0] disabled
<maz> biju: please don't dump backtraces here, use a pastebin instead (such as https://paste.debian.net)
<maz> how do you infer that you don't get interrupts? the timer certainly is ticking (as evidenced by the time increasing).
<biju> maz: Oops I forgot. Do you have any pointers where I can put a WARN_ON(1) to get backtrace for this gic-v3 issue?
<ukleinek> (apart from paste.debian.net currently being broken if you have a dns resolver verifying dnssec)
<bjdooks> maz: iirc, the timer doesn't need to be making any actual irqs given the ludicrous wrap-around on that... probably at-least a day or two
<biju> maz: Maybe SPI interrupts?
<maz> biju: I don't know what is happening yet, so it is hard to guess.
<bjdooks> ah, it's 8hrs for wrap-around, not a day
<maz> bjdooks: the counter is guaranteed not to wrap around in less than 40 years.
<maz> or are you talking about something else?
<biju> maz: On normal case, I should get SPI interrupts for Serial console.
<bjdooks> oh, i pasted the wrong number
<biju> maz: Maybe PPI is working.
<maz> biju: they certainly seem to be working. given the patch you have reverted, I take it that this is matching the wrong bus_token.
<maz> but since I have no idea what your interrupt topology is, it is really hard to guess. you'll have to do the investigation work by yourself.
<biju> Maz: OK, The issue is strange. with renesas_defconfig (local to renesas) it is booting fine. with ARM64 generic defconfig, it doesn't boot.
<maz> interesting. can you extract the differences relevant to interrupt handling?
<geertu> biju: tools/testing/ktest/config-bisect.pl
<maz> defconfig works for me here (tested in a kvmtool VM and bare-metal on SynQuacer)
<maz> also tested in a QEMU VM (with KVM) with both ACPI and DT, no issue.
<maz> so it is likely to be something that is relatively specific to your SoC.
<biju> Maz: It was working till friday. that patch changes something different to gic-v3 causing issue. Anyway I will debug this issue and keep you updated.
<maz> biju: thanks.
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
dmart has joined #armlinux
hanetzer has joined #armlinux
<biju> <maz> Our IA55 driver hasfwspec->param_count =0, bus_token=0, https://justpaste.it/9zqin
<biju> So this change is breaking that driver
sszy has quit [Ping timeout: 256 seconds]
<broonie> Not bisected it or anything but the failures all seem to be in the GIC code.
<j`ey> the latter is tcg, what about the former?
monstr has quit [Ping timeout: 252 seconds]
<broonie> They're all TCG for kernelci
<maz> broonie: is rc5 OK?
<maz> broonie: also *which* GIC?
<maz> broonie: does it look OK to you???
<broonie> You can see the toolchains and whatever at the landing pages for the failures https://linux.kernelci.org/test/job/next/branch/master/kernel/next-20240219/plan/baseline/
<broonie> Relatively - there are some failures but not nearly so many and the arm64 ones are the debug defconfig.
<broonie> (the GCC versions will be whatever Debian are shipping, still Debian oldstable IIRC).
monstr has joined #armlinux
sszy has joined #armlinux
heat_ has joined #armlinux
<maz> ardb: it looks like the 52bit VA has an influence for some of the breakages. running in QEMU with defconfig explodes early in the GIC driver, while everything works if I stick to 48bits.
<biju> maz: How fwspec->param_count is handled now? Earlier we skip fwspec->param_count == 0 for rc = h->ops->select(h, fwspec, bus_token);
olofj has quit [Ping timeout: 256 seconds]
<maz> biju: no idea. all I can say is that it works for me, but I haven't followed the changes that tglx is making in the interrupt stack.
<biju> OK I will report with my observation.
<maz> the question is *why* do you pass anything that has param_count==0 the first place.
steev has quit [Ping timeout: 246 seconds]
<biju> onmy debug, I can see arch time and lot drivers passing param_count=0 and bus_token = 1
<biju> I guess param_count==0 is valid one
dtor has quit [Ping timeout: 268 seconds]
palmer has quit [Ping timeout: 256 seconds]
<maz> I mean, look at the DT. not a single interrupt specifier has 0 parameters.
<maz> so how can you end-up with that?
olofj has joined #armlinux
jluthra has quit [Ping timeout: 246 seconds]
jbowen has quit [Ping timeout: 268 seconds]
puranjaymohan has quit [Ping timeout: 260 seconds]
dianders has quit [Ping timeout: 268 seconds]
broonie has quit [Ping timeout: 246 seconds]
Tartarus has quit [Ping timeout: 268 seconds]
patersonc has quit [Ping timeout: 246 seconds]
sjg1 has quit [Ping timeout: 256 seconds]
khilman has quit [Ping timeout: 256 seconds]
mkorpershoek has quit [Ping timeout: 260 seconds]
Tartarus has joined #armlinux
dtor has joined #armlinux
jluthra has joined #armlinux
olofj has quit [Ping timeout: 268 seconds]
Forty-Bot has quit [Ping timeout: 268 seconds]
jbowen has joined #armlinux
drewfustini has quit [Ping timeout: 256 seconds]
kwilczynski has quit [Ping timeout: 246 seconds]
qyousef_ has quit [Ping timeout: 268 seconds]
khilman has joined #armlinux
palmer has joined #armlinux
dianders has joined #armlinux
nohit has quit [Ping timeout: 246 seconds]
jlinton has quit [Ping timeout: 268 seconds]
puranjaymohan has joined #armlinux
dtor has quit [Ping timeout: 264 seconds]
qyousef_ has joined #armlinux
drewfustini has joined #armlinux
robher has quit [Ping timeout: 256 seconds]
lvrp16 has quit [Ping timeout: 256 seconds]
patersonc has joined #armlinux
arnd has quit [Ping timeout: 246 seconds]
ardb has quit [Ping timeout: 246 seconds]
broonie has joined #armlinux
palmer has quit [Ping timeout: 260 seconds]
vigneshr has quit [Ping timeout: 260 seconds]
sally has quit [Remote host closed the connection]
robher has joined #armlinux
jlinton has joined #armlinux
Tartarus has quit [Ping timeout: 264 seconds]
qyousef_ has quit [Ping timeout: 256 seconds]
nohit has joined #armlinux
mvaittin has quit [Ping timeout: 260 seconds]
jbowen has quit [Ping timeout: 264 seconds]
linusw__ has quit [Ping timeout: 268 seconds]
arnd has joined #armlinux
ardb has joined #armlinux
qyousef_ has joined #armlinux
linusw__ has joined #armlinux
lvrp16 has joined #armlinux
palmer has joined #armlinux
kwilczynski has joined #armlinux
Forty-Bot has joined #armlinux
Tartarus has joined #armlinux
jluthra has quit [Ping timeout: 264 seconds]
steev has joined #armlinux
<biju> maz: Does it mean there is an issue in IRQ subsystem as DT does not have 0 parameters?
<biju> I see {0,1} followed by {3,1} for timer interrupts
dtor has joined #armlinux
jbowen has joined #armlinux
jluthra has joined #armlinux
olofj has joined #armlinux
heat has joined #armlinux
heat_ has quit [Ping timeout: 256 seconds]
<maz> if that's what is happening, this looks pretty wrong. it looks like something was misbehaving before this change, and it is now obviously wrong.
lvrp16 has quit [Ping timeout: 246 seconds]
jluthra has quit [Ping timeout: 246 seconds]
olofj has quit [Ping timeout: 268 seconds]
steev has quit [Ping timeout: 256 seconds]
linusw__ has quit [Ping timeout: 246 seconds]
headless has joined #armlinux
steev has joined #armlinux
jbowen has quit [Ping timeout: 246 seconds]
Tartarus has quit [Ping timeout: 256 seconds]
lvrp16 has joined #armlinux
steev has quit [Ping timeout: 264 seconds]
jluthra has joined #armlinux
linusw__ has joined #armlinux
jbowen has joined #armlinux
Tartarus has joined #armlinux
sjg1 has joined #armlinux
steev has joined #armlinux
olofj has joined #armlinux
mkorpershoek has joined #armlinux
vigneshr has joined #armlinux
<biju> Looks like of_phandle_args_to_fwspec count() is called after irq_find_matching_fwspec() is causing the issue.
<biju> ie, fwspec->param_count=0 because of that
<biju> maz: Looks like IRQ subsystem needs to fix this before applying this patch.
matthias_bgg has quit [Read error: Connection reset by peer]
matthias_bgg has joined #armlinux
psydroid has joined #armlinux
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
ungeskriptet has quit [Ping timeout: 252 seconds]
ungeskriptet has joined #armlinux
dtor has quit [Ping timeout: 246 seconds]
dtor has joined #armlinux
jbowen has quit [Ping timeout: 268 seconds]
jbowen has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
xvmt has quit [Ping timeout: 268 seconds]
prabhakalad has joined #armlinux
ungeskriptet has quit [Quit: The Lounge - https://thelounge.chat]
ungeskriptet has joined #armlinux
dmart has quit [Ping timeout: 256 seconds]
frieder has quit [Ping timeout: 268 seconds]
frieder has joined #armlinux
dmart has joined #armlinux
dmart is now known as Guest9000
frieder has quit [Remote host closed the connection]
Guest9000 is now known as dmart
dmart is now known as Guest1823
Guest1823 is now known as cmart
cmart is now known as dmart
xvmt has joined #armlinux
matthias_bgg has quit [Quit: Leaving]
lvrp16 has quit [Ping timeout: 246 seconds]
monstr has quit [Remote host closed the connection]
olofj has quit [Ping timeout: 246 seconds]
punit has joined #armlinux
lvrp16 has joined #armlinux
Tartarus has quit [Ping timeout: 256 seconds]
olofj has joined #armlinux
Tartarus has joined #armlinux
tambarus_ has quit [Ping timeout: 260 seconds]
tambarus has quit [Ping timeout: 260 seconds]
dmart has quit [Quit: leaving]
apritzel has joined #armlinux
apritzel has quit [Ping timeout: 264 seconds]
Amit_T has quit [Quit: Leaving]
rvalue has quit [Ping timeout: 264 seconds]
rvalue has joined #armlinux
qpla has joined #armlinux
apritzel_ has quit [Ping timeout: 272 seconds]
qpla has quit [Quit: Leaving]
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
biju has quit [Quit: Konversation terminated!]
_rgallaispou has joined #armlinux
_rgallaispou is now known as rgallaispou
sally_ has joined #armlinux
tincho has joined #armlinux
amitk has quit [Ping timeout: 256 seconds]
nsaenz has quit [Remote host closed the connection]
cbeznea_ has quit [Ping timeout: 240 seconds]
headless has quit [Quit: Konversation terminated!]
apritzel has joined #armlinux
jeeeun8 has quit [Read error: Connection reset by peer]
jeeeun8 has joined #armlinux
rockosov has quit [Ping timeout: 264 seconds]
rockosov has joined #armlinux
psydroid has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
heat_ has joined #armlinux
heat has quit [Read error: Connection reset by peer]
rgallaispou has quit [Quit: WeeChat 4.2.1]
sally_ has quit [Remote host closed the connection]
sally has joined #armlinux
jeeeun8 has quit [Read error: Connection reset by peer]
jeeeun8 has joined #armlinux