瀏覽代碼

[PATCH] Document iommu=panic

Signed-off-by: Andi Kleen <ak@suse.de>
Andi Kleen 18 年之前
父節點
當前提交
d802ab981d
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      Documentation/x86_64/boot-options.txt
  2. 1 0
      arch/x86_64/kernel/pci-dma.c

+ 1 - 0
Documentation/x86_64/boot-options.txt

@@ -203,6 +203,7 @@ IOMMU
 	    When off all DMA over >4GB is forced through an IOMMU or bounce
 	    buffering.
    nodac    Forbid DMA >4GB
+   panic    Always panic when IOMMU overflows
 
   swiotlb=pages[,force]
 

+ 1 - 0
arch/x86_64/kernel/pci-dma.c

@@ -245,6 +245,7 @@ EXPORT_SYMBOL(dma_set_mask);
    noaperture Don't touch the aperture for AGP.
    allowdac Allow DMA >4GB
    nodac    Forbid DMA >4GB
+   panic    Force panic when IOMMU overflows
 */
 __init int iommu_setup(char *p)
 {