linux/drivers/iommu/intel/cap_audit.c

// SPDX-License-Identifier: GPL-2.0
/*
 * cap_audit.c - audit iommu capabilities for boot time and hot plug
 *
 * Copyright (C) 2021 Intel Corporation
 *
 * Author: Kyung Min Park <[email protected]>
 *         Lu Baolu <[email protected]>
 */

#define pr_fmt(fmt)

#include "iommu.h"
#include "cap_audit.h"

static u64 intel_iommu_cap_sanity;
static u64 intel_iommu_ecap_sanity;

static inline void check_irq_capabilities(struct intel_iommu *a,
					  struct intel_iommu *b)
{}

static inline void check_dmar_capabilities(struct intel_iommu *a,
					   struct intel_iommu *b)
{}

static int cap_audit_hotplug(struct intel_iommu *iommu, enum cap_audit_type type)
{}

static int cap_audit_static(struct intel_iommu *iommu, enum cap_audit_type type)
{}

int intel_cap_audit(enum cap_audit_type type, struct intel_iommu *iommu)
{}

bool intel_cap_smts_sanity(void)
{}

bool intel_cap_pasid_sanity(void)
{}

bool intel_cap_nest_sanity(void)
{}

bool intel_cap_flts_sanity(void)
{}

bool intel_cap_slts_sanity(void)
{}