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

Commit 5e07ddb6 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "iommu: msm: move msm_iommu_register_notify"

parents 2dae910b 6689076f
Loading
Loading
Loading
Loading
+8 −7
Original line number Diff line number Diff line
@@ -177,6 +177,14 @@ struct iommu_access_ops iommu_access_ops_v1 = {
	.iommu_lock_release = _iommu_lock_release,
};

static BLOCKING_NOTIFIER_HEAD(msm_iommu_notifier_list);

void msm_iommu_register_notify(struct notifier_block *nb)
{
	blocking_notifier_chain_register(&msm_iommu_notifier_list, nb);
}
EXPORT_SYMBOL(msm_iommu_register_notify);

#ifdef CONFIG_MSM_IOMMU_VBIF_CHECK

#define VBIF_XIN_HALT_CTRL0 0x200
@@ -253,13 +261,6 @@ static void check_halt_state(struct msm_iommu_drvdata const *drvdata)
	BUG();
}

static BLOCKING_NOTIFIER_HEAD(msm_iommu_notifier_list);

void msm_iommu_register_notify(struct notifier_block *nb)
{
	blocking_notifier_chain_register(&msm_iommu_notifier_list, nb);
}

static void check_tlb_sync_state(struct msm_iommu_drvdata const *drvdata,
				int ctx, struct msm_iommu_priv *priv)
{