All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xen: arm: take FIQ exceptoons to Xen not guest by setting HCR_EL2.FMO
@ 2014-06-16 10:48 Ian Campbell
  2014-06-16 11:22 ` Stefano Stabellini
  2014-06-16 11:25 ` Julien Grall
  0 siblings, 2 replies; 7+ messages in thread
From: Ian Campbell @ 2014-06-16 10:48 UTC (permalink / raw)
  To: xen-devel; +Cc: julien.grall, tim, Ian Campbell, stefano.stabellini

So far none of the platforms which we support use FIQ for anything, but when we
end up supporting one it would be far better to surprise Xen with them than
whatever guest happens to be running...

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
 xen/arch/arm/traps.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/xen/arch/arm/traps.c b/xen/arch/arm/traps.c
index 333d5c0..88292a5 100644
--- a/xen/arch/arm/traps.c
+++ b/xen/arch/arm/traps.c
@@ -89,8 +89,8 @@ void __cpuinit init_traps(void)
                  CPTR_EL2);
 
     /* Setup hypervisor traps */
-    WRITE_SYSREG(HCR_PTW|HCR_BSU_INNER|HCR_AMO|HCR_IMO|HCR_VM|HCR_TWI|HCR_TSC|
-                 HCR_TAC|HCR_SWIO|HCR_TIDCP, HCR_EL2);
+    WRITE_SYSREG(HCR_PTW|HCR_BSU_INNER|HCR_AMO|HCR_IMO|HCR_FMO|HCR_VM|
+                 HCR_TWI|HCR_TSC|HCR_TAC|HCR_SWIO|HCR_TIDCP, HCR_EL2);
     isb();
 }
 
-- 
1.7.10.4

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

end of thread, other threads:[~2014-06-16 11:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-16 10:48 [PATCH] xen: arm: take FIQ exceptoons to Xen not guest by setting HCR_EL2.FMO Ian Campbell
2014-06-16 11:22 ` Stefano Stabellini
2014-06-16 11:26   ` Ian Campbell
2014-06-16 11:25 ` Julien Grall
2014-06-16 11:28   ` Ian Campbell
2014-06-16 11:36     ` Julien Grall
2014-06-16 11:42       ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.