aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/amd_iommu_init.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/x86/kernel/amd_iommu_init.c b/arch/x86/kernel/amd_iommu_init.c
index 57fb7a7cb6e8..28165902ae25 100644
--- a/arch/x86/kernel/amd_iommu_init.c
+++ b/arch/x86/kernel/amd_iommu_init.c
@@ -748,6 +748,15 @@ static int __init init_iommu_all(struct acpi_table_header *table)
748 h = (struct ivhd_header *)p; 748 h = (struct ivhd_header *)p;
749 switch (*p) { 749 switch (*p) {
750 case ACPI_IVHD_TYPE: 750 case ACPI_IVHD_TYPE:
751
752 DUMP_printk("IOMMU: device: %02x:%02x.%01x cap: %04x "
753 "seg: %d flags: %01x info %04x\n",
754 PCI_BUS(h->devid), PCI_SLOT(h->devid),
755 PCI_FUNC(h->devid), h->cap_ptr,
756 h->pci_seg, h->flags, h->info);
757 DUMP_printk(" mmio-addr: %016llx\n",
758 h->mmio_phys);
759
751 iommu = kzalloc(sizeof(struct amd_iommu), GFP_KERNEL); 760 iommu = kzalloc(sizeof(struct amd_iommu), GFP_KERNEL);
752 if (iommu == NULL) 761 if (iommu == NULL)
753 return -ENOMEM; 762 return -ENOMEM;