linux/drivers/iommu/intel/nested.c

// SPDX-License-Identifier: GPL-2.0
/*
 * nested.c - nested mode translation support
 *
 * Copyright (C) 2023 Intel Corporation
 *
 * Author: Lu Baolu <[email protected]>
 *         Jacob Pan <[email protected]>
 *         Yi Liu <[email protected]>
 */

#define pr_fmt(fmt)

#include <linux/iommu.h>
#include <linux/pci.h>
#include <linux/pci-ats.h>

#include "iommu.h"
#include "pasid.h"

static int intel_nested_attach_dev(struct iommu_domain *domain,
				   struct device *dev)
{}

static void intel_nested_domain_free(struct iommu_domain *domain)
{}

static int intel_nested_cache_invalidate_user(struct iommu_domain *domain,
					      struct iommu_user_data_array *array)
{}

static const struct iommu_domain_ops intel_nested_domain_ops =;

struct iommu_domain *intel_nested_domain_alloc(struct iommu_domain *parent,
					       const struct iommu_user_data *user_data)
{}