diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2009-09-01 10:43:58 -0400 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2009-09-03 09:49:56 -0400 |
commit | 4c6f40d4e0f0bba77a5f27eec4e1c6d1c457d324 (patch) | |
tree | f70ee59a48c3ace23c4bfebe8f6c975f1b4578b4 /arch/x86 | |
parent | f2430bd104bec2706315e9e983a9d9f828ff9565 (diff) |
x86/amd-iommu: replace "AMD IOMMU" by "AMD-Vi"
This patch replaces the "AMD IOMMU" printk strings with the
official name for the hardware: "AMD-Vi".
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/include/asm/amd_iommu_types.h | 2 | ||||
-rw-r--r-- | arch/x86/kernel/amd_iommu.c | 2 | ||||
-rw-r--r-- | arch/x86/kernel/amd_iommu_init.c | 12 |
3 files changed, 8 insertions, 8 deletions
diff --git a/arch/x86/include/asm/amd_iommu_types.h b/arch/x86/include/asm/amd_iommu_types.h index 0c878caaa0a2..106e1305ef86 100644 --- a/arch/x86/include/asm/amd_iommu_types.h +++ b/arch/x86/include/asm/amd_iommu_types.h | |||
@@ -198,7 +198,7 @@ extern bool amd_iommu_dump; | |||
198 | #define DUMP_printk(format, arg...) \ | 198 | #define DUMP_printk(format, arg...) \ |
199 | do { \ | 199 | do { \ |
200 | if (amd_iommu_dump) \ | 200 | if (amd_iommu_dump) \ |
201 | printk(KERN_INFO "AMD IOMMU: " format, ## arg); \ | 201 | printk(KERN_INFO "AMD-Vi: " format, ## arg); \ |
202 | } while(0); | 202 | } while(0); |
203 | 203 | ||
204 | /* | 204 | /* |
diff --git a/arch/x86/kernel/amd_iommu.c b/arch/x86/kernel/amd_iommu.c index 70fdef54e066..3e62d7836522 100644 --- a/arch/x86/kernel/amd_iommu.c +++ b/arch/x86/kernel/amd_iommu.c | |||
@@ -141,7 +141,7 @@ static void iommu_print_event(void *__evt) | |||
141 | int flags = (event[1] >> EVENT_FLAGS_SHIFT) & EVENT_FLAGS_MASK; | 141 | int flags = (event[1] >> EVENT_FLAGS_SHIFT) & EVENT_FLAGS_MASK; |
142 | u64 address = (u64)(((u64)event[3]) << 32) | event[2]; | 142 | u64 address = (u64)(((u64)event[3]) << 32) | event[2]; |
143 | 143 | ||
144 | printk(KERN_ERR "AMD IOMMU: Event logged ["); | 144 | printk(KERN_ERR "AMD-Vi: Event logged ["); |
145 | 145 | ||
146 | switch (type) { | 146 | switch (type) { |
147 | case EVENT_TYPE_ILL_DEV: | 147 | case EVENT_TYPE_ILL_DEV: |
diff --git a/arch/x86/kernel/amd_iommu_init.c b/arch/x86/kernel/amd_iommu_init.c index c1b17e97252e..169958ad6243 100644 --- a/arch/x86/kernel/amd_iommu_init.c +++ b/arch/x86/kernel/amd_iommu_init.c | |||
@@ -252,7 +252,7 @@ static void __init iommu_feature_disable(struct amd_iommu *iommu, u8 bit) | |||
252 | /* Function to enable the hardware */ | 252 | /* Function to enable the hardware */ |
253 | static void iommu_enable(struct amd_iommu *iommu) | 253 | static void iommu_enable(struct amd_iommu *iommu) |
254 | { | 254 | { |
255 | printk(KERN_INFO "AMD IOMMU: Enabling IOMMU at %s cap 0x%hx\n", | 255 | printk(KERN_INFO "AMD-Vi: Enabling IOMMU at %s cap 0x%hx\n", |
256 | dev_name(&iommu->dev->dev), iommu->cap_ptr); | 256 | dev_name(&iommu->dev->dev), iommu->cap_ptr); |
257 | 257 | ||
258 | iommu_feature_enable(iommu, CONTROL_IOMMU_EN); | 258 | iommu_feature_enable(iommu, CONTROL_IOMMU_EN); |
@@ -902,7 +902,7 @@ static int __init iommu_setup_msi(struct amd_iommu *iommu) | |||
902 | 902 | ||
903 | r = request_irq(iommu->dev->irq, amd_iommu_int_handler, | 903 | r = request_irq(iommu->dev->irq, amd_iommu_int_handler, |
904 | IRQF_SAMPLE_RANDOM, | 904 | IRQF_SAMPLE_RANDOM, |
905 | "AMD IOMMU", | 905 | "AMD-Vi", |
906 | NULL); | 906 | NULL); |
907 | 907 | ||
908 | if (r) { | 908 | if (r) { |
@@ -1150,7 +1150,7 @@ int __init amd_iommu_init(void) | |||
1150 | 1150 | ||
1151 | 1151 | ||
1152 | if (no_iommu) { | 1152 | if (no_iommu) { |
1153 | printk(KERN_INFO "AMD IOMMU disabled by kernel command line\n"); | 1153 | printk(KERN_INFO "AMD-Vi disabled by kernel command line\n"); |
1154 | return 0; | 1154 | return 0; |
1155 | } | 1155 | } |
1156 | 1156 | ||
@@ -1248,16 +1248,16 @@ int __init amd_iommu_init(void) | |||
1248 | 1248 | ||
1249 | enable_iommus(); | 1249 | enable_iommus(); |
1250 | 1250 | ||
1251 | printk(KERN_INFO "AMD IOMMU: device isolation "); | 1251 | printk(KERN_INFO "AMD-Vi: device isolation "); |
1252 | if (amd_iommu_isolate) | 1252 | if (amd_iommu_isolate) |
1253 | printk("enabled\n"); | 1253 | printk("enabled\n"); |
1254 | else | 1254 | else |
1255 | printk("disabled\n"); | 1255 | printk("disabled\n"); |
1256 | 1256 | ||
1257 | if (amd_iommu_unmap_flush) | 1257 | if (amd_iommu_unmap_flush) |
1258 | printk(KERN_INFO "AMD IOMMU: IO/TLB flush on unmap enabled\n"); | 1258 | printk(KERN_INFO "AMD-Vi: IO/TLB flush on unmap enabled\n"); |
1259 | else | 1259 | else |
1260 | printk(KERN_INFO "AMD IOMMU: Lazy IO/TLB flushing enabled\n"); | 1260 | printk(KERN_INFO "AMD-Vi: Lazy IO/TLB flushing enabled\n"); |
1261 | 1261 | ||
1262 | out: | 1262 | out: |
1263 | return ret; | 1263 | return ret; |