/* SPDX-License-Identifier: GPL-2.0-only */ /* * Quirks for AMD IOMMU * * Copyright (C) 2019 Kai-Heng Feng <[email protected]> */ #ifdef CONFIG_DMI #include <linux/dmi.h> #include "amd_iommu.h" #define IVHD_SPECIAL_IOAPIC … struct ivrs_quirk_entry { … }; enum { … }; static const struct ivrs_quirk_entry ivrs_ioapic_quirks[][3] __initconst = …; static int __init ivrs_ioapic_quirk_cb(const struct dmi_system_id *d) { … } static const struct dmi_system_id ivrs_quirks[] __initconst = …; void __init amd_iommu_apply_ivrs_quirks(void) { … } #endif