We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e36ca2f commit 5c054dbCopy full SHA for 5c054db
drivers/gpu/drm/msm/msm_iommu.c
@@ -234,7 +234,12 @@ struct msm_mmu *msm_iommu_pagetable_create(struct msm_mmu *parent)
234
/* Get the pagetable configuration from the domain */
235
if (adreno_smmu->cookie)
236
ttbr1_cfg = adreno_smmu->get_ttbr1_cfg(adreno_smmu->cookie);
237
- if (!ttbr1_cfg)
+
238
+ /*
239
+ * If you hit this WARN_ONCE() you are probably missing an entry in
240
+ * qcom_smmu_impl_of_match[] in arm-smmu-qcom.c
241
+ */
242
+ if (WARN_ONCE(!ttbr1_cfg, "No per-process page tables"))
243
return ERR_PTR(-ENODEV);
244
245
pagetable = kzalloc(sizeof(*pagetable), GFP_KERNEL);
0 commit comments