ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
Schimsalabim has joined #linux-sunxi
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]
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
bauen1 has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
JohnDoe5 has joined #linux-sunxi
freemangordon has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 480 seconds]
<wigyori> libv: are you aware if there'll be any sunxi dinner this year?
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
vagrantc has joined #linux-sunxi
tiop has joined #linux-sunxi
<libv> wigyori: i think gamiee_ hinted at something like it
<libv> not sure
<libv> gamiee_ will be at fosdem, paulk will be there, i guess apritzel will also be there
<apritzel> yes, I will be there, happy to join a dinner. Last year we came up with something on the spot, which worked nicely
<apritzel> I don't see a Pine64 stand this year?
bauen1_ has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
bauen1_ has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
jernej- is now known as jernej
<jernej> apritzel: I pushed some TF-A fixes for CPU hotplug. Do you mind test it?
apritzel has quit [Ping timeout: 480 seconds]
<loki666> libv I'll try to be there... A dinner is in the evening (usually) right? I already have something for Saturday evening
tiop has quit []
JohnDoe5 has quit []
apritzel has joined #linux-sunxi
<apritzel> jernej: sorry, still same thing: core goes offline, but hangs when trying to bring it back
<jernej> ok, found another bug
<jernej> actually, missing wait
<libv> apritzel: i think they were skipped over this year, way more requests than places
<jernej> apritzel: updated. If this doesn't work, I guess scp.bin needs to be checked
<jernej> apritzel: one more change, so the code order is equivalent to that in bl31.bin
<apritzel> sorry, neither didn't help :-( but did not have a chance to look at this yet ...
<jernej> do you get "PSCI: Powering on cluster x core y" message?
<apritzel> you wouldn't see this, there are no TF-A messages *at runtime* on the UART
<apritzel> but one can hack this in, just for debugging
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
ftg has joined #linux-sunxi
aggi has quit [Ping timeout: 480 seconds]
<wigyori> libv: thanks - i'll also be there from friday evening
freemangordon has quit []
freemangordon has joined #linux-sunxi