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

[Xen-changelog] [xen master] xen/arm: Correct the opcode for BUG_INSTR on arm32



commit a4338f903185cd53eacb161394c56b768a6f9f2a
Author:     Julien Grall <julien.grall@xxxxxxxxxx>
AuthorDate: Thu Dec 4 19:26:55 2014 +0000
Commit:     Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Tue Dec 9 14:28:15 2014 +0000

    xen/arm: Correct the opcode for BUG_INSTR on arm32
    
    A 0 was forgotten when the arm32 BUG instruction opcode has been added in 
commit
    3e802c6ca1fb9a9549258c2855a57cad483f3cbd "xen/arm: Correctly support 
WARN_ON".
    
    This will result to use a valid instruction (mcreq 0, 3, r0, cr15, cr0, 
{7}),
    and inhibit usage of BUG/WARN_ON and co.
    
    Signed-off-by: Julien Grall <julien.grall@xxxxxxxxxx>
    Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 xen/include/asm-arm/arm32/bug.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/xen/include/asm-arm/arm32/bug.h b/xen/include/asm-arm/arm32/bug.h
index 155b420..3e66f35 100644
--- a/xen/include/asm-arm/arm32/bug.h
+++ b/xen/include/asm-arm/arm32/bug.h
@@ -6,7 +6,7 @@
 /* ARMv7 provides a list of undefined opcode (see A8.8.247 DDI 0406C.b)
  * Use one them encoding A1 to go in exception mode
  */
-#define BUG_OPCODE  0xe7f00f0
+#define BUG_OPCODE  0xe7f000f0
 
 #define BUG_INSTR ".word " __stringify(BUG_OPCODE)
 
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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