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 joined #armlinux
heat has quit [Read error: Connection reset by peer]
heat_ is now known as heat
agraf has quit [Ping timeout: 246 seconds]
agraf has joined #armlinux
heat has quit [Ping timeout: 252 seconds]
sakman_ is now known as sakman
haritzondo has joined #armlinux
haritz has quit [Read error: Connection reset by peer]
cbeznea_ has joined #armlinux
manchaw has joined #armlinux
monstr has joined #armlinux
monstr has quit [Ping timeout: 245 seconds]
houze has quit [Ping timeout: 246 seconds]
houze has joined #armlinux
jclsn has joined #armlinux
frieder has joined #armlinux
pivi has quit [Server closed connection]
pivi has joined #armlinux
monstr has joined #armlinux
mripard has joined #armlinux
rgallaispou has quit [Ping timeout: 258 seconds]
rgallaispou has joined #armlinux
ezulian has joined #armlinux
prabhakarlad has joined #armlinux
rgallaispou has left #armlinux [#armlinux]
smoothdev has quit [Quit: smoothdev]
smoothdev has joined #armlinux
headless has joined #armlinux
sszy has joined #armlinux
nsaenz has joined #armlinux
smoothdev has quit [Quit: smoothdev]
smoothdev has joined #armlinux
smoothdev has quit [Client Quit]
smoothdev has joined #armlinux
ezulian has quit [Quit: ezulian]
ezulian has joined #armlinux
nsaenz has quit [Remote host closed the connection]
smoothdev has quit [Quit: smoothdev]
lag has quit [Ping timeout: 255 seconds]
HdkR has quit [Server closed connection]
HdkR has joined #armlinux
nsaenz has joined #armlinux
nsaenz has quit [Ping timeout: 252 seconds]
Amit_T has joined #armlinux
lag has joined #armlinux
nsaenz 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
nsaenz has quit [Remote host closed the connection]
headless has quit [Quit: Konversation terminated!]
<NishanthMenon> Does anyone know the magic sauce for getting JTAG + software breakpoints to work with kernel? I mean, I did disable CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMUCONFIG_CORESIGHT -> but ran headlong into this little problem: https://gist.github.com/nmenon/96a0122c82a3a11452ca152dba1e7786 - openocd s/w breakpoints dont work since the text areas are ro - h/w breakpoints work.. but are limited in number (asking for someone else)
<jn> NishanthMenon: you can make the .text sections RW by disabling CONFIG_STRICT_KERNEL_RWX
<NishanthMenon> aah thanks
<NishanthMenon> trying..
nsaenz has joined #armlinux
benh_ has quit [Server closed connection]
benh has joined #armlinux
<robmur01> NishanthMenon: IIRC the arguments for minimising hardware debug frustration are "rodata=off cpuidle.off=1"
<NishanthMenon> Thanks robmur01 - that is much easier to try.. adding it to nokaslr
<NishanthMenon> robmur01: worked like a charm. thank you!
<robmur01> (disabling idle is because historically Arm Development Studio didn't really like CPUs suddenly disappearing - dunno if it's got any better since I last tried)
<NishanthMenon> robmur01: ok the only thing irky is coresight driver taking over coresight regs and messing with openocd control :( -> will see if there is command line option for that sometime..
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
nsaenz has quit [Remote host closed the connection]
haritzondo is now known as haritz
haritz has quit [Changing host]
haritz has joined #armlinux
nsaenz has joined #armlinux
nsaenz has quit [Remote host closed the connection]
Amit_T has quit [Ping timeout: 258 seconds]
heat has joined #armlinux
smoothdev has joined #armlinux
smoothdev has quit [Client Quit]
Amit_T has joined #armlinux
nsaenz has joined #armlinux
nsaenz_ has joined #armlinux
nsaenz has quit [Read error: Connection reset by peer]
rvalue has quit [Quit: ZNC - https://znc.in]
rvalue has joined #armlinux
nsaenz_ has quit [Ping timeout: 246 seconds]
nsaenz has joined #armlinux
crummel has quit [Server closed connection]
crummel has joined #armlinux
monstr has quit [Ping timeout: 255 seconds]
amitk has joined #armlinux
qyousef_ has quit [Read error: Connection reset by peer]
puranjaymohan has quit [Ping timeout: 246 seconds]
robher has quit [Ping timeout: 246 seconds]
Tartarus has quit [Ping timeout: 246 seconds]
manchaw has quit [Read error: Connection reset by peer]
pjw_ has quit [Read error: Connection reset by peer]
khilman has quit [Read error: Connection reset by peer]
dtor has quit [Read error: Connection reset by peer]
nathanchance has quit [Read error: Connection reset by peer]
linusw__ has quit [Ping timeout: 246 seconds]
broonie has quit [Read error: Connection reset by peer]
mturquette has quit [Read error: Connection reset by peer]
tfiga has quit [Read error: Connection reset by peer]
robclark has quit [Read error: Connection reset by peer]
conchuod has quit [Read error: Connection reset by peer]
alpernebbi_ has quit [Ping timeout: 255 seconds]
_alice has quit [Ping timeout: 258 seconds]
mkorpershoek has quit [Ping timeout: 258 seconds]
zx2c4 has quit [Ping timeout: 246 seconds]
patersonc has quit [Ping timeout: 248 seconds]
ndesaulniers has quit [Read error: Connection reset by peer]
Peng_Fan has quit [Read error: Connection reset by peer]
dhruvag2000 has quit [Ping timeout: 246 seconds]
ardb has quit [Read error: Connection reset by peer]
arnd has quit [Read error: Connection reset by peer]
georgem has quit [Ping timeout: 246 seconds]
sboyd has quit [Read error: Connection reset by peer]
drewfustini has quit [Read error: Connection reset by peer]
lvrp16 has quit [Read error: Connection reset by peer]
steev has quit [Read error: Connection reset by peer]
roxell has quit [Ping timeout: 252 seconds]
vigneshr has quit [Ping timeout: 252 seconds]
kwilczynski has quit [Read error: Connection reset by peer]
jbowen has quit [Read error: Connection reset by peer]
olofj has quit [Read error: Connection reset by peer]
ccaione has quit [Read error: Connection reset by peer]
jkridner has quit [Write error: Connection reset by peer]
Crofton has quit [Read error: Connection reset by peer]
unixsmurf has quit [Read error: Connection reset by peer]
nohit has quit [Read error: Connection reset by peer]
jluthra has quit [Ping timeout: 258 seconds]
NishanthMenon has quit [Ping timeout: 258 seconds]
jlinton has quit [Ping timeout: 245 seconds]
dianders has quit [Ping timeout: 245 seconds]
qyousef_ has joined #armlinux
sjg1 has quit [Ping timeout: 245 seconds]
palmer has quit [Ping timeout: 245 seconds]
ConorDooley has joined #armlinux
robclark has joined #armlinux
narmstrong has quit [Ping timeout: 258 seconds]
maennich has quit [Ping timeout: 258 seconds]
alpernebbi_ has joined #armlinux
robher has joined #armlinux
_alice has joined #armlinux
unixsmurf has joined #armlinux
roxell has joined #armlinux
jkridner has joined #armlinux
ccaione has joined #armlinux
manchaw has joined #armlinux
Crofton has joined #armlinux
ardb has joined #armlinux
georgem has joined #armlinux
jluthra has joined #armlinux
steev has joined #armlinux
patersonc has joined #armlinux
maennich has joined #armlinux
kwilczynski has joined #armlinux
dtor has joined #armlinux
linusw__ has joined #armlinux
Peng_Fan has joined #armlinux
dianders has joined #armlinux
mturquette has joined #armlinux
puranjaymohan has joined #armlinux
lvrp16 has joined #armlinux
pjw_ has joined #armlinux
nathanchance has joined #armlinux
jluthra has quit [Changing host]
jluthra has joined #armlinux
tfiga has joined #armlinux
nohit has joined #armlinux
jbowen has joined #armlinux
kwilczynski has quit [Changing host]
kwilczynski has joined #armlinux
palmer has joined #armlinux
arnd has joined #armlinux
jbowen has quit [Changing host]
jbowen has joined #armlinux
dhruvag2000 has joined #armlinux
Tartarus has joined #armlinux
drewfustini has joined #armlinux
khilman has joined #armlinux
broonie has joined #armlinux
ndesaulniers has joined #armlinux
vigneshr has joined #armlinux
sboyd has joined #armlinux
NishanthMenon has joined #armlinux
olofj has joined #armlinux
sjg1 has joined #armlinux
narmstrong has joined #armlinux
mkorpershoek has joined #armlinux
zx2c4 has joined #armlinux
jlinton has joined #armlinux
steev has quit [Client Quit]
steev has joined #armlinux
nsaenz_ has joined #armlinux
nsaenz has quit [Read error: Connection reset by peer]
smoothdev has joined #armlinux
ezulian has quit [Quit: ezulian]
Amit_T has quit [Ping timeout: 255 seconds]
Amit_T has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
snalty has quit [Quit: ZNC 1.8.2 - https://znc.in]
snalty_ has joined #armlinux
nsaenz has joined #armlinux
nsaenz_ has quit [Read error: Connection reset by peer]
ezulian has joined #armlinux
nsaenz has quit [Ping timeout: 255 seconds]
frieder has quit [Remote host closed the connection]
jwerner has quit [Server closed connection]
jwerner has joined #armlinux
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #armlinux
headless has joined #armlinux
alpernebbi has quit [Ping timeout: 255 seconds]
prabhakarlad has joined #armlinux
alpernebbi has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
hanetzer has quit [Ping timeout: 252 seconds]
hanetzer has joined #armlinux
tlwoerner has quit [Server closed connection]
tlwoerner has joined #armlinux
mripard has quit [Quit: mripard]
<HdkR> Is there a userspace accessible system register for enabling and disabling ASIMD execution? I have an edge case which would be really nice to have lazy FP state saving and restoring.
headless has quit [Ping timeout: 255 seconds]
hanetzer has quit [Ping timeout: 248 seconds]
<Bitweasil> Don't you get that by default on the Linux kernel these days?
headless has joined #armlinux
<Bitweasil> I thought it left that stuff disabled on context switch until you fault, at which point it swaps state around.
<Bitweasil> Though the microarchitectural leakages from it may have been responsible for some changes there, I've not kept up.
<j`ey> aarch64 linux doesn't do lazy siwtching for ASIMD
<maz> j`ey: not for userspace. but we do it for guests (and even that isn't that lazy).
cbeznea_ has quit [Ping timeout: 252 seconds]
aa has joined #armlinux
aa has quit [Excess Flood]
vup has quit [Server closed connection]
vup has joined #armlinux
hanetzer has joined #armlinux
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Amit_T has quit [Remote host closed the connection]
prabhakarlad has joined #armlinux
cbeznea_ has joined #armlinux
<HdkR> maz: Dang, So I can't do it in userspace at all. Good to know.
<HdkR> I think I would have needed a CPACR_EL0 or something?
<j`ey> yeah that controls the trapping
<HdkR> Guess I'll just need to think of a smarter way to not need to loadstore all this state :D
headless has quit [Quit: Konversation terminated!]
<maz> HdkR: the problem with having a CPACR_EL0 is that you need to route the exception to... EL0. and we don't have userspace exceptions. the best you could have is some ugly API with the kernel to disable FP for you and give you a signal (+ re-enabling FP) on FP execution.
<HdkR> Which would end up being worse than just saving and restoring my state once I need to touch the kernel :)
<maz> exactly.
heat has quit [Remote host closed the connection]
heat has joined #armlinux
<broonie> HdkR: OOI what’s the use case?
<HdkR> broonie: I need to save and restore 30 FPRs when jumping out of some JIT code and coming back. Which is something like 11 instructions on either side of the call and 480 bytes of memory access. Trimming that down to a theoretical MRS/MSR plus masking would be a big performance win
<HdkR> Since the call out of code is unlikely to touch FPRs anyway
prabhakarlad has quit [Quit: Client closed]
heat has quit [Remote host closed the connection]
heat has joined #armlinux
smoothdev has quit [Quit: smoothdev]
elastic_dog has quit [Ping timeout: 258 seconds]
elastic_dog has joined #armlinux
kbingham has quit [Server closed connection]
kbingham has joined #armlinux
Forty-Bot has joined #armlinux
smoothdev has joined #armlinux
smoothdev has quit [Client Quit]