[linux-yocto] [PATCH 18/48] drivers/misc: Update the Axxia Fault Handler

Daniel Dragomir daniel.dragomir at windriver.com
Mon Dec 11 05:13:48 PST 2017


From: John Jacques <john.jacques at intel.com>

Mask exceptions by default on 5500.  Exceptions are
not masked by default on 5600 or 6700.

Signed-off-by: John Jacques <john.jacques at intel.com>
---
 drivers/misc/axxia-fault.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/misc/axxia-fault.c b/drivers/misc/axxia-fault.c
index 341fe15..4927824 100644
--- a/drivers/misc/axxia-fault.c
+++ b/drivers/misc/axxia-fault.c
@@ -157,6 +157,7 @@ axxia_fault_init(void)
 #if defined(ARM)
 	if (of_find_compatible_node(NULL, NULL, "lsi,axm5500") ||
 	    of_find_compatible_node(NULL, NULL, "lsi,axm5516")) {
+		mask_aborts = 1;
 		hook_fault_code(0x11, axxia_x7_fault, SIGBUS, 0,
 				"asynchronous external abort");
 		pr_debug("Set up fault handler for Axxia 5500\n");
-- 
2.7.4



More information about the linux-yocto mailing list