WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 2/3] x2APIC/VT-d: improve interrupt remapping and que

To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 2/3] x2APIC/VT-d: improve interrupt remapping and queued invalidation enabling and disabling
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Mon, 5 Jul 2010 15:08:13 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Mon, 05 Jul 2010 00:14:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcscENVfQ/TDYjhGSoWFAGBWwyyy1Q==
Thread-topic: [PATCH 2/3] x2APIC/VT-d: improve interrupt remapping and queued invalidation enabling and disabling
        x2APIC depends on interrupt remapping, so interrupt remapping needs to 
be enabled before x2APIC. Usually x2APIC is not enabled (x2apic_enabled=0) when 
enable interrupt remapping, although x2APIC will be enabled later. So it needs 
to pass a parameter to set interrupt mode in intremap_enable, instead of 
checking x2apic_enable. This patch adds a parameter "eim" to intremap_enable to 
achieve it.
        Interrupt remapping and queued invalidation are already enabled when 
enable x2apic, so it needn't to enable them again when setup iommu. This patch 
checks if interrupt remapping and queued invalidation are already enable or 
not, and won't enable them if already enabled. It does the similar in 
disabling, that's to say don't disable them if already disabled.


Signed-off-by: Weidong Han <weidong.han@xxxxxxxxx>

Attachment: ir-qi.patch
Description: ir-qi.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH 2/3] x2APIC/VT-d: improve interrupt remapping and queued invalidation enabling and disabling, Han, Weidong <=