diff options
-rw-r--r-- | drivers/pci/dmar.c | 3 | ||||
-rw-r--r-- | drivers/pci/intel-iommu.c | 9 | ||||
-rw-r--r-- | drivers/pci/intr_remapping.c | 6 |
3 files changed, 11 insertions, 7 deletions
diff --git a/drivers/pci/dmar.c b/drivers/pci/dmar.c index a04bde9bd10f..d439917f37a9 100644 --- a/drivers/pci/dmar.c +++ b/drivers/pci/dmar.c | |||
@@ -806,7 +806,8 @@ int alloc_iommu(struct dmar_drhd_unit *drhd) | |||
806 | } | 806 | } |
807 | 807 | ||
808 | ver = readl(iommu->reg + DMAR_VER_REG); | 808 | ver = readl(iommu->reg + DMAR_VER_REG); |
809 | pr_info("IOMMU %llx: ver %d:%d cap %llx ecap %llx\n", | 809 | pr_info("IOMMU %d: reg_base_addr %llx ver %d:%d cap %llx ecap %llx\n", |
810 | iommu->seq_id, | ||
810 | (unsigned long long)drhd->reg_base_addr, | 811 | (unsigned long long)drhd->reg_base_addr, |
811 | DMAR_VER_MAJOR(ver), DMAR_VER_MINOR(ver), | 812 | DMAR_VER_MAJOR(ver), DMAR_VER_MINOR(ver), |
812 | (unsigned long long)iommu->cap, | 813 | (unsigned long long)iommu->cap, |
diff --git a/drivers/pci/intel-iommu.c b/drivers/pci/intel-iommu.c index 9ce79b1bae83..da40f0789739 100644 --- a/drivers/pci/intel-iommu.c +++ b/drivers/pci/intel-iommu.c | |||
@@ -1150,7 +1150,8 @@ static int iommu_init_domains(struct intel_iommu *iommu) | |||
1150 | unsigned long nlongs; | 1150 | unsigned long nlongs; |
1151 | 1151 | ||
1152 | ndomains = cap_ndoms(iommu->cap); | 1152 | ndomains = cap_ndoms(iommu->cap); |
1153 | pr_debug("Number of Domains supportd <%ld>\n", ndomains); | 1153 | pr_debug("IOMMU %d: Number of Domains supportd <%ld>\n", iommu->seq_id, |
1154 | ndomains); | ||
1154 | nlongs = BITS_TO_LONGS(ndomains); | 1155 | nlongs = BITS_TO_LONGS(ndomains); |
1155 | 1156 | ||
1156 | spin_lock_init(&iommu->lock); | 1157 | spin_lock_init(&iommu->lock); |
@@ -2319,14 +2320,16 @@ int __init init_dmars(void) | |||
2319 | */ | 2320 | */ |
2320 | iommu->flush.flush_context = __iommu_flush_context; | 2321 | iommu->flush.flush_context = __iommu_flush_context; |
2321 | iommu->flush.flush_iotlb = __iommu_flush_iotlb; | 2322 | iommu->flush.flush_iotlb = __iommu_flush_iotlb; |
2322 | printk(KERN_INFO "IOMMU 0x%Lx: using Register based " | 2323 | printk(KERN_INFO "IOMMU %d 0x%Lx: using Register based " |
2323 | "invalidation\n", | 2324 | "invalidation\n", |
2325 | iommu->seq_id, | ||
2324 | (unsigned long long)drhd->reg_base_addr); | 2326 | (unsigned long long)drhd->reg_base_addr); |
2325 | } else { | 2327 | } else { |
2326 | iommu->flush.flush_context = qi_flush_context; | 2328 | iommu->flush.flush_context = qi_flush_context; |
2327 | iommu->flush.flush_iotlb = qi_flush_iotlb; | 2329 | iommu->flush.flush_iotlb = qi_flush_iotlb; |
2328 | printk(KERN_INFO "IOMMU 0x%Lx: using Queued " | 2330 | printk(KERN_INFO "IOMMU %d 0x%Lx: using Queued " |
2329 | "invalidation\n", | 2331 | "invalidation\n", |
2332 | iommu->seq_id, | ||
2330 | (unsigned long long)drhd->reg_base_addr); | 2333 | (unsigned long long)drhd->reg_base_addr); |
2331 | } | 2334 | } |
2332 | } | 2335 | } |
diff --git a/drivers/pci/intr_remapping.c b/drivers/pci/intr_remapping.c index 95b849130ad4..c13802a7e109 100644 --- a/drivers/pci/intr_remapping.c +++ b/drivers/pci/intr_remapping.c | |||
@@ -831,9 +831,9 @@ static int ir_parse_ioapic_hpet_scope(struct acpi_dmar_header *header, | |||
831 | return -1; | 831 | return -1; |
832 | } | 832 | } |
833 | 833 | ||
834 | printk(KERN_INFO "IOAPIC id %d under DRHD base" | 834 | printk(KERN_INFO "IOAPIC id %d under DRHD base " |
835 | " 0x%Lx\n", scope->enumeration_id, | 835 | " 0x%Lx IOMMU %d\n", scope->enumeration_id, |
836 | drhd->address); | 836 | drhd->address, iommu->seq_id); |
837 | 837 | ||
838 | ir_parse_one_ioapic_scope(scope, iommu); | 838 | ir_parse_one_ioapic_scope(scope, iommu); |
839 | } else if (scope->entry_type == ACPI_DMAR_SCOPE_TYPE_HPET) { | 839 | } else if (scope->entry_type == ACPI_DMAR_SCOPE_TYPE_HPET) { |