Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99641
b: refs/heads/master
c: 8b14518
h: refs/heads/master
i:
  99639: c65de30
v: v3
  • Loading branch information
Joerg Roedel authored and Ingo Molnar committed Jul 4, 2008
1 parent 85d563e commit dcfb63e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 999ba417cc1a43881126d08876d5d7e653113ae3
refs/heads/master: 8b14518fadd9d5915827d86d5c10e602fedf042e
9 changes: 1 addition & 8 deletions trunk/arch/x86/kernel/amd_iommu_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ struct ivmd_header {
u64 range_length;
} __attribute__((packed));

static int __initdata amd_iommu_disable;

u16 amd_iommu_last_bdf;
struct list_head amd_iommu_unity_map;
unsigned amd_iommu_aperture_order = 26;
Expand Down Expand Up @@ -686,7 +684,7 @@ int __init amd_iommu_init(void)
int i, ret = 0;


if (amd_iommu_disable) {
if (no_iommu) {
printk(KERN_INFO "AMD IOMMU disabled by kernel command line\n");
return 0;
}
Expand Down Expand Up @@ -831,9 +829,6 @@ void __init amd_iommu_detect(void)
if (swiotlb || no_iommu || iommu_detected)
return;

if (amd_iommu_disable)
return;

if (acpi_table_parse("IVRS", early_amd_iommu_detect) == 0) {
iommu_detected = 1;
#ifdef CONFIG_GART_IOMMU
Expand All @@ -846,8 +841,6 @@ void __init amd_iommu_detect(void)
static int __init parse_amd_iommu_options(char *str)
{
for (; *str; ++str) {
if (strcmp(str, "off") == 0)
amd_iommu_disable = 1;
if (strcmp(str, "isolate") == 0)
amd_iommu_isolate = 1;
}
Expand Down

0 comments on commit dcfb63e

Please sign in to comment.