Stefano Stabellini
2013-Jun-04 15:18 UTC
[PATCH] 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. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> diff --git a/xen/include/asm-arm/page.h b/xen/include/asm-arm/page.h index 13fbd78..41e9eff 100644 --- a/xen/include/asm-arm/page.h +++ b/xen/include/asm-arm/page.h @@ -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
Ian Campbell
2013-Jun-04 15:23 UTC
Re: [PATCH] xen/arm: define PAGE_HYPERVISOR as WRITEALLOC
On Tue, 2013-06-04 at 16:18 +0100, Stefano Stabellini wrote:> Use stage 1 attribute indexes for PAGE_HYPERVISOR, the appriopriate one > for normal memory hypervisor mappings in Xen is WRITEALLOC. > > Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>Acked-by: Ian Campbell <ian.campbell@citrix.com> but applying will need to wait for us to cut rc3 I think.> > diff --git a/xen/include/asm-arm/page.h b/xen/include/asm-arm/page.h > index 13fbd78..41e9eff 100644 > --- a/xen/include/asm-arm/page.h > +++ b/xen/include/asm-arm/page.h > @@ -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 > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel
Ian Campbell
2013-Jun-13 17:27 UTC
Re: [PATCH] xen/arm: define PAGE_HYPERVISOR as WRITEALLOC
On Tue, 2013-06-04 at 16:23 +0100, Ian Campbell wrote:> On Tue, 2013-06-04 at 16:18 +0100, Stefano Stabellini wrote: > > Use stage 1 attribute indexes for PAGE_HYPERVISOR, the appriopriate one > > for normal memory hypervisor mappings in Xen is WRITEALLOC. > > > > Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> > > Acked-by: Ian Campbell <ian.campbell@citrix.com> > but applying will need to wait for us to cut rc3 I think.Applied now.