41 messages in com.xensource.lists.xen-develRe: [Xen-devel] [PATCH 1/5] Add MSI s...| From | Sent On | Attachments |
|---|---|---|
| Shan, Haitao | 26 Mar 2008 23:55 | |
| Shan, Haitao | 26 Mar 2008 23:59 | .patch |
| Shan, Haitao | 27 Mar 2008 00:01 | .patch |
| Shan, Haitao | 27 Mar 2008 00:03 | .patch |
| Shan, Haitao | 27 Mar 2008 00:03 | .patch |
| Shan, Haitao | 27 Mar 2008 00:04 | .patch |
| Shan, Haitao | 27 Mar 2008 00:10 | .patch |
| Keir Fraser | 27 Mar 2008 00:55 | |
| Espen Skoglund | 27 Mar 2008 10:32 | |
| Caitlin Bestler | 27 Mar 2008 15:09 | |
| Jiang, Yunhong | 27 Mar 2008 18:48 | |
| Keir Fraser | 28 Mar 2008 00:24 | |
| Jiang, Yunhong | 28 Mar 2008 01:39 | |
| Keir Fraser | 28 Mar 2008 01:51 | |
| Keir Fraser | 28 Mar 2008 02:15 | |
| Tian, Kevin | 28 Mar 2008 02:22 | |
| Keir Fraser | 28 Mar 2008 02:32 | |
| Jiang, Yunhong | 28 Mar 2008 02:35 | |
| Jiang, Yunhong | 28 Mar 2008 02:37 | |
| Keir Fraser | 28 Mar 2008 02:45 | |
| Tian, Kevin | 28 Mar 2008 02:48 | |
| Keir Fraser | 28 Mar 2008 03:00 | |
| Shan, Haitao | 28 Mar 2008 03:02 | |
| Keir Fraser | 28 Mar 2008 03:08 | |
| Shan, Haitao | 28 Mar 2008 03:12 | |
| Espen Skoglund | 28 Mar 2008 04:37 | |
| Keir Fraser | 28 Mar 2008 04:52 | |
| Espen Skoglund | 28 Mar 2008 05:00 | |
| Espen Skoglund | 28 Mar 2008 05:15 | |
| Keir Fraser | 28 Mar 2008 05:59 | |
| Jiang, Yunhong | 31 Mar 2008 06:57 | |
| Keir Fraser | 31 Mar 2008 07:13 | |
| Keir Fraser | 31 Mar 2008 07:15 | |
| Jiang, Yunhong | 31 Mar 2008 07:25 | |
| Keir Fraser | 31 Mar 2008 07:33 | |
| Shan, Haitao | 31 Mar 2008 19:38 | |
| Neil Turton | 02 Apr 2008 07:55 | |
| Shan, Haitao | 03 Apr 2008 05:11 | |
| Keir Fraser | 03 Apr 2008 05:31 | |
| Shan, Haitao | 30 Apr 2008 00:10 | |
| Shan, Haitao | 30 Apr 2008 00:17 |
| Subject: | Re: [Xen-devel] [PATCH 1/5] Add MSI support to XEN![]() |
|---|---|
| From: | Espen Skoglund (espe...@netronome.com) |
| Date: | 03/28/2008 05:00:49 AM |
| List: | com.xensource.lists.xen-devel |
[Keir Fraser]
On 28/3/08 09:37, "Jiang, Yunhong" <yunh...@intel.com> wrote:
DomainU (PV and hvm) should have no idea of vector. Do you think it will matter if domain0 have such idea? one thing missed here is, if domainU want to access the MSI config spafce, pci backend should return 0xff. Then it should be secure if domain0 can have idea of vector.
No, it's not a security risk for dom0 kernel to know about real vectors. It's already part of the TCB.
It's just a question of which is the cleanest design. And letting Xen get some access to PCI config space (just a little -- not a lot -- and under direction of dom0 kernel) will let it properly mask MSIs, which would be a nicer and deadlock-free alternative to the 'ACK-NEW' masking method.
With the introduction of VT-d interrupt remapping you might want to relinquish some more control of the PCI config space to Xen anyway. More precisely, the interrupt address and message data written into the MSI capability structure or MSI-X Table will no longer be the destination APIC id, interrupt type, vector, etc., for delivering the interrupt. Instead, the information goes into the interrupt remapping table, and a special remappable message type goes into the capabilty structure/MSI-X table. This already happens for IOAPIC entries. The alternative is to put the interrupt remapping table under the control of dom0.
eSk
_______________________________________________ Xen-devel mailing list Xen-...@lists.xensource.com http://lists.xensource.com/xen-devel





.patch