)]}'
{
  "commit": "84532a0fc3d5811dca8e3726fe4d372ea87bd7c6",
  "tree": "f76d521d22d662dd1dccf22fd42ee57c71446e4f",
  "parents": [
    "cd86a536c81e9300d984327517548ca0652eebf9"
  ],
  "author": {
    "name": "Benjamin Herrenschmidt",
    "email": "benh@kernel.crashing.org",
    "time": "Wed May 27 13:33:14 2009 +1000"
  },
  "committer": {
    "name": "Benjamin Herrenschmidt",
    "email": "benh@kernel.crashing.org",
    "time": "Wed May 27 13:33:14 2009 +1000"
  },
  "message": "Revert \"powerpc: Rework dma-noncoherent to use generic vmalloc layer\"\n\nThis reverts commit 33f00dcedb0e22cdb156a23632814fc580fcfcf8.\n\n    While it was a good idea to try to use the mm/vmalloc.c allocator instead\n    of our own (in fact, ours is itself a dup on an old variant of the vmalloc\n    one), unfortunately, the approach is terminally busted since\n    dma_alloc_coherent() can be called at interrupt time or in atomic contexts\n    and there\u0027s little chances we\u0027ll make the code in mm/vmalloc.c cope with\\       that :-(\n\n    Until we can get the generic code to forbid that idiocy and fix all\n    drivers abusing it, we pretty much have no choice but revert to\n    our custom virtual space allocator.\n\n    There\u0027s also a problem with SMP safety since freeing such mapping\n    would require an IPI which cannot be done at interrupt time.\n\n    However, right now, I don\u0027t think we support any platform that is\n    both SMP and has non-coherent DMA (don\u0027t laugh, I know such things\n    do exist !) so we can sort that out later.\n\n    Signed-off-by: Benjamin Herrenschmidt \u003cbenh@kernel.crashing.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a0d1146a057851096e00c52dd092128709d99554",
      "old_mode": 33188,
      "old_path": "arch/powerpc/Kconfig",
      "new_id": "3bb43adce44dc3c907d63de44660ba8cc4fb6531",
      "new_mode": 33188,
      "new_path": "arch/powerpc/Kconfig"
    },
    {
      "type": "modify",
      "old_id": "005a28d380af9c94528437d7f6c0940c08085744",
      "old_mode": 33188,
      "old_path": "arch/powerpc/lib/dma-noncoherent.c",
      "new_id": "b7dc4c19f58211641d2bb1db44dea62315a3d641",
      "new_mode": 33188,
      "new_path": "arch/powerpc/lib/dma-noncoherent.c"
    }
  ]
}
