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]
rvalue has joined #armlinux
vingu has quit [Quit: Leaving.]
sakman has joined #armlinux
mraynal has quit [Remote host closed the connection]
mraynal has joined #armlinux
zkrx has quit [Ping timeout: 256 seconds]
zkrx has joined #armlinux
prabhakar has quit [Ping timeout: 260 seconds]
argo has quit [Remote host closed the connection]
amitk has joined #armlinux
heat_ has quit [Remote host closed the connection]
heat_ has joined #armlinux
heat_ has quit [Ping timeout: 246 seconds]
jclsn has quit [Ping timeout: 256 seconds]
jclsn has joined #armlinux
argo has joined #armlinux
cbeznea_ has joined #armlinux
mvaittin has joined #armlinux
iivanov has joined #armlinux
cbeznea has joined #armlinux
cbeznea_ has quit [Ping timeout: 272 seconds]
cbeznea_ has joined #armlinux
cbeznea has quit [Read error: Connection reset by peer]
sakman has quit [Ping timeout: 272 seconds]
monstr has joined #armlinux
jbowen has quit []
jbowen has joined #armlinux
gclement has joined #armlinux
ezulian has joined #armlinux
cbeznea has joined #armlinux
headless has joined #armlinux
cbeznea_ has quit [Ping timeout: 264 seconds]
tlwoerner has quit [Ping timeout: 268 seconds]
tlwoerner has joined #armlinux
sakman has joined #armlinux
manchaw has joined #armlinux
qpla has joined #armlinux
sakman has quit [Ping timeout: 256 seconds]
luispm has joined #armlinux
frieder has joined #armlinux
vingu has joined #armlinux
iivanov has quit [Remote host closed the connection]
vingu has quit [Client Quit]
frieder has quit [Ping timeout: 272 seconds]
sszy has joined #armlinux
prabhakar has joined #armlinux
prabhakarlad has joined #armlinux
sakman has joined #armlinux
biju has joined #armlinux
frieder has joined #armlinux
headless has quit [Quit: Konversation terminated!]
frieder has quit [Ping timeout: 272 seconds]
ezulian has quit [Quit: ezulian]
ezulian has joined #armlinux
tambarus has joined #armlinux
frieder has joined #armlinux
Amit_T has joined #armlinux
sakman has quit [Ping timeout: 272 seconds]
vingu has joined #armlinux
psydroid has joined #armlinux
frieder has quit [Ping timeout: 264 seconds]
vingu has quit [Quit: Leaving.]
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
nsaenz has quit [Ping timeout: 255 seconds]
nsaenz has joined #armlinux
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
luispm has quit [Quit: Leaving]
frieder has joined #armlinux
frieder has quit [Ping timeout: 256 seconds]
<Amit_T>
one basic question, Are ARMv8 PMUv3 counters per core, like arch timer?
<mrutland>
yes
<mrutland>
Each PE (i.e. hardware thread) has its own independent PMU
<Amit_T>
okay, it means Linux PMU driver configures these PMU events (and its counters) per core basis?
<robmur01>
an event is either bound to a CPU, in which case it always runs on that CPU, or to a task, in which case it runs on whichever CPU is running that task at any given time.
<robmur01>
for system-wide collection, perf tool replicates the given event(s) for each CPU (e.g. try `perf stat -vvv -a cpu_cycles true` and observe the individual events being opened)
<Amit_T>
okay, got it. It's perf that does per core event configuration, and all.
luispm has joined #armlinux
sakman has joined #armlinux
<Amit_T>
that is why, I see a small counter number when I configure its associated event from LKM (not extended for per core basis) compared to when read that event counter using perf.
<mrutland>
I assume LKM == Linux Kernel Module?
<mrutland>
Please don't use a random module to poke the PMU; the *only* supported interface for this is the perf_events system in the kernel, and anything else *will* randomly break (and likely cause other problems for the kernel)
frieder has joined #armlinux
<Amit_T>
yeah, its Linux Kernel Module. Okay sure, it was just part of some random experiment.
<headless>
gic_irq_domain_map() seems to have always returned just 0
<headless>
*wondering
heat has quit [Read error: Connection reset by peer]
heat has joined #armlinux
nsaenz_ has joined #armlinux
nsaenz has quit [Ping timeout: 252 seconds]
<headless>
(in irq-gic.c, I mean -- this is a static func that implements the map() method)
<robmur01>
headless: it was posted together with the same fix for GICv3, so may simply have been for the sake of consistency and robustness in case it ever _did_ start returning something
<headless>
robmur01: so I thought
<headless>
:-)
<robmur01>
(and Suzuki's off today, but I'm not sure he'd remember a random fix from 7 years ago anyway)
sakman has quit [Ping timeout: 272 seconds]
<headless>
robmur01: thanx! (we have a static analyzer complaining)
<headless>
(to add to that the reports are accompanied by some strange comments from the other corp)
<headless>
*another
<headless>
s/corp/reviewers/
nsaenz_ has quit [Remote host closed the connection]
sakman has joined #armlinux
Amit_T has quit [Quit: Leaving]
sakman1 has joined #armlinux
sakman has quit [Ping timeout: 276 seconds]
sakman1 is now known as sakman
biju has quit [Quit: Konversation terminated!]
headless has quit [Quit: Konversation terminated!]
cbeznea_ has quit [Ping timeout: 272 seconds]
prabhakarlad has joined #armlinux
qpla has quit [Ping timeout: 252 seconds]
qpla has joined #armlinux
qpla has quit [Ping timeout: 272 seconds]
ezulian has quit [Ping timeout: 246 seconds]
psydroid has quit [Remote host closed the connection]