[PATCH 01/37] iommu: Introduce Shared Virtual Addressing API

From
Jean-Philippe Brucker <hidden>
Date
2018-02-28 16:20:45
Also in
kvm, linux-acpi, linux-devicetree, linux-iommu, linux-pci
On 27/02/18 06:21, Tian, Kevin wrote:
[...]
quoted
Technically nothing prevents it, but now the resv problem discussed on
patch 2/37 stands out. For example on x86 you'd probably need to carve
the
IOAPIC MSI range out of the process address space. On Arm you'd need to
create a write-only mapping for MSIs (IOMMU translates it to the IRQ chip
address, but thankfully accessing the doorbell from CPU side doesn't
trigger an MSI.)
so if overlap already exists when binding a process address space
(since binding may happen much later than creating the process),
I assume the call will simply fail since carve out at this point is not
possible?
Yes in this case I think it's safer to abort the bind() call

Thanks,
Jean
Thread (1 message) 1 message, 1 author, last reply 2018-02-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help