lkml.org 
[lkml]   [2018]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subjectvt-d/iommu: RMRR-declared ACPI device handling in current VT-d Driver
Dear Joerg & David,
I have a question about current VT-d driver. I found it can not handle
following case:
An RMRR-declared ACPI device (it's also declared by ANDD) cannot
work using current VT-d driver. its DMAs will be blocked by VT-d.
The reason is that current VT-d driver only tries to setup identity map
for devices in dmar_rmrr_unit->device[]. But it doesn't add
RMRR-declared ACPI device into dmar_rmrr_unit->device[]. It just
allocates memory space for this ACPI device in dmar_parse_one_rmrr().
Let's see RMRR-declared PCI device. VT-d driver allocates memory
space for it and then adds it into dmar_rmrr_unit->device[] via
dmar_iommu_notify_scope_dev().
If there is any mistake, please correct me. Thanks

BRs,
Raymond

\
 
 \ /
  Last update: 2018-12-12 18:15    [W:0.794 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site