• Jon Mason's avatar
    [PATCH] x86_64: IOMMU printk cleanup · 5b7b644c
    Jon Mason authored
    This patch contains a printk reorder to remove the current problem of
    displaying "PCI-DMA: Disabling IOMMU." and then "PCI-DMA: using GART
    IOMMU" 20 lines later in dmesg.
    
    It also constains a printk reorder in swiotlb to state swiotlb
    enablement prior to describing the location of the bounce buffers, and a
    printk reorder to state gart enablement prior to describing the
    aperature.
    
    Also constains a whitespace cleanup in arch/x86_64/kernel/setup.c
    
    Tested (along with patch 2/2) on dual opteron with gart enabled,
    iommu=soft, and iommu=off.
    Signed-off-by: default avatarJon Mason <jdmason@us.ibm.com>
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    5b7b644c
pci-gart.c 19.8 KB