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

Commit 282b1b31 authored by Michael Adisumarta's avatar Michael Adisumarta
Browse files

msm: ipa: Change iommu debug prints to low priority print



Change iommu debug print to low priority print along with the
QMI client disconnect print.

Change-Id: I4bfa1a28f7e0bca87bdbfd5aa689ca8844fa71f6
Signed-off-by: default avatarMichael Adisumarta <madisuma@codeaurora.org>
parent 8cca25c2
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -7333,7 +7333,7 @@ static int ipa_smmu_wlan_cb_probe(struct device *dev)

			IPA_SMMU_ROUND_TO_PAGE(iova, pa, size,
				iova_p, pa_p, size_p);
			IPADBG("mapping 0x%lx to 0x%pa size %d\n",
			IPADBG_LOW("mapping 0x%lx to 0x%pa size %d\n",
				iova_p, &pa_p, size_p);
			ipa3_iommu_map(cb->iommu,
				iova_p, pa_p, size_p,
@@ -7462,7 +7462,7 @@ static int ipa_smmu_uc_cb_probe(struct device *dev)
		iova_p, pa_p, size_p);

	if (ipa3_ctx->ipa_hw_type == IPA_HW_v4_1) {
		IPADBG("mapping 0x%lx to 0x%pa size %d\n",
		IPADBG_LOW("mapping 0x%lx to 0x%pa size %d\n",
			iova_p, &pa_p, size_p);
		ipa3_iommu_map(cb->mapping->domain,
			iova_p, pa_p, size_p,
@@ -7609,7 +7609,7 @@ static int ipa_smmu_ap_cb_probe(struct device *dev)

			IPA_SMMU_ROUND_TO_PAGE(iova, pa, size,
				iova_p, pa_p, size_p);
			IPADBG("mapping 0x%lx to 0x%pa size %d\n",
			IPADBG_LOW("mapping 0x%lx to 0x%pa size %d\n",
				iova_p, &pa_p, size_p);
			ipa3_iommu_map(cb->mapping->domain,
				iova_p, pa_p, size_p,
@@ -7654,7 +7654,7 @@ static int ipa_smmu_ap_cb_probe(struct device *dev)

		IPA_SMMU_ROUND_TO_PAGE(iova, pa, ipa_smem_size,
					iova_p, pa_p, size_p);
				IPADBG("mapping 0x%lx to 0x%pa size %d\n",
				IPADBG_LOW("mapping 0x%lx to 0x%pa size %d\n",
					iova_p, &pa_p, size_p);
				ipa3_iommu_map(cb->mapping->domain,
					iova_p, pa_p, size_p,
@@ -8016,8 +8016,8 @@ int ipa3_iommu_map(struct iommu_domain *domain,
	struct ipa_smmu_cb_ctx *ap_cb = ipa3_get_smmu_ctx(IPA_SMMU_CB_AP);
	struct ipa_smmu_cb_ctx *uc_cb = ipa3_get_smmu_ctx(IPA_SMMU_CB_UC);

	IPADBG("domain =0x%pK iova 0x%lx\n", domain, iova);
	IPADBG("paddr =0x%pa size 0x%x\n", &paddr, (u32)size);
	IPADBG_LOW("domain =0x%pK iova 0x%lx\n", domain, iova);
	IPADBG_LOW("paddr =0x%pa size 0x%x\n", &paddr, (u32)size);

	/* make sure no overlapping */
	if (domain == ipa3_get_smmu_domain()) {
+1 −1
Original line number Diff line number Diff line
@@ -345,7 +345,7 @@ static void ipa3_handle_mhi_vote_req(struct qmi_handle *qmi_handle,
static void ipa3_a5_svc_disconnect_cb(struct qmi_handle *qmi,
	unsigned int node, unsigned int port)
{
	IPAWANDBG("Received QMI client disconnect\n");
	IPAWANDBG_LOW("Received QMI client disconnect\n");
}

/****************************************************/