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] some cleanups and fixes to VT-d Interrupt Remapping

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] some cleanups and fixes to VT-d Interrupt Remapping and x2APICc.
From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Mon, 7 Sep 2009 17:16:37 +0800
Accept-language: zh-CN, en-US
Acceptlanguage: zh-CN, en-US
Cc: "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Delivery-date: Mon, 07 Sep 2009 02:17:37 -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: Acovm+axqfZhmmtLTDSnPIPTztSnPw==
Thread-topic: [PATCH] some cleanups and fixes to VT-d Interrupt Remapping and x2APICc.
001.patch 
        vt-d: replace the gdprintk with dprintk since it isn't in guest context.

002.patch 
        Some cleanups for apic_write, apic_read, apic_wrmsr, apic_rdmsr.

003.patch 
        vt-d: some small fixes to apic_pin_2_ir_idx.

004.patch
        vt-d: don't treat IOAPIC RTE of dest_SMI type specially.

        We also need to create IRTE for it since we enable EIM and clear CFI, 
or else,
        the IOAPIC RTE's interrupt message would be blocked by IR unit.

        In io_apic_read_remap_rte(), we now use 
"apic_pin_2_ir_idx[apic][ioapic_pin]"
        rather than "(remap_rte->index_15 << 15) | remap_rte->index_0_14" to 
avoid the
        "interrupt remapping table out of bound error".

Thanks,
-- Dexuan

Attachment: 001.patch
Description: 001.patch

Attachment: 002.patch
Description: 002.patch

Attachment: 003.patch
Description: 003.patch

Attachment: 004.patch
Description: 004.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] some cleanups and fixes to VT-d Interrupt Remapping and x2APICc., Cui, Dexuan <=