• L
    iommu/vt-d: DMAR reporting table needs at least one DRHD · 7cef3347
    Li, Zhen-Hua 提交于
    In intel vt-d spec , chapter 8.1 , DMA Remapping Reporting Structure.
    In the end of the table, it says:
    
    Remapping Structures[]
    -
    A list of structures. The list will contain one or
    more DMA Remapping Hardware Unit Definition
    (DRHD) structures, and zero or more Reserved
    Memory Region Reporting (RMRR) and Root Port
    ATS Capability Reporting (ATSR) structures.
    These structures are described below.
    
    So, there should be at least one DRHD structure in DMA Remapping
    reporting table. If there is no DRHD found, a warning is necessary.
    Signed-off-by: NLi, Zhen-Hua <zhen-hual@hp.com>
    Signed-off-by: NJoerg Roedel <joro@8bytes.org>
    7cef3347
dmar.c 32.5 KB