xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Remaining ARM cross compile patches
@ 2013-04-26 10:58 Ian Campbell
  2013-04-26 10:58 ` [PATCH 1/2] xen: arm: correct platform detection in public header Ian Campbell
  2013-04-26 10:58 ` [PATCH 2/2] xen: arm: drop LDFLAGS_DIRECT emulation specification Ian Campbell
  0 siblings, 2 replies; 8+ messages in thread
From: Ian Campbell @ 2013-04-26 10:58 UTC (permalink / raw)
  To: xen-devel; +Cc: Julien Grall, Stefano Stabellini, Tim Deegan

One of these got missed somehow when I put the xenctx series together.
The other is new and fixes cross compiling the arm64 hypervisor in the
environment described at
http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/CrossCompiling

There is one remaining wrinkle which is this libc bug:
https://bugs.launchpad.net/linaro-aarch64/+bug/1169164

Which can be worked around with:
diff --git a/xen/include/public/arch-arm.h b/xen/include/public/arch-arm.h
index 2f5ce18..d1753d8 100644
--- a/xen/include/public/arch-arm.h
+++ b/xen/include/public/arch-arm.h
@@ -219,6 +219,16 @@ typedef uint64_t xen_callback_t;
 
 /* 64 bit modes */
 #ifdef __aarch64__
+
+#undef PSR_MODE_BIT
+#undef PSR_MODE_EL3h
+#undef PSR_MODE_EL3t
+#undef PSR_MODE_EL2h
+#undef PSR_MODE_EL2t
+#undef PSR_MODE_EL1h
+#undef PSR_MODE_EL1t
+#undef PSR_MODE_EL0t
+
 #define PSR_MODE_BIT  0x10 /* Set iff AArch32 */
 #define PSR_MODE_EL3h 0x0d
 #define PSR_MODE_EL3t 0x0c


Ian

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-07-19 14:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-26 10:58 [PATCH 0/2] Remaining ARM cross compile patches Ian Campbell
2013-04-26 10:58 ` [PATCH 1/2] xen: arm: correct platform detection in public header Ian Campbell
2013-04-26 16:33   ` Stefano Stabellini
2013-04-30 10:59     ` Ian Campbell
2013-04-26 10:58 ` [PATCH 2/2] xen: arm: drop LDFLAGS_DIRECT emulation specification Ian Campbell
2013-07-18 12:14   ` Ian Campbell
2013-07-18 17:09     ` Tim Deegan
2013-07-19 14:16       ` Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).