)]}'
{
  "commit": "8892b705f58e105b0b4ce3402afa1d1b803fb207",
  "tree": "2c39f76c735ce2e6bb9d1d24357bd1dc89396cca",
  "parents": [
    "4c2357f57dd5a3ecb4ce09f6a6cb394a1a8873b2"
  ],
  "author": {
    "name": "Douglas Anderson",
    "email": "dianders@chromium.org",
    "time": "Thu Oct 12 13:11:16 2017 -0700"
  },
  "committer": {
    "name": "Ulf Hansson",
    "email": "ulf.hansson@linaro.org",
    "time": "Mon Oct 30 12:14:52 2017 +0100"
  },
  "message": "mmc: dw_mmc: Add locking to the CTO timer\n\nThis attempts to instill a bit of paranoia to the code dealing with\nthe CTO timer.  It\u0027s believed that this will make the CTO timer more\nrobust in the case that we\u0027re having very long interrupt latencies.\n\nNote that I originally thought that perhaps this patch was being\noverly paranoid and wasn\u0027t really needed, but then while I was running\nmmc_test on an rk3399 board I saw one instance of the message:\n  dwmmc_rockchip fe320000.dwmmc: Unexpected interrupt latency\n\nI had debug prints in the CTO timer code and I found that it was\nrunning CMD 13 at the time.\n\n...so even though this patch seems like it might be overly paranoid,\nmaybe it really isn\u0027t?\n\nPresumably the bad interrupt latency experienced was due to the fact\nthat I had serial console enabled as serial console is typically where\nI place blame when I see absurdly large interrupt latencies.  In this\nparticular case there was an (unrelated) printout to the serial\nconsole just before I saw the \"Unexpected interrupt latency\" printout.\n\n...and actually, I managed to even reproduce the problems by running\n\"iw mlan0 scan \u003e /dev/null\" while mmc_test was running.  That not only\ndoes a bunch of PCIe traffic but it also (on my system) outputs some\nSELinux log spam.\n\nFixes: 03de19212ea3 (\"mmc: dw_mmc: introduce timer for broken command transfer over scheme\")\nTested-by: Emil Renner Berthing \u003ckernel@esmil.dk\u003e\nSigned-off-by: Douglas Anderson \u003cdianders@chromium.org\u003e\nSigned-off-by: Ulf Hansson \u003culf.hansson@linaro.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "16516c528a884c3618f8b6c9953815d8f5bc5932",
      "old_mode": 33188,
      "old_path": "drivers/mmc/host/dw_mmc.c",
      "new_id": "50148991f30e768877dd14325e2025a17c86861f",
      "new_mode": 33188,
      "new_path": "drivers/mmc/host/dw_mmc.c"
    }
  ]
}
