[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel][PATCH][VTD]Utilise the snoop control capability in shadow with VT-d code


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.