lkml.org 
[lkml]   [2018]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v4 15/22] iommu/config: add build dependency for dmar
    Date
    Intel VT-d interrupts come from both IRQ remapping and DMA remapping.
    In order to report non-recoverable faults back to device driver, we
    need to have access to IOMMU fault reporting APIs. This patch adds
    build depenency to DMAR code where fault IRQ handlers can selectively
    report faults.

    Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
    ---
    drivers/iommu/Kconfig | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
    index f3a2134..45db4cc 100644
    --- a/drivers/iommu/Kconfig
    +++ b/drivers/iommu/Kconfig
    @@ -138,6 +138,7 @@ config AMD_IOMMU_V2
    # Intel IOMMU support
    config DMAR_TABLE
    bool
    + select IOMMU_API

    config INTEL_IOMMU
    bool "Support for Intel IOMMU using DMA Remapping Devices"
    --
    2.7.4
    \
     
     \ /
      Last update: 2018-03-23 04:10    [W:3.507 / U:0.132 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site