ChanServ changed the topic of #linux-msm to:
swdefrgt- has quit [Remote host closed the connection]
swdefrgthfgjhk has joined #linux-msm
marvin24 has joined #linux-msm
marvin24_ has quit [Ping timeout: 480 seconds]
srinik has quit [Killed (NickServ (Too many failed password attempts.))]
srinik has joined #linux-msm
pevik has joined #linux-msm
pevik has quit []
pevik has joined #linux-msm
pevik has quit []
pevik has joined #linux-msm
pevik has quit []
pevik has joined #linux-msm
<Marijn[m]> https://lore.kernel.org/linux-arm-msm/20221115101122.155440-1-angelogioacchino.delregno@collabora.com/T/#u bump for the IOMMU v2 patch-series, our MSM8976 display-and-whatnot patches (among which) are still blocking on this
jnn is now known as jn
pevik has quit [Ping timeout: 480 seconds]
enok has quit [Remote host closed the connection]
enok has joined #linux-msm
pespin has joined #linux-msm
<lumag> Marijn[m], a dumb question: which contexts are secured? In other words, do we have to list them at all?
<lumag> Marijn[m], kholk: it would be nice to get the schema converted and then to see an example of v2, demonstrating the necessity for new hooks.
pevik has joined #linux-msm
pevik_ has joined #linux-msm
<aka_[m]> <lumag> "Marijn, a dumb question: which..." <- for example on gpu you have 3 context banks
<aka_[m]> one not secured and one secured
<aka_[m]> and third is bloat
<aka_[m]> qcom,secure-context;
<aka_[m]> flag
<lumag> aka_[m], my question is more about the reasons to touch secure contexts at all
<aka_[m]> tbh i havent touch them at all on my 8976 fork
<aka_[m]> i just didnt even defined them in dts
<aka_[m]> because if you do it breaks
<aka_[m]> the only thing i know is fact num-ctx is quite useful when we want to execute SCM commands to do something on context bank as they are not mapped 1=1
pespin_ has joined #linux-msm
<lumag> Yep, I have no questions regarding the ctx-num
<lumag> (The name might be not the perfect one, but otherwise I see the need for it).
<aka_[m]> i have noticed something weird with iommu tho
<aka_[m]> if you don't define any secure context bank, venus won't load firmware
<aka_[m]> it will just throw some generic error about loading
<aka_[m]> i was stuck with that for quite a while and got this info from Vladimir(who worked on orginal msm8953 bringup)
pespin has quit [Ping timeout: 480 seconds]
<aka_[m]> he had some hack for using arm-smmu-v2 but my limited understanding is that its only looking for flag and if available use TZ call to restore iommu.
marvin24_ has joined #linux-msm
marvin24 has quit [Ping timeout: 480 seconds]
swdefrgt- has joined #linux-msm
swdefrgthfgjhk has quit [Ping timeout: 480 seconds]
marvin24 has joined #linux-msm
marvin24_ has quit [Ping timeout: 480 seconds]
pevik has quit [Ping timeout: 480 seconds]
swdefrgt- has quit [Remote host closed the connection]
swdefrgthfgjhk has joined #linux-msm
pespin_ has quit [Ping timeout: 480 seconds]
swdefrgthfgjhk has quit [Ping timeout: 480 seconds]
IvanBelokobylskiy[m] has quit [Quit: Client limit exceeded: 20000]
wfranken[m] has quit [Quit: Client limit exceeded: 20000]
Daanct12 has joined #linux-msm
Danct12 has quit [Ping timeout: 480 seconds]
pevik has joined #linux-msm
<lumag> aka_[m], this is for asm-smmu(-qcom), while the kholk's patchset targets older qcom-iommu
<konradybcio> well it's all arm smmu 500 or v2 underneath, it just differs in the amount of hyp massaging done inbetween
<konradybcio> I think this patch is essentially "porting" the necessary parts of qcom-iommu to the v2 qcom impl driver
pespin_ has joined #linux-msm
pevik has quit [Ping timeout: 480 seconds]
pevik has joined #linux-msm