xen/arm: page: Use directly BUFFERABLE and drop DEV_WC

DEV_WC is only used for PAGE_HYPERVISOR_WC and does not bring much
improvement.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
Julien Grall authored and Stefano Stabellini committed 2017-09-20 14:09:12 -07:00
1 parent 219ac334d0
commit cac8a746e8
1 file changed
+1 -4
+1 -4
View File
@@ -34,8 +34,6 @@
* ?? 101
* reserved 110
* WRITEALLOC 111 1111 1111 -- Write-back write-allocate
*
* DEV_WC 001 (== BUFFERABLE)
*/
#define MAIR0VAL 0xeeaa4400
#define MAIR1VAL 0xff000004
@@ -55,11 +53,10 @@
#define WRITEBACK 0x3
#define DEV_SHARED 0x4
#define WRITEALLOC 0x7
#define DEV_WC BUFFERABLE
#define PAGE_HYPERVISOR (WRITEALLOC)
#define PAGE_HYPERVISOR_NOCACHE (DEV_SHARED)
#define PAGE_HYPERVISOR_WC (DEV_WC)
#define PAGE_HYPERVISOR_WC (BUFFERABLE)
/*
* Defines for changing the hypervisor PTE .ro and .nx bits. This is only to be
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.