[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 10/18] intel_iommu: Add support for PCI MSI r
From: |
Jan Kiszka |
Subject: |
Re: [Qemu-devel] [PATCH v5 10/18] intel_iommu: Add support for PCI MSI remap |
Date: |
Thu, 28 Apr 2016 09:32:17 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
On 2016-04-28 09:05, Peter Xu wrote:
> This patch enables interrupt remapping for PCI devices.
>
> To play the trick, one memory region "iommu_ir" is added as child region
> of the original iommu memory region, covering range 0xfeeXXXXX (which is
> the address range for APIC). All the writes to this range will be taken
> as MSI, and translation is carried out only when IR is enabled.
>
> Idea suggested by Paolo Bonzini.
This still lacks source (device ID) identification, right? Were did the
memory write attribute thing go? Given that you actually introduce a
separate MSI target address space for the IOAPIC (btw, once there will
be more than one instance, like on real hw today) and that you will need
yet another one for each HPET, why not address this with a common scheme
now, ie. by transmitting the source ID along the write via that attribute?
Jan
- [Qemu-devel] [PATCH v5 01/18] acpi: enable INTR for DMAR report structure, (continued)
- [Qemu-devel] [PATCH v5 01/18] acpi: enable INTR for DMAR report structure, Peter Xu, 2016/04/28
- [Qemu-devel] [PATCH v5 02/18] intel_iommu: allow queued invalidation for IR, Peter Xu, 2016/04/28
- [Qemu-devel] [PATCH v5 03/18] intel_iommu: set IR bit for ECAP register, Peter Xu, 2016/04/28
- [Qemu-devel] [PATCH v5 04/18] acpi: add DMAR scope definition for root IOAPIC, Peter Xu, 2016/04/28
- [Qemu-devel] [PATCH v5 05/18] intel_iommu: define interrupt remap table addr register, Peter Xu, 2016/04/28
- [Qemu-devel] [PATCH v5 06/18] intel_iommu: handle interrupt remap enable, Peter Xu, 2016/04/28
- [Qemu-devel] [PATCH v5 08/18] intel_iommu: provide helper function vtd_get_iommu, Peter Xu, 2016/04/28
- [Qemu-devel] [PATCH v5 07/18] intel_iommu: define several structs for IOMMU IR, Peter Xu, 2016/04/28
- [Qemu-devel] [PATCH v5 09/18] intel_iommu: add IR translation faults defines, Peter Xu, 2016/04/28
- [Qemu-devel] [PATCH v5 10/18] intel_iommu: Add support for PCI MSI remap, Peter Xu, 2016/04/28
- Re: [Qemu-devel] [PATCH v5 10/18] intel_iommu: Add support for PCI MSI remap,
Jan Kiszka <=
- [Qemu-devel] [PATCH v5 11/18] q35: ioapic: add support for emulated IOAPIC IR, Peter Xu, 2016/04/28
- [Qemu-devel] [PATCH v5 13/18] intel_iommu: add support for split irqchip, Peter Xu, 2016/04/28
- [Qemu-devel] [PATCH v5 12/18] ioapic: introduce ioapic_entry_parse() helper, Peter Xu, 2016/04/28
- [Qemu-devel] [PATCH v5 14/18] q35: add "intremap" parameter to enable IR, Peter Xu, 2016/04/28
- [Qemu-devel] [PATCH v5 15/18] intel_iommu: introduce IEC notifiers, Peter Xu, 2016/04/28