Unverified Commit 9ceb8d31 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!8159 v3 iommu: Reserve kabi for iommu and memory related functions

parents 43993247 5a0c6bed
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -58,6 +58,10 @@ struct iommu_group {
	struct iommu_domain *default_domain;
	struct iommu_domain *domain;
	struct list_head entry;
	KABI_RESERVE(1)
	KABI_RESERVE(2)
	KABI_RESERVE(3)
	KABI_RESERVE(4)
};

struct group_device {
+8 −0
Original line number Diff line number Diff line
@@ -34,6 +34,8 @@ struct iova_rcache {
	struct iova_cpu_rcache __percpu *cpu_rcaches;
	struct iova_domain *iovad;
	struct delayed_work work;
	KABI_RESERVE(1)
	KABI_RESERVE(2)
};

struct iova_domain;
@@ -63,6 +65,8 @@ struct iova_fq {
	struct iova_fq_entry entries[IOVA_FQ_SIZE];
	unsigned head, tail;
	spinlock_t lock;
	KABI_RESERVE(1)
	KABI_RESERVE(2)
};

/* holds all the iova translations for a domain */
@@ -97,6 +101,10 @@ struct iova_domain {
	atomic_t fq_timer_on;			/* 1 when timer is active, 0
						   when not */
	struct work_struct free_iova_work;
	KABI_RESERVE(1)
	KABI_RESERVE(2)
	KABI_RESERVE(3)
	KABI_RESERVE(4)
};

static inline unsigned long iova_size(struct iova *iova)