<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.