srinik has quit [Remote host closed the connection]
jn has quit [Ping timeout: 480 seconds]
jn has joined #linux-msm
pespin has joined #linux-msm
jn has quit [Ping timeout: 480 seconds]
jacobk has quit [Ping timeout: 480 seconds]
jacobk has joined #linux-msm
jn has joined #linux-msm
jhovold has quit [Quit: WeeChat 4.4.3]
jacobk has quit [Ping timeout: 480 seconds]
srini_ has quit [Ping timeout: 480 seconds]
jacobk has joined #linux-msm
pespin has quit [Remote host closed the connection]
jacobk has quit [Ping timeout: 480 seconds]
<z3ntu>
Anyone got some insights into the iommu inner workings? Trying to bind gpu to a hacked-up version of the qcom_iommu.c driver for msm8974. But during bind I'm getting "failed to bind fdb00000.gpu (ops a3xx_ops [msm]): -16" which seems to come in the end from this line: https://github.com/torvalds/linux/blob/master/drivers/iommu/iommu.c#L2155-L2157
<z3ntu>
Unfortunately I've not really found anything regarding what default_domain or blocking_domain really is, or any clue why this might be wrong for me?
zstas has quit [Ping timeout: 480 seconds]
jacobk has joined #linux-msm
jacobk has quit [Ping timeout: 480 seconds]
<z3ntu>
Seems that after `adreno fdb00000.gpu: Adding to iommu group 0` it's already calling __iommu_attach_group where the domain is default_domain but then a bit later when adreno_iommu_create_address_space -> msm_iommu_gpu_new -> msm_iommu_new is calling that function again it's neither default_domain nor blocking_domain?
<konradybcio>
Luca Weiss: does it happen without your modifications (minus a possible platform crash)