Skip to contentSkip to conversation

xen/arm: define PAGE_HYPERVISOR as WRITEALLOC

PATCH In review Stefano Stabellini 2 participants 3 messages Jun 4, 2013 – Jun 13, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen/arm: define PAGE_HYPERVISOR as WRITEALLOC

Use stage 1 attribute indexes for PAGE_HYPERVISOR, the appriopriate one for normal memory hypervisor mappings in Xen is WRITEALLOC.

xen/include/asm-arm/page.h +1 -1
index 13fbd78..41e9eff 100644
@@ -58,7 +58,7 @@
 #define DEV_WC        BUFFERABLE
 #define DEV_CACHED    WRITEBACK
 
-#define PAGE_HYPERVISOR         (MATTR_MEM)
+#define PAGE_HYPERVISOR         (WRITEALLOC)
 #define PAGE_HYPERVISOR_NOCACHE (DEV_SHARED)
 #define PAGE_HYPERVISOR_WC      (DEV_WC)
 #define MAP_SMALL_PAGES         PAGE_HYPERVISOR
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Stefano Stabellini

Use stage 1 attribute indexes for PAGE_HYPERVISOR, the appriopriate one for normal memory hypervisor mappings in Xen is WRITEALLOC.

but applying will need to wait for us to cut rc3 I think.

Quoted 19 lines
xen/include/asm-arm/page.h +1 -1
index 13fbd78..41e9eff 100644
@@ -58,7 +58,7 @@
 #define DEV_WC        BUFFERABLE
 #define DEV_CACHED    WRITEBACK
 
-#define PAGE_HYPERVISOR         (MATTR_MEM)
+#define PAGE_HYPERVISOR         (WRITEALLOC)
 #define PAGE_HYPERVISOR_NOCACHE (DEV_SHARED)
 #define PAGE_HYPERVISOR_WC      (DEV_WC)
 #define MAP_SMALL_PAGES         PAGE_HYPERVISOR

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel