1. 17 8月, 2012 1 次提交
    • B
      scripts/decodecode: Fixup trapping instruction marker · 2a95e37c
      Borislav Petkov 提交于
      When dumping "Code: " sections from an oops, the trapping instruction
      %rip points to can be a string copy
      
        2b:*  f3 a5                   rep movsl %ds:(%rsi),%es:(%rdi)
      
      and the line contain a bunch of ":".  Current "cut" selects only the and
      the second field output looks funnily overlaid this:
      
        2b:*  f3 a5                   rep movsl %ds     <-- trapping instruction:(%rsi),%es:(%rdi
      
      Fix this by selecting the remaining fields too.
      
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: linux-kbuild@vger.kernel.org
      Signed-off-by: NBorislav Petkov <borislav.petkov@amd.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      2a95e37c
  2. 04 6月, 2010 1 次提交
  3. 02 2月, 2010 1 次提交
    • R
      scripts: add ARM support to decodecode · 5358db0b
      Rabin Vincent 提交于
      This patch adds support for decoding ARM oopses to scripts/decodecode.
      The following things are handled:
      
       - ARCH and CROSS_COMPILE environment variables are respected.
      
       - The Code: in x86 oopses is in bytes, while it is in either words (4
         bytes) or halfwords for ARM.
      
       - Some versions of ARM objdump refuse to disassemble instructions
         generated by literal constants (".word 0x...").  The workaround is to
         strip the object file first.
      
       - The faulting instruction is marked (liked so) in ARM, but <like so>
         in x86.
      
       - ARM mnemonics may include characters such as [] which need to be
         escaped before being passed to sed for the "<- trapping instruction"
         substitution.
      Signed-off-by: NRabin Vincent <rabin@rab.in>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      5358db0b
  4. 04 12月, 2008 1 次提交
  5. 31 5月, 2008 1 次提交
  6. 29 1月, 2008 1 次提交
  7. 17 7月, 2007 1 次提交