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][VTD]Utilise the snoop control capability in shadow wi

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel][PATCH][VTD]Utilise the snoop control capability in shadow with VT-d code
From: "Xin, Xiaohui" <xiaohui.xin@xxxxxxxxx>
Date: Fri, 20 Feb 2009 17:15:01 +0800
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: Fri, 20 Feb 2009 01:15:43 -0800
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: AcmTO7V9/z0QuG4xSx2bqlGN3KQ/1Q==
Thread-topic: [Xen-devel][PATCH][VTD]Utilise the snoop control capability in shadow with VT-d code

The patch attached utilise the snoop control capability in shadow with VT-d code.

We compute the shadow PAT index in leaf page entries now as:

1)       No VT-d assigned: let shadow PAT index as WB, handled already in shadow code before.

2)       direct assigned MMIO area: let shadow code compute the shadow PAT with gMTRR=UC and gPAT value.

3)       Snoop control enable: let shadow PAT index as WB.

4)       Snoop control disable:  let shadow code compute the shadow PAT with gMTRR and gPAT, handled already in shadow code before

 

Signed-off-by: Xin, Xiaohui <xiaohui.xin@xxxxxxxxx>

 

Attachment: shadow_snoop.diff
Description: shadow_snoop.diff

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel][PATCH][VTD]Utilise the snoop control capability in shadow with VT-d code, Xin, Xiaohui <=