linux/drivers/iommu/irq_remapping.c

// SPDX-License-Identifier: GPL-2.0-only
#include <linux/cpumask.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/msi.h>
#include <linux/irq.h>
#include <linux/pci.h>
#include <linux/irqdomain.h>

#include <asm/hw_irq.h>
#include <asm/irq_remapping.h>
#include <asm/processor.h>
#include <asm/x86_init.h>
#include <asm/apic.h>
#include <asm/hpet.h>

#include "irq_remapping.h"

int irq_remapping_enabled;
int irq_remap_broken;
int disable_sourceid_checking;
int no_x2apic_optout;

int disable_irq_post =;

bool enable_posted_msi __ro_after_init;

static int disable_irq_remap;
static struct irq_remap_ops *remap_ops;

static void irq_remapping_restore_boot_irq_mode(void)
{}

static void __init irq_remapping_modify_x86_ops(void)
{}

static __init int setup_nointremap(char *str)
{}
early_param();

static __init int setup_irqremap(char *str)
{}
early_param();

void set_irq_remapping_broken(void)
{}

bool irq_remapping_cap(enum irq_remap_cap cap)
{}
EXPORT_SYMBOL_GPL();

int __init irq_remapping_prepare(void)
{}

int __init irq_remapping_enable(void)
{}

void irq_remapping_disable(void)
{}

int irq_remapping_reenable(int mode)
{}

int __init irq_remap_enable_fault_handling(void)
{}

void panic_if_irq_remap(const char *msg)
{}