ChanServ changed the topic of #linux-msm to:
marvin24 has joined #linux-msm
marvin24_ has quit [Ping timeout: 480 seconds]
Daanct12 has joined #linux-msm
Danct12 has quit [Ping timeout: 480 seconds]
pevik has joined #linux-msm
cmeerw has joined #linux-msm
cmeerw has quit [Ping timeout: 480 seconds]
ndec has joined #linux-msm
svarbanov has joined #linux-msm
pevik has quit []
pevik has joined #linux-msm
pevik has quit []
pevik has joined #linux-msm
lumag_ has joined #linux-msm
pevik has quit [Remote host closed the connection]
pevik has joined #linux-msm
cmeerw has joined #linux-msm
<minecrell> robclark: Any chance we can try e.g. +S (TLS only) instead of +M for this channel? (hoping this will also prevent most spammers). People keep writing from Matrix but don't notice that the messages don't show up here because somehow the Matrix bridge always logs people out of NicksServ. So often entire conversations don't show up here which is kind
<minecrell> of strange
<minecrell> robclark: With -M I mean
<robclark> oh, right
<minecrell[m]> Hello
<kholk[m]> I have no idea why this thing is not working
<minecrell> robclark: Great, thanks :)
<robclark> np
<minecrell> kholk[m]: Now it's not necessary anymore
<kholk[m]> at least on the ..
<kholk[m]> oh
<kholk[m]> thank you Rob :)))
<kholk[m]> so that's why nobody ever replied me, I feel lame... :)))
<kholk[m]> so I guess I should repeat everything...
<kholk[m]> in short: I've found another way to get SDM630/660 SMMU to work upstream, but this implies manually writing a list of context banks in the dts; the qcom-arm-smmu driver will get this stuff, arm-smmu will check for an implementation detail "reset_cb_nodisable(smmu, cbndx)" - if true, in arm_smmu_device_reset, we won't write FAULT in FSR and won't set ACTLR to 0 (so we avoid disabling it)
<kholk[m]> I couldn't find any SMMU register that has any relation with the contexts that we cannot disable
<kholk[m]> but I'm not sure about this approach being right
<kholk[m]> nobody else in SoMainline was actually able to find any other better way... so before spamming emails upstream I wanted to check with the people here
<kholk[m]> if you got any other idea, or you think I overlooked something... I can redo it somehow
<kholk[m]> otherwise if you're interested to see the code for the approach, I can give you a github link
<minecrell> kholk[m]: This is supposed to be a replacement for qcom,skip-init downstream I guess?
<kholk[m]> no
<kholk[m]> qcom,skip-init is skipping the entire initialization
<kholk[m]> what I'm doing is just skipping the disablement of some contexts, but actually goes on through the entire reset
<minecrell> ah, I see
<kholk[m]> I don't even know why I haven't just thrown a link
<kholk[m]> that's it, basically
<minecrell> Well, that's fairly simple :D
<kholk[m]> well yes, at least in arm-smmu.c it is
<kholk[m]> the logic here is that there at arm_smmu_device_reset time
<kholk[m]> when we call arm_smmu_write_context_bank, cb->cfg is null
<kholk[m]> so that function does just one write and returns
<kholk[m]> that's what I'm avoiding at all
<kholk[m]> it's nothing complicated
<minecrell> Perhaps bamse has some opinion at this. Although judging from previous discussions on the mailing list I guess you will mainly need to convince Robin and Will there
<kholk[m]> but still, my doubts about the approach by itself are standing out a bit
<kholk[m]> well... yeah... exactly why I'm here asking
<kholk[m]> I always felt like I was wasting their time in poor ways
<minecrell> ah, I see
<kholk[m]> heh
<kholk[m]> in any case, the guys in here do know qcom stuff specifically, so perhaps it may emerge that I'm underestimating something
<kholk[m]> in which case we may simply get to a golden solution, who knows
silver has quit [Ping timeout: 480 seconds]
pevik has quit [Remote host closed the connection]
svarbanov has quit [Ping timeout: 480 seconds]
cmeerw has quit [Ping timeout: 480 seconds]