Schimsalabim has quit [Read error: Connection reset by peer]
Quantum_3[m] has joined #linux-sunxi
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
wasutton- has quit []
wasutton3 has joined #linux-sunxi
ftg has quit [Read error: Connection reset by peer]
apritzel has quit [Ping timeout: 480 seconds]
<wens>
(facepalm)
<wens>
that's like the one platform you shouldn't be copying, because they got it wrong in the beginning
<wens>
apritzel: they have another interrupt controller that consumes less power than the GIC that they switch to during suspend, so the interrupt status needs to be shuffled between the two
<wens>
AFAIK when they started using the GICv3, the GIC helpers in ATF did not exist, so they rolled their own. And they just copied it to every new chip
hexdump0815 has joined #linux-sunxi
hexdump01 has quit [Ping timeout: 480 seconds]
diego71 has quit [Ping timeout: 480 seconds]
diego71 has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
<jernej>
wens: that's interesting info, thanks
<wens>
IMO they should be able to rewrite the whole thing with the common helpers
jakllsch_ has joined #linux-sunxi
jakllsch has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
dsimic is now known as Guest7231
dsimic has joined #linux-sunxi
Guest7231 has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
freemangordon has quit []
<loki666>
Would having the specs of the dram chip help me with the dram init on my device?
<loki666>
I mean is there anything in the specs that relates to these row/cols/width params
apritzel has joined #linux-sunxi
paulk-bis has quit []
paulk has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
montjoie_ has joined #linux-sunxi
<libv>
for those visiting fosdem, since we decided against a graphics devroom this year, i will be doing video team chores all weekend, currently assigned to the K building
montjoie has quit [Ping timeout: 480 seconds]
<libv>
if things go like last year, i will be in the hallway on the top level devrooms (near k4401)
<libv>
all weekend
<libv>
so feel free to come by for a chat
<maz>
apritzel: I second wens here. MTK's GICv3 story is... amazing, and it took quite a lot of effort to sort it upstream (all your PMRs are belong to us, or so they say...)
<apritzel>
wens, maz: thanks for the insights! It looked weird, but I am not surprised, TF-A's platform code is ... interesting ... at times. Seems like AW made a poor choice by selecting which code to copy from ;-)
<maz>
apritzel: AW made a poor choice... Isn't that a tautology? :D
<apritzel>
well, I am still trying to be nice sometimes ;-)
Schimsalabim has quit [Ping timeout: 480 seconds]
<apritzel>
loki666: unfortunately not. We detect rows and columns, and the timing requirements of the chips and also the JEDEC defined timings only loosely correlate to how Allwinner programs that
<apritzel>
loki666: I tried to document that in dram_timings/h616_ddr3_1333.c, see for yourself ;-)
Schimsalabim has joined #linux-sunxi
<apritzel>
or dram_timings/h6_ddr3_1333.c, I think that's the actual source of the comments
<loki666>
Ok thanks
<wens>
maz: I think you have it mixed up with RK3399, which you recently fixed? MTK is the one where they did not restore the GIC priorities correctly, hence breaking pseudo NMI
<wens>
oh you are correct, PMR is likely one of the registers they didn't restore
<maz>
wens: I think it was even worse: they were putting some default values based on what a random Linux release was doing.
<maz>
coupled with aggressive power management, it was really fun to debug. not.
bauen1 has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Ping timeout: 480 seconds]
jernej- has joined #linux-sunxi
jernej has quit [Read error: Connection reset by peer]