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
radxanaoki has joined #linux-sunxi
ftg has quit [Read error: Connection reset by peer]
apritzel has quit [Remote host closed the connection]
zoengjay has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
radxanaoki has quit [Ping timeout: 480 seconds]
tokyovigilante_ has joined #linux-sunxi
tokyovigilante has quit [Ping timeout: 480 seconds]
Daanct12 has joined #linux-sunxi
cnxsoft has quit []
cnxsoft has joined #linux-sunxi
hexdump01 has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
zoengjay has quit []
bauen1 has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
hazardchem has quit [Read error: Connection reset by peer]
hazardchem has joined #linux-sunxi
warpme has joined #linux-sunxi
warpme has quit []
hazardchem has quit [Read error: Connection reset by peer]
hazardchem has joined #linux-sunxi
bauen1 has joined #linux-sunxi
radxanaoki has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
radxanaoki has quit [Ping timeout: 480 seconds]
cnxsoft has quit [Remote host closed the connection]
Raqbit33989 has quit []
Raqbit33989 has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
apritzel has joined #linux-sunxi
radxanaoki has joined #linux-sunxi
evgeny_boger has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
<loki666> apritzel: can you give some hints/pointers for SMP on A133P ?
<apritzel> loki666: ah, speaking of which, I found something just yesterday evening: the RVBAR registers are at a different location, compared to the H6
<apritzel> I really don't know why Allwinner does all this register shuffling and movement, it just becomes annoying
<apritzel> yes, H6 puts the RVBAR registers at 0x9010000 + 0x40, while the A133 puts them at 0x8100000 + 0x40
cnxsoft has joined #linux-sunxi
<loki666> ok so for a quick hack, I can patch ncat include
<apritzel> that's SUNXI_CPUCFG_BASE for the H6, and SUNXI_CPUSUBSYS_BASE for the A133
<apritzel> it's actually the same situation as we saw even *within* the H616, where one die revision uses the H6 model, and the other the A133 one, so we determine this at runtime there
<apritzel> so you could piggy back on that
<apritzel> yeah, but I tried this already. I haven't checked in detail, but I think it's yet another combination, where they combine the actual cluster configuration of the H6 with just the RVBAR location of the R329
<apritzel> if that's true, we would need another predicate function, that lets you choose just between the two RVBAR locations, independently from sunxi_cpucfg_has_per_cluster_regs()
<apritzel> so basically use that new function in common/sunxi_pm.c, and keep the existing function in sunxi_cpu_ops.c
<loki666> ok for a quick test I can add the SUNXI_ALT_RVBAR_LO_REG regs to ncat, and return false in h6 sunxi_cpucfg_has_per_cluster_regs ?
<loki666> oh, SUNXI_ALT_RVBAR_LO_REG are already in ncat, so just returning false in h6 sunxi_cpucfg_has_per_cluster_regs should work no ?
<loki666> ah, no because sunxi_cpucfg_has_per_cluster_regs() is used else where I see
<loki666> ok I'll add a method for sunxi_pm... any idea for the name of that function ?
<loki666> test a133p() ?
<loki666> test_a133p() ?
<apritzel> I think the cleanest would be to have a function that returns the location of the RVBAR registers, so turning the SUNXI_CPUCFG_RVBAR_LO_REG() macro into a (static inline) function
<apritzel> so something like: uintptr_t sunxi_get_rvbar_address(int corenr, bool hi_bits);
<apritzel> this would simplify the code even
<apritzel> and put that function as a static inline in the respective sunxi_cpucfg.h files. The existing SoCs (except the H616) would return a constant, so the compiler optimises that function away
<loki666> ok I'll give that a shot
montjoie_ has joined #linux-sunxi
montjoie has quit [Ping timeout: 480 seconds]
radxanaoki has quit [Quit: radxanaoki]
evgeny_boger has quit [Ping timeout: 480 seconds]
Daanct12 has quit [Quit: WeeChat 4.5.1]
evgeny_boger has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
cnxsoft has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 480 seconds]
vagrantc has joined #linux-sunxi
chewitt has quit [Quit: Zzz..]
JohnDoe_71Rus has joined #linux-sunxi
dsimic is now known as Guest9466
dsimic has joined #linux-sunxi
Guest9466 has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
kuba2k2 has joined #linux-sunxi
evgeny_boger has joined #linux-sunxi
evgeny_boger has quit [Quit: evgeny_boger]
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
kuba2k2 has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
<apritzel> loki666: yes, very good, that was what I was thinking of
<apritzel> now you just need to make the H6 function depending on the soc_id
<apritzel> or could hack it for if you are impatient ;-)
<loki666> half hack
colinsane has joined #linux-sunxi
kuba2k2 has joined #linux-sunxi
<loki666> apritzel: arf not working better... or I'm missing a cast somwhere
colinsane has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
johnohhh1 has joined #linux-sunxi
juri_ has quit [Ping timeout: 480 seconds]
juri_ has joined #linux-sunxi
johnohhh1 has quit [Remote host closed the connection]
apritzel has joined #linux-sunxi
<loki666> also apritzel, can I kindly remind you to review my GPU patch ?
<apritzel> ah, right, thanks for the heads up
kuba2k2 has quit []
<loki666> for the a133p rvbar, the offset to SUNXI_CPUSUBSYS_BASE is 0x44/0x40 or 0xa0/0xa4 ?
<loki666> cause 0x44/0x40 doesnt makes much difference
<apritzel> there might be more, that's just the first thing that I noticed when comparing manuals yesterday. I will have a closer look again
<loki666> ok thanks
apritzel has quit [Ping timeout: 480 seconds]
ftg has joined #linux-sunxi
apritzel has joined #linux-sunxi
ftg has quit [Read error: Connection reset by peer]