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 2 of 5] FIX: mem_access: p2m and ept function changes

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 2 of 5] FIX: mem_access: p2m and ept function changes to propagate access
From: Joe Epstein <jepstein98@xxxxxxxxx>
Date: Sun, 2 Jan 2011 12:49:01 -0800
Delivery-date: Sun, 02 Jan 2011 12:50:18 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=IY9/WnqJKudNKAwkalblt8NePKjZtasl9je0vdTZQ5c=; b=kzAN2+SCezKF0M+kgjI80HZ6bQx53JZbGIetGIudQfp1he13L6xmWFudynvjnRckdx 7DlWRB2IDm5sGyTFr2H41FyTLQKRsLQgJ4T8gM3KGDu7f5S089CJZpx3xxp/LmFvev31 M0mXV5Sb9kXlXyctBpOJKkDEetMNdMprbKs1U=
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=
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
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH 2 of 5] FIX: mem_access: p2m and ept function changes to propagate access, Joe Epstein <=