lkml.org 
[lkml]   [2014]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[Patch Part3 V6 0/8] Enable support of Intel DMAR device hotplug
    Date
    When hot plugging a descrete IOH or a physical processor with embedded
    IIO, we need to handle DMAR(or IOMMU) unit in the PCIe host bridge if
    DMAR is in use. This patch set tries to enhance current DMAR/IOMMU/IR
    drivers to support hotplug and is based on latest Linus master branch.

    All prerequisite patches to support DMAR device hotplug have been merged
    into the mainstream kernel, and this is the last patch set to enable
    DMAR device hotplug.

    You may access the patch set at:
    https://github.com/jiangliu/linux.git iommu/hotplug_v6

    This patch set has been tested on Intel development machine.
    Appreciate any comments and tests.

    V5->V6:
    1) Fix a race condition found during review
    2) Refine dmar_walk_resources() to dmar_walk_remapping_entries()

    Patch 1-4 enhances DMAR framework to support hotplug
    Patch 5 enhances Intel interrupt remapping driver to support hotplug
    Patch 6 enhances error handling in Intel IR driver
    Patch 7 enhance Intel IOMMU to support hotplug
    Patch 8 enhance ACPI pci_root driver to handle DMAR units

    Jiang Liu (8):
    iommu/vt-d: Introduce helper function dmar_walk_resources()
    iommu/vt-d: Dynamically allocate and free seq_id for DMAR units
    iommu/vt-d: Implement DMAR unit hotplug framework
    iommu/vt-d: Search for ACPI _DSM method for DMAR hotplug
    iommu/vt-d: Enhance intel_irq_remapping driver to support DMAR unit
    hotplug
    iommu/vt-d: Enhance error recovery in function
    intel_enable_irq_remapping()
    iommu/vt-d: Enhance intel-iommu driver to support DMAR unit hotplug
    pci, ACPI, iommu: Enhance pci_root to support DMAR device hotplug

    drivers/acpi/pci_root.c | 16 +-
    drivers/iommu/dmar.c | 532 ++++++++++++++++++++++++++++-------
    drivers/iommu/intel-iommu.c | 297 ++++++++++++++-----
    drivers/iommu/intel_irq_remapping.c | 237 ++++++++++++----
    include/linux/dmar.h | 50 +++-
    5 files changed, 890 insertions(+), 242 deletions(-)

    --
    1.7.10.4



    \
     
     \ /
      Last update: 2014-09-19 08:01    [W:6.833 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site