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
sudeepholla__ has joined #armlinux
apritzel has quit [Ping timeout: 252 seconds]
sakman has quit [Ping timeout: 258 seconds]
jtf has quit [Quit: WeeChat 4.0.5]
sally has quit [Quit: sally]
sakman has joined #armlinux
sally has joined #armlinux
heat has quit [Ping timeout: 252 seconds]
jclsn has quit [Ping timeout: 264 seconds]
jclsn has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
amitk has joined #armlinux
Esmil has quit [Ping timeout: 258 seconds]
pjw_ has quit [Server closed connection]
pjw_ has joined #armlinux
maennich has quit [Server closed connection]
maennich has joined #armlinux
jbru has quit [Server closed connection]
jbru has joined #armlinux
mvaittin_ has joined #armlinux
mvaittin has quit [Ping timeout: 252 seconds]
hays has quit [Server closed connection]
haritz has quit [Ping timeout: 240 seconds]
cbeznea has joined #armlinux
sally has quit [Remote host closed the connection]
gclement has joined #armlinux
apritzel has joined #armlinux
monstr has joined #armlinux
Esmil has joined #armlinux
apritzel has quit [Ping timeout: 258 seconds]
headless has joined #armlinux
prabhakarlad has joined #armlinux
ezulian has joined #armlinux
sszy has joined #armlinux
manchaw has joined #armlinux
HdkR has quit [Server closed connection]
HdkR has joined #armlinux
xvmt has quit [Remote host closed the connection]
xvmt has joined #armlinux
gclement has quit [Remote host closed the connection]
apritzel has joined #armlinux
headless has quit [Quit: Konversation terminated!]
a3f has quit [Server closed connection]
a3f has joined #armlinux
elastic_dog has quit [Ping timeout: 252 seconds]
sudeepholla has quit [Remote host closed the connection]
prabhakarlad has quit [Quit: Client closed]
sudeepholla has joined #armlinux
elastic_dog has joined #armlinux
sudeepholla__ has quit [Ping timeout: 246 seconds]
sudeepholla has quit [Ping timeout: 246 seconds]
sudeepholla has joined #armlinux
mrutland has quit [Server closed connection]
mrutland has joined #armlinux
mrutland is now known as Guest3105
prabhakarlad has joined #armlinux
elastic_dog has quit [Ping timeout: 258 seconds]
scosu_ has quit [Server closed connection]
scosu has joined #armlinux
xdarklight has quit [Server closed connection]
xdarklight has joined #armlinux
lag_ has quit [Ping timeout: 264 seconds]
psydroid2 has joined #armlinux
elastic_dog has joined #armlinux
headless has joined #armlinux
haritz has joined #armlinux
haritz has quit [Changing host]
haritz has joined #armlinux
<ajb-linaro> so who still remembers the ARMv7 MMU code? Specifically
<ajb-linaro> mcrp15, 0, r0, c1, c0, 0@ write control reg
<ajb-linaro> mrcp15, 0, r3, c0, c0, 0@ read id reg
<ajb-linaro> is reading MIDR some sort of barrier?
<ajb-linaro> because r3 gets trashed straight away later in the sequence
* ajb-linaro is currently failing to enable a flat virtual identity map for some test system binaries for QEMU
headless has quit [Quit: Konversation terminated!]
gclement has joined #armlinux
heat has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
_rgallaispou has joined #armlinux
Esmil has quit [Ping timeout: 255 seconds]
_rgallaispou has quit [Quit: WeeChat 4.1.1]
prabhakarlad has joined #armlinux
lag has joined #armlinux
<maz> ajb-linaro: MIDR isn't a barrier at all.
iivanov has quit [Quit: Leaving]
<ajb-linaro> maybe I read the coproc wrong. p15, 0, c1, c0, 0 => cp15, opc1 = 0, crn = 0, crm = 0, opc2 = 0?
<ajb-linaro> DBGDIDR?
<ajb-linaro> still confused as what the mrc ^ is meant to be doing though
broonie has quit [Server closed connection]
broonie has joined #armlinux
Esmil has joined #armlinux
sakman has quit [Quit: Leaving]
sakman has joined #armlinux
heat_ has joined #armlinux
heat has quit [Read error: Connection reset by peer]
<Guest3105> ajb-linaro: which kernel version, and can you map the PC to somewhere within head.S?
<Guest3105> Oh wait, is that Linux at all?
Guest3105 is now known as mrutland
mrutland is now known as Guest4290
Guest4290 is now known as mrutland
<ajb-linaro> mrutland yep - __turn_mmu_on from arch/arm/kernel/head.S
<mrutland> ajb-linaro: ah, sorry, I was looking at arch/arm/boot/compressed/head.S by accident, and couldn't spot the sequence!
<mrutland> ajb-linaro: looking at the blame for the file, I suspect that was being abused as a barrier on old implementations, even though it's not a barrier.
<mrutland> e.g. d675d0bc47f28c5414fbbe17fcc801f69c45b960 adds missing ISBs there
<mrutland> the tailing sequence looks distinctly odd regardless
<mrutland> I think the 'mov r3, r3' was being used as a NOP / pipeline flush for simpler CPUs, as there were two back-to-back in the first commit (1da177e4c3f41524e886b7f1b8a0c1fc7321cac2)
<ajb-linaro> mrutland so left over from the addition of the instr_sync instructions?
* ajb-linaro is mostly trying to follow the code while writing an Arm v7 equivalent of boot.S equivalent of https://gitlab.com/qemu-project/qemu/-/blob/master/tests/tcg/aarch64/system/boot.S?ref_type=heads
<ajb-linaro> just for tests, not to be big and professional like Linux's MMU code ;-)
<mrutland> Mhmm.. I'm aware of no reason to read an ID reg here; I think that's just a zombie that should have been deleted years ago
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<ajb-linaro> what about the mov r3,r3 - are there supported systems that would care?
* ajb-linaro is curious why you wouldn't just mov pc, r13
<mrutland> I don't think so -- I think that's also zombie nonsense
<mrutland> For ARMv7 stuff I'd follow the same approach as for ARMv8 -- poke the control regs, ISB, then immediately do what you wanted to. There shouldn't be any need to place instructions without an obvious function
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #armlinux
amitk has quit [Ping timeout: 255 seconds]
monstr has quit [Remote host closed the connection]
headless has joined #armlinux
sally has joined #armlinux
gclement has quit [Quit: Leaving.]
Amit_T has joined #armlinux
sakman has quit [Quit: Leaving]
sakman has joined #armlinux
tscherer has quit [Server closed connection]
tscherer has joined #armlinux
mripard has quit [Quit: mripard]
apritzel has quit [Ping timeout: 258 seconds]
heat_ is now known as heat
sally has quit [Remote host closed the connection]
ezulian has quit [Ping timeout: 255 seconds]
milkylainen has quit [Quit: big shoe]
cbeznea has quit [Ping timeout: 258 seconds]
rgallaispou has quit [Ping timeout: 245 seconds]
rgallaispou has joined #armlinux
apritzel has joined #armlinux
rgallaispou1 has joined #armlinux
rgallaispou1 has quit [Read error: Connection reset by peer]
rgallaispou has quit [Read error: Connection reset by peer]
rgallaispou has joined #armlinux
milkylainen has joined #armlinux
Amit_T has quit [Quit: Leaving]
headless has quit [Quit: Konversation terminated!]
elastic_dog has quit [Ping timeout: 246 seconds]
rgallaispou1 has joined #armlinux
rgallaispou has quit [Ping timeout: 240 seconds]
rgallaispou has joined #armlinux
rgallaispou1 has quit [Read error: Connection reset by peer]
elastic_dog has joined #armlinux
psydroid2 has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
sally has joined #armlinux
sally has quit [Quit: sally]
prabhakarlad has quit [Quit: Client closed]
jeeeun8 has quit [Read error: Connection reset by peer]
jeeeun8 has joined #armlinux