mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
iommu/vt-d: Move trace/events/intel_iommu.h under iommu
This header file is private to the Intel IOMMU driver. Move it to the driver folder. Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Reviewed-by: Steve Wahl <steve.wahl@hpe.com> Link: https://lore.kernel.org/r/20220514014322.2927339-2-baolu.lu@linux.intel.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
This commit is contained in:
@@ -30,10 +30,10 @@
|
|||||||
#include <linux/numa.h>
|
#include <linux/numa.h>
|
||||||
#include <linux/limits.h>
|
#include <linux/limits.h>
|
||||||
#include <asm/irq_remapping.h>
|
#include <asm/irq_remapping.h>
|
||||||
#include <trace/events/intel_iommu.h>
|
|
||||||
|
|
||||||
#include "../irq_remapping.h"
|
#include "../irq_remapping.h"
|
||||||
#include "perf.h"
|
#include "perf.h"
|
||||||
|
#include "trace.h"
|
||||||
|
|
||||||
typedef int (*dmar_res_handler_t)(struct acpi_dmar_header *, void *);
|
typedef int (*dmar_res_handler_t)(struct acpi_dmar_header *, void *);
|
||||||
struct dmar_res_callback {
|
struct dmar_res_callback {
|
||||||
|
|||||||
@@ -21,11 +21,11 @@
|
|||||||
#include <linux/ioasid.h>
|
#include <linux/ioasid.h>
|
||||||
#include <asm/page.h>
|
#include <asm/page.h>
|
||||||
#include <asm/fpu/api.h>
|
#include <asm/fpu/api.h>
|
||||||
#include <trace/events/intel_iommu.h>
|
|
||||||
|
|
||||||
#include "pasid.h"
|
#include "pasid.h"
|
||||||
#include "perf.h"
|
#include "perf.h"
|
||||||
#include "../iommu-sva-lib.h"
|
#include "../iommu-sva-lib.h"
|
||||||
|
#include "trace.h"
|
||||||
|
|
||||||
static irqreturn_t prq_event_thread(int irq, void *d);
|
static irqreturn_t prq_event_thread(int irq, void *d);
|
||||||
static void intel_svm_drain_prq(struct device *dev, u32 pasid);
|
static void intel_svm_drain_prq(struct device *dev, u32 pasid);
|
||||||
|
|||||||
@@ -11,4 +11,4 @@
|
|||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
|
||||||
#define CREATE_TRACE_POINTS
|
#define CREATE_TRACE_POINTS
|
||||||
#include <trace/events/intel_iommu.h>
|
#include "trace.h"
|
||||||
|
|||||||
@@ -91,4 +91,8 @@ TRACE_EVENT(prq_report,
|
|||||||
#endif /* _TRACE_INTEL_IOMMU_H */
|
#endif /* _TRACE_INTEL_IOMMU_H */
|
||||||
|
|
||||||
/* This part must be outside protection */
|
/* This part must be outside protection */
|
||||||
|
#undef TRACE_INCLUDE_PATH
|
||||||
|
#undef TRACE_INCLUDE_FILE
|
||||||
|
#define TRACE_INCLUDE_PATH ../../drivers/iommu/intel/
|
||||||
|
#define TRACE_INCLUDE_FILE trace
|
||||||
#include <trace/define_trace.h>
|
#include <trace/define_trace.h>
|
||||||
Reference in New Issue
Block a user