Merge branch 'linus' into core/iommu
Conflicts: arch/x86/Kconfig
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
LIST_HEAD(dmar_drhd_units);
|
||||
|
||||
static struct acpi_table_header * __initdata dmar_tbl;
|
||||
static acpi_size dmar_tbl_size;
|
||||
|
||||
static void __init dmar_register_drhd_unit(struct dmar_drhd_unit *drhd)
|
||||
{
|
||||
@@ -288,8 +289,9 @@ static int __init dmar_table_detect(void)
|
||||
acpi_status status = AE_OK;
|
||||
|
||||
/* if we could find DMAR table, then there are DMAR devices */
|
||||
status = acpi_get_table(ACPI_SIG_DMAR, 0,
|
||||
(struct acpi_table_header **)&dmar_tbl);
|
||||
status = acpi_get_table_with_size(ACPI_SIG_DMAR, 0,
|
||||
(struct acpi_table_header **)&dmar_tbl,
|
||||
&dmar_tbl_size);
|
||||
|
||||
if (ACPI_SUCCESS(status) && !dmar_tbl) {
|
||||
printk (KERN_WARNING PREFIX "Unable to map DMAR\n");
|
||||
@@ -489,6 +491,7 @@ void __init detect_intel_iommu(void)
|
||||
iommu_detected = 1;
|
||||
#endif
|
||||
}
|
||||
early_acpi_os_unmap_memory(dmar_tbl, dmar_tbl_size);
|
||||
dmar_tbl = NULL;
|
||||
}
|
||||
|
||||
|
@@ -225,7 +225,8 @@ void cpqhp_shutdown_debugfs(void)
|
||||
|
||||
void cpqhp_create_debugfs_files(struct controller *ctrl)
|
||||
{
|
||||
ctrl->dentry = debugfs_create_file(ctrl->pci_dev->dev.bus_id, S_IRUGO, root, ctrl, &debug_ops);
|
||||
ctrl->dentry = debugfs_create_file(dev_name(&ctrl->pci_dev->dev),
|
||||
S_IRUGO, root, ctrl, &debug_ops);
|
||||
}
|
||||
|
||||
void cpqhp_remove_debugfs_files(struct controller *ctrl)
|
||||
|
@@ -6,6 +6,7 @@
|
||||
#include <linux/irq.h>
|
||||
#include <asm/io_apic.h>
|
||||
#include <asm/smp.h>
|
||||
#include <asm/cpu.h>
|
||||
#include <linux/intel-iommu.h>
|
||||
#include "intr_remapping.h"
|
||||
|
||||
@@ -20,7 +21,7 @@ struct irq_2_iommu {
|
||||
u8 irte_mask;
|
||||
};
|
||||
|
||||
#ifdef CONFIG_SPARSE_IRQ
|
||||
#ifdef CONFIG_GENERIC_HARDIRQS
|
||||
static struct irq_2_iommu *get_one_free_irq_2_iommu(int cpu)
|
||||
{
|
||||
struct irq_2_iommu *iommu;
|
||||
|
Reference in New Issue
Block a user