Skip to contentSkip to conversation

xen/arm: Remove unused fixmap slots

PATCH In review Julien Grall 2 participants 2 messages Dec 7, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen/arm: Remove unused fixmap slots

There are quite a few fixmap slots that have not been used for a while. Remove them.

---
 xen/include/asm-arm/config.h | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
xen/include/asm-arm/config.h +2 -7
index 45f472f2fd..cdae8f64ff 100644
@@ -172,13 +172,8 @@
 
 /* Fixmap slots */
 #define FIXMAP_CONSOLE  0  /* The primary UART */
-#define FIXMAP_PT       1  /* Temporary mappings of pagetable pages */
-#define FIXMAP_MISC     2  /* Ephemeral mappings of hardware */
-#define FIXMAP_GICD     3  /* Interrupt controller: distributor registers */
-#define FIXMAP_GICC1    4  /* Interrupt controller: CPU registers (first page) */
-#define FIXMAP_GICC2    5  /* Interrupt controller: CPU registers (second page) */
-#define FIXMAP_GICH     6  /* Interrupt controller: virtual interface control registers */
-#define FIXMAP_ACPI_BEGIN  7  /* Start mappings of ACPI tables */
+#define FIXMAP_MISC     1  /* Ephemeral mappings of hardware */
+#define FIXMAP_ACPI_BEGIN  2  /* Start mappings of ACPI tables */
 #define FIXMAP_ACPI_END    (FIXMAP_ACPI_BEGIN + NUM_FIXMAP_ACPI_PAGES - 1)  /* End mappings of ACPI tables */
 
 #define PAGE_SHIFT              12
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Julien Grall

There are quite a few fixmap slots that have not been used for a while. Remove them.

Quoted 27 lines
---
 xen/include/asm-arm/config.h | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
xen/include/asm-arm/config.h +2 -7
index 45f472f2fd..cdae8f64ff 100644
@@ -172,13 +172,8 @@
 
 /* Fixmap slots */
 #define FIXMAP_CONSOLE  0  /* The primary UART */
-#define FIXMAP_PT       1  /* Temporary mappings of pagetable pages */
-#define FIXMAP_MISC     2  /* Ephemeral mappings of hardware */
-#define FIXMAP_GICD     3  /* Interrupt controller: distributor registers */
-#define FIXMAP_GICC1    4  /* Interrupt controller: CPU registers (first page) */
-#define FIXMAP_GICC2    5  /* Interrupt controller: CPU registers (second page) */
-#define FIXMAP_GICH     6  /* Interrupt controller: virtual interface control registers */
-#define FIXMAP_ACPI_BEGIN  7  /* Start mappings of ACPI tables */
+#define FIXMAP_MISC     1  /* Ephemeral mappings of hardware */
+#define FIXMAP_ACPI_BEGIN  2  /* Start mappings of ACPI tables */
 #define FIXMAP_ACPI_END    (FIXMAP_ACPI_BEGIN + NUM_FIXMAP_ACPI_PAGES - 1)  /* End mappings of ACPI tables */
 
 #define PAGE_SHIFT              12
Signature · 1 line
2.11.0

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel