)]}'
{
  "commit": "f2ccfbe47112074bcaeeb11e61f9b51f354f33d9",
  "tree": "925dae4fb48c5edc2a8d8943c12adbef0fb77b0d",
  "parents": [
    "93aff32d53fd3d1377414855f7275cab16fbb31e"
  ],
  "author": {
    "name": "Tom Lendacky",
    "email": "thomas.lendacky@amd.com",
    "time": "Tue Jul 03 12:11:33 2018 -0500"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Fri Aug 17 21:03:48 2018 +0200"
  },
  "message": "crypto: ccp - Fix command completion detection race\n\ncommit f426d2b20f1cd63818873593031593e15c3db20b upstream.\n\nThe wait_event() function is used to detect command completion.  The\ninterrupt handler will set the wait condition variable when the interrupt\nis triggered.  However, the variable used for wait_event() is initialized\nafter the command has been submitted, which can create a race condition\nwith the interrupt handler and result in the wait_event() never returning.\nMove the initialization of the wait condition variable to just before\ncommand submission.\n\nFixes: 200664d5237f (\"crypto: ccp: Add Secure Encrypted Virtualization (SEV) command support\")\nCc: \u003cstable@vger.kernel.org\u003e # 4.16.x-\nSigned-off-by: Tom Lendacky \u003cthomas.lendacky@amd.com\u003e\nReviewed-by: Brijesh Singh \u003cbrijesh.singh@amd.com\u003e\nAcked-by: Gary R Hook \u003cgary.hook@amd.com\u003e\nAcked-by: Gary R Hook \u003cgary.hook@amd.com\u003e\nSigned-off-by: Herbert Xu \u003cherbert@gondor.apana.org.au\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "603db3d45b1a63464302853d3f8c67cf129912be",
      "old_mode": 33188,
      "old_path": "drivers/crypto/ccp/psp-dev.c",
      "new_id": "051b8c6bae647aaf5bee6e26d4ea10cc0e388767",
      "new_mode": 33188,
      "new_path": "drivers/crypto/ccp/psp-dev.c"
    }
  ]
}
