sputnik_ has quit [Remote host closed the connection]
sputnik__ has quit [Client Quit]
sputnik_ has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
brads has joined #linux-amlogic
Darkmatter66_ has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 252 seconds]
<brads>
AntonioND: S905 datasheet mentions A53 (SCU/L2), the L2 and CPU0 must all be enabled together (ie minimal A53 domain powered up) so I guess the reverse might be true also? page 47.
<brads>
Alot of the old amlogic 3.14 code has drivers which specifically set cpu affinity to cpu0 as well, I found out trying to move thier cpu affinities testing realtime apps.
AntonioND has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
montjoie has quit [Ping timeout: 252 seconds]
montjoie has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
ldevulder_ has joined #linux-amlogic
ldevulder has quit [Ping timeout: 252 seconds]
bengal has joined #linux-amlogic
ldevulder_ is now known as ldevulder
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
indy has quit [Read error: Connection reset by peer]
indy_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
montjoie has quit [Ping timeout: 268 seconds]
montjoie has joined #linux-amlogic
nashpa has quit [Quit: Going away]
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
afaerber has quit [Quit: Leaving]
afaerber has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
afaerber has quit [Quit: Leaving]
afaerber has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
afaerber has quit [Quit: Leaving]
afaerber has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
afaerber_ has joined #linux-amlogic
afaerber has quit [Ping timeout: 246 seconds]
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
Barada has quit [Quit: Barada]
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
AntonioND has quit [Quit: :wq]
vagrantc has joined #linux-amlogic
nashpa has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
AntonioND has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
return0xe has quit [Ping timeout: 245 seconds]
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
jakogut has joined #linux-amlogic
Xogium has quit [Client Quit]
Xogium has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
nashpa has quit [Quit: Going away]
nashpa has joined #linux-amlogic
sputnik_ has quit [Read error: Connection reset by peer]
sputnik_ has joined #linux-amlogic
<AntonioND>
ok, so I think I give up on CPU0. I'm reading the registers in the datasheet in section 18.5. I print the registers whenever I turn off/on a CPU, and it looks like CPU0 isn't actually turned off or anything. all the bits related to cpu0 always say "on". no bits in the registers change, but they do change for the others. I don't know if this is a soc limitation or because of how the SCP binary works, but the
<AntonioND>
fact is that CPU0 can't be turned off. the datasheet hints at it in section 18.1. I'm quite sure right now that somewhere there is some kind of protection that I can't bypass. maybe reversing the SCP binary can reveal that it can actually be done, but I think I can't do anything from the TF about this.
<AntonioND>
as another shitty test I've made each cpu wait in a putc() loop instead of wfi() until they are powered off, and all of them are powered off after ~60 characters but cpu0 keeps printing characters
<AntonioND>
oh, well, it was worth a shot
Xogium has quit [Quit: Leaving.]
<AntonioND>
i'll just reject cpu_off calls from cpu0 and tell linux in the DT that it isn't allowed
Xogium has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
jakogut has quit [Ping timeout: 246 seconds]
afaerber_ is now known as afaerber
afaerber has quit [Quit: Leaving]
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
return0xe has joined #linux-amlogic
afaerber has joined #linux-amlogic
Darkmatter66_ has quit [Read error: Connection reset by peer]
Darkmatter66 has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
Xogium has quit [Client Quit]
jakogut has joined #linux-amlogic
sputnik_ has quit [Read error: Connection reset by peer]