)]}'
{
  "commit": "ff8a8f25976aa58bbae7883405b00dcbaf4cc823",
  "tree": "7add339fe063a30b23e52d523ecb310e796966cf",
  "parents": [
    "302eca184fb844670fb128c69e22a8a28bbce48a"
  ],
  "author": {
    "name": "Michael Ellerman",
    "email": "michael@ellerman.id.au",
    "time": "Tue Oct 24 18:31:27 2006 +0200"
  },
  "committer": {
    "name": "Paul Mackerras",
    "email": "paulus@samba.org",
    "time": "Wed Oct 25 14:20:22 2006 +1000"
  },
  "message": "[POWERPC] add support for stopping spus from xmon\n\nThis patch adds support for stopping, and restarting, spus\nfrom xmon. We use the spu master runcntl bit to stop execution,\nthis is apparently the \"right\" way to control spu execution and\nspufs will be changed in the future to use this bit.\n\nTesting has shown that to restart execution we have to turn the\nmaster runcntl bit on and also rewrite the spu runcntl bit, even\nif it is already set to 1 (running).\n\nStopping spus is triggered by the xmon command \u0027ss\u0027 - \"spus stop\"\nperhaps. Restarting them is triggered via \u0027sr\u0027. Restart doesn\u0027t\nstart execution on spus unless they were running prior to being\nstopped by xmon.\n\nWalking the spu-\u003efull_list in xmon after a panic, would mean\ncorruption of any spu struct would make all the others\ninaccessible. To avoid this, and also to make the next patch\neasier, we cache pointers to all spus during boot.\n\nWe attempt to catch and recover from errors while stopping and\nrestarting the spus, but as with most xmon functionality there are\nno guarantees that performing these operations won\u0027t crash xmon\nitself.\n\nSigned-off-by: Michael Ellerman \u003cmichael@ellerman.id.au\u003e\nSigned-off-by: Arnd Bergmann \u003carnd.bergmann@de.ibm.com\u003e\nSigned-off-by: Paul Mackerras \u003cpaulus@samba.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b75b091098efc4b2739a23e443421e8e81cd99b4",
      "old_mode": 33188,
      "old_path": "arch/powerpc/platforms/cell/spu_base.c",
      "new_id": "032bc923342ae795ad25e85c3453e89b300638c4",
      "new_mode": 33188,
      "new_path": "arch/powerpc/platforms/cell/spu_base.c"
    },
    {
      "type": "modify",
      "old_id": "f56ffef4defa7f0b3724fea942afda436008d3a8",
      "old_mode": 33188,
      "old_path": "arch/powerpc/xmon/xmon.c",
      "new_id": "6a2ed8b319f04edda1837fd3f5d59bb3c324b3a0",
      "new_mode": 33188,
      "new_path": "arch/powerpc/xmon/xmon.c"
    },
    {
      "type": "modify",
      "old_id": "f1d337ed68d5bfdaf16ee9eaf6823ffa2ead81d7",
      "old_mode": 33188,
      "old_path": "include/asm-powerpc/xmon.h",
      "new_id": "88320a05f0a8738615bc8ea62c5cc606edf9ff15",
      "new_mode": 33188,
      "new_path": "include/asm-powerpc/xmon.h"
    }
  ]
}
