)]}'
{
  "log": [
    {
      "commit": "18ff44b189e2a9becb2047a790578b90aef56349",
      "tree": "063e746ba13086b2a154dea0192a9bc15a362ecd",
      "parents": [
        "0c0de199ce1fef20c86679194e31133da21c3c2a"
      ],
      "author": {
        "name": "Borislav Petkov",
        "email": "bp@suse.de",
        "time": "Mon Apr 29 15:05:54 2013 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Mon Apr 29 15:54:27 2013 -0700"
      },
      "message": "scripts/decodecode: make faulting insn ptr more robust\n\nIt can accidentally happen that the faulting insn (the exact instruction\nbytes) is repeated a little further on in the trace.  This causes that\nsame instruction to be tagged twice, see example below.\n\nWhat we want to do, however, is to track back from the end of the whole\ndisassembly so many lines as the slice which starts with the faulting\ninstruction is long.  This leads us to the actual faulting instruction\nand *then* we tag it.\n\nWhile we\u0027re at it, we can drop the sed \"g\" flag because we address only\nthis one line.\n\nAlso, if we point to an instruction which changes decoding depending on\nthe slice being objdumped, like a Jcc insn, for example, we do not even\ntag it as a faulting instruction because the instruction decode changes\nin the second slice but we use that second format as a regex on the\nfsrst disassembled buffer and more often than not that instruction\ndoesn\u0027t match.\n\nAgain, simply tag the line which is deduced from the original \"\u003c\u003e\"\nmarking we\u0027ve received from the kernel.\n\nThis also solves the pathologic issue of multiple tagging like this:\n\n  29:*  0f 0b                   ud2         \u003c-- trapping instruction\n  2b:*  0f 0b                   ud2         \u003c-- trapping instruction\n  2d:*  0f 0b                   ud2         \u003c-- trapping instruction\n\nDouble tagging example:\n\nCode: 34 dd 40 30 ad 81 48 c7 c0 80 f6 00 00 48 8b 3c 30 48 01 c6 b8 ff ff ff ff 48 8d 57 f0 48 39 f7 74 2f 49 8b 4c 24 08 48 8b 47 f0 \u003c48\u003e 39 48 08 75 0e eb 2a 66 90 48 8b 40 f0 48 39 48 08 74 1e 48\nAll code\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n   0:   34 dd                   xor    $0xdd,%al\n   2:   40 30 ad 81 48 c7 c0    xor    %bpl,-0x3f38b77f(%rbp)\n   9:   80 f6 00                xor    $0x0,%dh\n   c:   00 48 8b                add    %cl,-0x75(%rax)\n   f:   3c 30                   cmp    $0x30,%al\n  11:   48 01 c6                add    %rax,%rsi\n  14:   b8 ff ff ff ff          mov    $0xffffffff,%eax\n  19:   48 8d 57 f0             lea    -0x10(%rdi),%rdx\n  1d:   48 39 f7                cmp    %rsi,%rdi\n  20:   74 2f                   je     0x51\n  22:   49 8b 4c 24 08          mov    0x8(%r12),%rcx\n  27:   48 8b 47 f0             mov    -0x10(%rdi),%rax\n  2b:*  48 39 48 08             cmp    %rcx,0x8(%rax)     \u003c-- trapping instruction\n  2f:   75 0e                   jne    0x3f\n  31:   eb 2a                   jmp    0x5d\n  33:   66 90                   xchg   %ax,%ax\n  35:   48 8b 40 f0             mov    -0x10(%rax),%rax\n  39:*  48 39 48 08             cmp    %rcx,0x8(%rax)     \u003c-- trapping instruction\n  3d:   74 1e                   je     0x5d\n  3f:   48                      rex.W\n\nSigned-off-by: Borislav Petkov \u003cbp@suse.de\u003e\nCc: \"H. Peter Anvin\" \u003chpa@zytor.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "2a95e37c128d1c12b3cb0eb6dfdc1739a7104cd8",
      "tree": "ef7c12b15069ae6840a797aa66c0337cfb246921",
      "parents": [
        "2b014fcc7d99d31c3693a7e50d7dcb8b4ddc9cee"
      ],
      "author": {
        "name": "Borislav Petkov",
        "email": "borislav.petkov@amd.com",
        "time": "Wed Aug 15 13:00:51 2012 +0200"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Thu Aug 16 11:15:09 2012 -0700"
      },
      "message": "scripts/decodecode: Fixup trapping instruction marker\n\nWhen dumping \"Code: \" sections from an oops, the trapping instruction\n%rip points to can be a string copy\n\n  2b:*  f3 a5                   rep movsl %ds:(%rsi),%es:(%rdi)\n\nand the line contain a bunch of \":\".  Current \"cut\" selects only the and\nthe second field output looks funnily overlaid this:\n\n  2b:*  f3 a5                   rep movsl %ds     \u003c-- trapping instruction:(%rsi),%es:(%rdi\n\nFix this by selecting the remaining fields too.\n\nCc: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nCc: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\nCc: linux-kbuild@vger.kernel.org\nSigned-off-by: Borislav Petkov \u003cborislav.petkov@amd.com\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "b396aa03084b51f6822052a8070703287f198360",
      "tree": "6e7f018bb8aabcbab90a854e4da49fdff00db97b",
      "parents": [
        "c8447161470d0292cc96b4f28f03a8eedb7806e9"
      ],
      "author": {
        "name": "Rabin Vincent",
        "email": "rabin@rab.in",
        "time": "Thu Jun 03 22:48:12 2010 +0530"
      },
      "committer": {
        "name": "Michal Marek",
        "email": "mmarek@suse.cz",
        "time": "Fri Jun 04 10:26:35 2010 +0200"
      },
      "message": "scripts: decodecode: remove bashisms\n\nRemove bashisms to make scripts/decodecode work with other shells.\n\nSigned-off-by: Rabin Vincent \u003crabin@rab.in\u003e\nReviewed-by: WANG Cong \u003cxiyou.wangcong@gmail.com\u003e\nSigned-off-by: Michal Marek \u003cmmarek@suse.cz\u003e\n"
    },
    {
      "commit": "5358db0b0e16470337c6ec08177deb3f68ed7673",
      "tree": "02eb5cb3a1d93b80b5db7ab2338822b272f84a84",
      "parents": [
        "84336466011c589b6af554f2f2f1fcfa1a5c1437"
      ],
      "author": {
        "name": "Rabin Vincent",
        "email": "rabin@rab.in",
        "time": "Tue Jan 05 20:27:58 2010 +0530"
      },
      "committer": {
        "name": "Michal Marek",
        "email": "mmarek@suse.cz",
        "time": "Tue Feb 02 14:33:54 2010 +0100"
      },
      "message": "scripts: add ARM support to decodecode\n\nThis patch adds support for decoding ARM oopses to scripts/decodecode.\nThe following things are handled:\n\n - ARCH and CROSS_COMPILE environment variables are respected.\n\n - The Code: in x86 oopses is in bytes, while it is in either words (4\n   bytes) or halfwords for ARM.\n\n - Some versions of ARM objdump refuse to disassemble instructions\n   generated by literal constants (\".word 0x...\").  The workaround is to\n   strip the object file first.\n\n - The faulting instruction is marked (liked so) in ARM, but \u003clike so\u003e\n   in x86.\n\n - ARM mnemonics may include characters such as [] which need to be\n   escaped before being passed to sed for the \"\u003c- trapping instruction\"\n   substitution.\n\nSigned-off-by: Rabin Vincent \u003crabin@rab.in\u003e\nSigned-off-by: Michal Marek \u003cmmarek@suse.cz\u003e\n"
    },
    {
      "commit": "846442c8ddc02e378e7b981f0928449ed1ff1e1f",
      "tree": "83702fac4a39ecc8182557e771ca96dab83f6a1f",
      "parents": [
        "c39dd50240b97bfe4fcc49b41e1fe56675afcb94"
      ],
      "author": {
        "name": "Arjan van de Ven",
        "email": "arjan@linux.intel.com",
        "time": "Mon Dec 01 14:21:06 2008 -0800"
      },
      "committer": {
        "name": "Sam Ravnborg",
        "email": "sam@ravnborg.org",
        "time": "Wed Dec 03 22:36:39 2008 +0100"
      },
      "message": "scripts: improve the decodecode script\n\nkerneloops.org has been using an improved \"decodecode\" script,\nspecifically it has a special marker that shows which line in the assembly\nthe oops happened at, like this:\n\n  20:\t83 e0 03             \tand    $0x3,%eax\n  23:\t09 d8                \tor     %ebx,%eax\n  25:\t85 db                \ttest   %ebx,%ebx\n  27:\t89 02                \tmov    %eax,(%edx)\n  29:\t74 0f                \tje     0x3a\n  2b:*\t3b 73 04             \tcmp    0x4(%ebx),%esi     \u003c-- trapping instruction\n  2e:\t75 05                \tjne    0x35\n  30:\t89 53 04             \tmov    %edx,0x4(%ebx)\n  33:\teb 07                \tjmp    0x3c\n  35:\t89 53 08             \tmov    %edx,0x8(%ebx)\n\nthis patch updates the kernel copy to also have this functionality.\n\nSigned-off-by: Arjan van de Ven \u003carjan@linux.intel.com\u003e\nReviewed-by: WANG Cong \u003cwangcong@zeuux.org\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Sam Ravnborg \u003csam@ravnborg.org\u003e\n"
    },
    {
      "commit": "14d03fd98e076c6e60e1085a962410dc4d70ab59",
      "tree": "d4577b585ee234bf2d057254deaddafb86730da5",
      "parents": [
        "ab8cd81830fef799177740d5ab709c0341e9ba5c"
      ],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Fri May 30 14:02:21 2008 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Fri May 30 14:02:21 2008 -0700"
      },
      "message": "Mark \u0027scripts/decodecode\u0027 executable\n\n.. because it is.\n\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "fa220d89ad050cf5d970c0418ded019a80efedfb",
      "tree": "6148ecb571839fbc253582f86d4c7f9161b1e7d7",
      "parents": [
        "80daa56008dad44f08d0b47670cf2513aa98ab53"
      ],
      "author": {
        "name": "Randy Dunlap",
        "email": "randy.dunlap@oracle.com",
        "time": "Mon Jan 14 15:18:31 2008 -0800"
      },
      "committer": {
        "name": "Sam Ravnborg",
        "email": "sam@ravnborg.org",
        "time": "Mon Jan 28 23:14:40 2008 +0100"
      },
      "message": "kbuild: minor scripts/decodecode update\n\nRemove the tmp file when exiting.  Noticed by Arjan van de Ven.\nCatch mktemp failure and exit with message.\nTrap kill or other signals and exit cleanly.\n\nSigned-off-by: Randy Dunlap \u003crandy.dunlap@oracle.com\u003e\nSigned-off-by: Sam Ravnborg \u003csam@ravnborg.org\u003e\n"
    },
    {
      "commit": "dcecc6c70013e3a5fa81b3081480c03e10670a23",
      "tree": "a45c6a35538004732ea4ce130f9fa5db5f8a1bf6",
      "parents": [
        "213dd266d48af90c1eec8688c1ff31aa34d21de2"
      ],
      "author": {
        "name": "Randy Dunlap",
        "email": "randy.dunlap@oracle.com",
        "time": "Sun Jul 15 23:41:15 2007 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@woody.linux-foundation.org",
        "time": "Mon Jul 16 09:05:48 2007 -0700"
      },
      "message": "doc/oops-tracing: add Code: decode info\n\nAdd info that the Code: bytes line contains \u003cxy\u003e or (wxyz) in some\narchitecture oops reports and what that means.\n\nAdd a script by Andi Kleen that reads the Code: line from an Oops report\nfile and generates assembly code from the hex bytes.\n\nSigned-off-by: Randy Dunlap \u003crandy.dunlap@oracle.com\u003e\nCc: Andi Kleen \u003cak@suse.de\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    }
  ]
}
