[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v4 07/16] arm/xen: move GIC context data structure to gic driver

Hi Vijay,

On 26/05/14 11:26, vijay.kilari@xxxxxxxxx wrote:
diff --git a/xen/include/asm-arm/domain.h b/xen/include/asm-arm/domain.h
index 61a498f..f46b631 100644
--- a/xen/include/asm-arm/domain.h
+++ b/xen/include/asm-arm/domain.h
@@ -8,6 +8,7 @@
  #include <asm/p2m.h>
  #include <asm/vfp.h>
  #include <asm/mmio.h>
+#include <asm/gic.h>
  #include <public/hvm/params.h>
  #include <xen/serial.h>

@@ -261,8 +262,10 @@ struct arch_vcpu
      uint32_t csselr;
      register_t vmpidr;

-    uint32_t gic_hcr, gic_vmcr, gic_apr;
-    uint32_t gic_lr[64];
+    /* Holds gic context data */
+    union gic_state_data gic;
+    uint64_t event_mask;

Why do you add back this field? It has been dropped on upstream...


Julien Grall

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.