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

[Xen-devel] [PATCH 2 of 5] FIX: mem_access: p2m and ept function changes to propagate access


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Joe Epstein <jepstein98@xxxxxxxxx>
  • Date: Sun, 2 Jan 2011 12:49:01 -0800
  • Delivery-date: Sun, 02 Jan 2011 12:50:18 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=nN2xd/D08xOpd6NgUMz+nBNm4tMuMPCl+s9UCr8WP4IreQkPmGzLKcVx+tZVm+8gUi uf0QZAHOKkLsv7dit6Gxm4dhRhN9E/IhymUUImRGBGiGOOfK/WM4v1WCeyNcJrh+bHHA ioJmjVqL8g3Yp93TvXp0L36Y1gMHy2eTRhw/A=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hello,

For anyone interested in the mem_access patches sent on December 28th,
apologies for an error in hand-merging the concurrent changes to the
repository into the patch.  The following, if applied after patch 2 of
5, will fix the issue.

Signed-off-by: Joe Epstein <jepstein98@xxxxxxxxx>

diff -r 5b4facf64c32 xen/arch/x86/mm/hap/p2m-ept.c
--- a/xen/arch/x86/mm/hap/p2m-ept.c     Wed Dec 29 16:33:13 2010 -0800
+++ b/xen/arch/x86/mm/hap/p2m-ept.c     Sun Jan 02 12:42:10 2011 -0800
@@ -373,7 +373,7 @@
             new_entry.ipat = ipat;
             new_entry.sp = order ? 1 : 0;
             new_entry.sa_p2mt = p2mt;
-            ept_entry->access = p2ma;
+            new_entry.access = p2ma;
             new_entry.rsvd2_snp = (iommu_enabled && iommu_snoop);

             if ( new_entry.mfn == mfn_x(mfn) )
@@ -421,7 +421,7 @@
         new_entry.ipat = ipat;
         new_entry.sp = i ? 1 : 0;
         new_entry.sa_p2mt = p2mt;
-        ept_entry->access = p2ma;
+        new_entry.access = p2ma;
         new_entry.rsvd2_snp = (iommu_enabled && iommu_snoop);

         if ( new_entry.mfn == mfn_x(mfn) )

_______________________________________________
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®.