Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3fd1e1b6 authored by Michael Adisumarta's avatar Michael Adisumarta
Browse files

msm: ipa3: Change smmu mapping logs to low priority



Change enable cache coherent and smmu mapping of iova to pa to
low priority logging since it is called frequently and clogs up
the IPA dump.

Change-Id: Iaea74a5f0c9e10ac74523b38843851fa4d528547
Signed-off-by: default avatarMichael Adisumarta <madisuma@codeaurora.org>
parent 29444f60
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -508,7 +508,7 @@ static dma_addr_t ipa_mpm_smmu_map(void *va_addr,

	/* check cache coherent */
	if (ipa_mpm_ctx->dev_info.is_cache_coherent)  {
		IPA_MPM_DBG(" enable cache coherent\n");
		IPA_MPM_DBG_LOW(" enable cache coherent\n");
		prot |= IOMMU_CACHE;
	}

+2 −2
Original line number Diff line number Diff line
@@ -3026,7 +3026,7 @@ int ipa3_create_wdi_mapping(u32 num_buffers, struct ipa_wdi_buffer_info *info)
	}

	for (i = 0; i < num_buffers; i++) {
		IPADBG("i=%d pa=0x%pa iova=0x%lx sz=0x%zx\n", i,
		IPADBG_LOW("i=%d pa=0x%pa iova=0x%lx sz=0x%zx\n", i,
			&info[i].pa, info[i].iova, info[i].size);
		info[i].result = ipa3_iommu_map(cb->iommu,
			rounddown(info[i].iova, PAGE_SIZE),
@@ -3056,7 +3056,7 @@ int ipa3_release_wdi_mapping(u32 num_buffers, struct ipa_wdi_buffer_info *info)
	}

	for (i = 0; i < num_buffers; i++) {
		IPADBG("i=%d pa=0x%pa iova=0x%lx sz=0x%zx\n", i,
		IPADBG_LOW("i=%d pa=0x%pa iova=0x%lx sz=0x%zx\n", i,
			&info[i].pa, info[i].iova, info[i].size);
		info[i].result = iommu_unmap(cb->iommu,
			rounddown(info[i].iova, PAGE_SIZE),