)]}'
{
  "commit": "456ca7ff24841bf2d2a2dfd690fe7d42ef70d932",
  "tree": "979edc05aadcf59f7f9896ceb4d03b6586f3f19b",
  "parents": [
    "78724b8ef83fc2bcfbc0a72a7ad8a3ce5ad25e6a"
  ],
  "author": {
    "name": "Jason Wessel",
    "email": "jason.wessel@windriver.com",
    "time": "Thu Mar 29 06:55:44 2012 -0500"
  },
  "committer": {
    "name": "Jason Wessel",
    "email": "jason.wessel@windriver.com",
    "time": "Thu Mar 29 17:41:24 2012 -0500"
  },
  "message": "kgdbts: Fix kernel oops with CONFIG_DEBUG_RODATA\n\nOn x86 the kgdb test suite will oops when the kernel is compiled with\nCONFIG_DEBUG_RODATA and you run the tests after boot time. This is\nregression has existed since 2.6.26 by commit: b33cb815 (kgdbts: Use\nHW breakpoints with CONFIG_DEBUG_RODATA).\n\nThe test suite can use hw breakpoints for all the tests, but it has to\nexecute the hardware breakpoint specific tests first in order to\ndetermine that the hw breakpoints actually work.  Specifically the\nvery first test causes an oops:\n\n# echo V1I1 \u003e /sys/module/kgdbts/parameters/kgdbts\nkgdb: Registered I/O driver kgdbts.\nkgdbts:RUN plant and detach test\n\nEntering kdb (current\u003d0xffff880017aa9320, pid 1078) on processor 0 due to Keyboard Entry\n[0]kdb\u003e kgdbts: ERROR PUT: end of test buffer on \u0027plant_and_detach_test\u0027 line 1 expected OK got $E14#aa\nWARNING: at drivers/misc/kgdbts.c:730 run_simple_test+0x151/0x2c0()\n[...oops clipped...]\n\nThis commit re-orders the running of the tests and puts the RODATA\ncheck into its own function so as to correctly avoid the kernel oops\nby detecting and using the hw breakpoints.\n\nCc: \u003cstable@vger.kernel.org\u003e # \u003e\u003d 2.6.26\nSigned-off-by: Jason Wessel \u003cjason.wessel@windriver.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3f7ad83ed740bc0f008ca50ec8efdc125369d644",
      "old_mode": 33188,
      "old_path": "drivers/misc/kgdbts.c",
      "new_id": "997e94d618ba1efcfa012d1089c732c05237ab0b",
      "new_mode": 33188,
      "new_path": "drivers/misc/kgdbts.c"
    }
  ]
}
