diff options
Diffstat (limited to 'drivers/iommu/amd_iommu_init.c')
| -rw-r--r-- | drivers/iommu/amd_iommu_init.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/iommu/amd_iommu_init.c b/drivers/iommu/amd_iommu_init.c index 860c1c342cd9..577669fece85 100644 --- a/drivers/iommu/amd_iommu_init.c +++ b/drivers/iommu/amd_iommu_init.c | |||
| @@ -177,7 +177,7 @@ u16 *amd_iommu_alias_table; | |||
| 177 | struct amd_iommu **amd_iommu_rlookup_table; | 177 | struct amd_iommu **amd_iommu_rlookup_table; |
| 178 | 178 | ||
| 179 | /* | 179 | /* |
| 180 | * AMD IOMMU allows up to 2^16 differend protection domains. This is a bitmap | 180 | * AMD IOMMU allows up to 2^16 different protection domains. This is a bitmap |
| 181 | * to know which ones are already in use. | 181 | * to know which ones are already in use. |
| 182 | */ | 182 | */ |
| 183 | unsigned long *amd_iommu_pd_alloc_bitmap; | 183 | unsigned long *amd_iommu_pd_alloc_bitmap; |
| @@ -477,7 +477,7 @@ static int __init find_last_devid_acpi(struct acpi_table_header *table) | |||
| 477 | 477 | ||
| 478 | /**************************************************************************** | 478 | /**************************************************************************** |
| 479 | * | 479 | * |
| 480 | * The following functions belong the the code path which parses the ACPI table | 480 | * The following functions belong to the code path which parses the ACPI table |
| 481 | * the second time. In this ACPI parsing iteration we allocate IOMMU specific | 481 | * the second time. In this ACPI parsing iteration we allocate IOMMU specific |
| 482 | * data structures, initialize the device/alias/rlookup table and also | 482 | * data structures, initialize the device/alias/rlookup table and also |
| 483 | * basically initialize the hardware. | 483 | * basically initialize the hardware. |
| @@ -690,7 +690,7 @@ static void __init set_dev_entry_from_acpi(struct amd_iommu *iommu, | |||
| 690 | } | 690 | } |
| 691 | 691 | ||
| 692 | /* | 692 | /* |
| 693 | * Reads the device exclusion range from ACPI and initialize IOMMU with | 693 | * Reads the device exclusion range from ACPI and initializes the IOMMU with |
| 694 | * it | 694 | * it |
| 695 | */ | 695 | */ |
| 696 | static void __init set_device_exclusion_range(u16 devid, struct ivmd_header *m) | 696 | static void __init set_device_exclusion_range(u16 devid, struct ivmd_header *m) |
| @@ -1140,7 +1140,7 @@ static int __init amd_iommu_init_pci(void) | |||
| 1140 | /**************************************************************************** | 1140 | /**************************************************************************** |
| 1141 | * | 1141 | * |
| 1142 | * The following functions initialize the MSI interrupts for all IOMMUs | 1142 | * The following functions initialize the MSI interrupts for all IOMMUs |
| 1143 | * in the system. Its a bit challenging because there could be multiple | 1143 | * in the system. It's a bit challenging because there could be multiple |
| 1144 | * IOMMUs per PCI BDF but we can call pci_enable_msi(x) only once per | 1144 | * IOMMUs per PCI BDF but we can call pci_enable_msi(x) only once per |
| 1145 | * pci_dev. | 1145 | * pci_dev. |
| 1146 | * | 1146 | * |
| @@ -1198,7 +1198,7 @@ enable_faults: | |||
| 1198 | * | 1198 | * |
| 1199 | * The next functions belong to the third pass of parsing the ACPI | 1199 | * The next functions belong to the third pass of parsing the ACPI |
| 1200 | * table. In this last pass the memory mapping requirements are | 1200 | * table. In this last pass the memory mapping requirements are |
| 1201 | * gathered (like exclusion and unity mapping reanges). | 1201 | * gathered (like exclusion and unity mapping ranges). |
| 1202 | * | 1202 | * |
| 1203 | ****************************************************************************/ | 1203 | ****************************************************************************/ |
| 1204 | 1204 | ||
