]> xenbits.xen.org Git - xenclient/xen.git/commit
tboot patch 5/5 - use protected DMAR
authorRoss Philipson <ross.philipson@citrix.com>
Wed, 4 Feb 2009 16:17:52 +0000 (11:17 -0500)
committerRoss Philipson <ross.philipson@citrix.com>
Wed, 4 Feb 2009 16:17:52 +0000 (11:17 -0500)
commit12b80f60099a01a5c1e861c24a4fd245c6ff7032
tree0ebcb9b84eaa6348f0c76435cab0076d5b1aac51
parent8ccfc7079e3b4555fa9fd3824ad9c88faf8f5ebc
tboot patch 5/5 - use protected DMAR

The VT-d DMAR ACPI tables may not be DMA protected by tboot.
However, SINIT saves a copy of them in the SinitMleData struct
in the TXT heap (which is DMA protected). So we should read
the DMAR table from that copy if launched by tboot.

 Changes to be committed:
modified:   xen/arch/x86/tboot.c
modified:   xen/drivers/passthrough/vtd/dmar.c
modified:   xen/include/asm-x86/tboot.h
xen/arch/x86/tboot.c
xen/drivers/passthrough/vtd/dmar.c
xen/include/asm-x86/tboot.h