41 messages in com.xensource.lists.xen-develRe: [Xen-devel] [PATCH 1/5] Add MSI s...
FromSent OnAttachments
Shan, Haitao26 Mar 2008 23:55 
Shan, Haitao26 Mar 2008 23:59.patch
Shan, Haitao27 Mar 2008 00:01.patch
Shan, Haitao27 Mar 2008 00:03.patch
Shan, Haitao27 Mar 2008 00:03.patch
Shan, Haitao27 Mar 2008 00:04.patch
Shan, Haitao27 Mar 2008 00:10.patch
Keir Fraser27 Mar 2008 00:55 
Espen Skoglund27 Mar 2008 10:32 
Caitlin Bestler27 Mar 2008 15:09 
Jiang, Yunhong27 Mar 2008 18:48 
Keir Fraser28 Mar 2008 00:24 
Jiang, Yunhong28 Mar 2008 01:39 
Keir Fraser28 Mar 2008 01:51 
Keir Fraser28 Mar 2008 02:15 
Tian, Kevin28 Mar 2008 02:22 
Keir Fraser28 Mar 2008 02:32 
Jiang, Yunhong28 Mar 2008 02:35 
Jiang, Yunhong28 Mar 2008 02:37 
Keir Fraser28 Mar 2008 02:45 
Tian, Kevin28 Mar 2008 02:48 
Keir Fraser28 Mar 2008 03:00 
Shan, Haitao28 Mar 2008 03:02 
Keir Fraser28 Mar 2008 03:08 
Shan, Haitao28 Mar 2008 03:12 
Espen Skoglund28 Mar 2008 04:37 
Keir Fraser28 Mar 2008 04:52 
Espen Skoglund28 Mar 2008 05:00 
Espen Skoglund28 Mar 2008 05:15 
Keir Fraser28 Mar 2008 05:59 
Jiang, Yunhong31 Mar 2008 06:57 
Keir Fraser31 Mar 2008 07:13 
Keir Fraser31 Mar 2008 07:15 
Jiang, Yunhong31 Mar 2008 07:25 
Keir Fraser31 Mar 2008 07:33 
Shan, Haitao31 Mar 2008 19:38 
Neil Turton02 Apr 2008 07:55 
Shan, Haitao03 Apr 2008 05:11 
Keir Fraser03 Apr 2008 05:31 
Shan, Haitao30 Apr 2008 00:10 
Shan, Haitao30 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