[rhel6-branch][PATCH] Enable the AMD IOMMU driver if tboot is installed. (#928144)

David Shea dshea at redhat.com
Wed Jul 24 18:49:14 UTC 2013


If tboot is installed, enable the AMD iommu driver in the kernel
parameters in the same way that we enable the Intel iommu driver.

The AMD iommu driver is disabled by default in RHEL 6 due to stability
issues with some BIOSes after suspend and resume. This kernel parameter
has no effect on systems without AMD-Vi.
---
 booty/x86.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/booty/x86.py b/booty/x86.py
index f2e0047..a753201 100644
--- a/booty/x86.py
+++ b/booty/x86.py
@@ -367,7 +367,7 @@ class x86BootloaderInfo(efiBootloaderInfo):
             else: # normal kernel
                 if self.trusted_boot:
                     f.write('\tkernel %stboot.gz logging=vga,serial,memory\n' % (cfPath))
-                    f.write('\tmodule %s ro%s intel_iommu=on' % (kernelFile, realroot))
+                    f.write('\tmodule %s ro%s intel_iommu=on amd_iommu=on' % (kernelFile, realroot))
                     if self.args.get():
                         f.write(' %s' % self.args.get())
                     f.write('\n')
-- 
1.8.3.1



More information about the anaconda-patches mailing list