)]}'
{
  "commit": "a221c36e8348583f3463476459d794f6cd9de05f",
  "tree": "0dd6f60a073e1a5b806e545795065104deda6f73",
  "parents": [
    "669f2cf7e02b78fc11caae036cc3994cfa51d0c3"
  ],
  "author": {
    "name": "Kuppuswamy Sathyanarayanan",
    "email": "sathyanarayanan.kuppuswamy@linux.intel.com",
    "time": "Sat Nov 21 05:24:39 2020 +0000"
  },
  "committer": {
    "name": "Jianxiong Gao",
    "email": "jxgao@google.com",
    "time": "Wed May 17 23:05:11 2023 +0000"
  },
  "message": "x86/tdx: Add TDX Guest event notify interrupt support\n\nHost-guest event notification via configured interrupt vector is useful\nin cases where a guest makes an asynchronous request and needs a\ncallback from the host to indicate the completion or to let the host\nnotify the guest about events like device removal. One usage example is,\ncallback requirement of GetQuote asynchronous hypercall.\n\nIn TDX guest, SetupEventNotifyInterrupt hypercall can be used by the\nguest to specify which interrupt vector to use as an event-notify\nvector from the VMM. Details about the SetupEventNotifyInterrupt\nhypercall can be found in TDX Guest-Host Communication Interface\n(GHCI) Specification, section \"VP.VMCALL\u003cSetupEventNotifyInterrupt\u003e\".\n\nAs per design, VMM will post the event completion IRQ using the same\nCPU on which SetupEventNotifyInterrupt hypercall request is received.\nSo allocate an IRQ vector from \"x86_vector_domain\", and set the CPU\naffinity of the IRQ vector to the CPU on which\nSetupEventNotifyInterrupt hypercall is made.\n\nAdd tdx_register_event_irq_cb()/tdx_unregister_event_irq_cb()\ninterfaces to allow drivers to register/unregister event notification\nhandlers.\n\nReviewed-by: Tony Luck \u003ctony.luck@intel.com\u003e\nReviewed-by: Andi Kleen \u003cak@linux.intel.com\u003e\nReviewed-by: Mika Westerberg \u003cmika.westerberg@linux.intel.com\u003e\nReviewed-by: Erdem Aktas \u003cerdemaktas@google.com\u003e\nAcked-by: Kirill A. Shutemov \u003ckirill.shutemov@linux.intel.com\u003e\nAcked-by: Wander Lairson Costa \u003cwander@redhat.com\u003e\nSigned-off-by: Kuppuswamy Sathyanarayanan \u003csathyanarayanan.kuppuswamy@linux.intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5d32afe6bb908c46c27edabb27a3ff2603345c49",
      "old_mode": 33188,
      "old_path": "arch/x86/coco/tdx/tdx.c",
      "new_id": "461bd85627e487382073ce1ab102d9c77e8e0ff2",
      "new_mode": 33188,
      "new_path": "arch/x86/coco/tdx/tdx.c"
    },
    {
      "type": "modify",
      "old_id": "acb768158c33c92c19962fb2eb44c58f4e855961",
      "old_mode": 33188,
      "old_path": "arch/x86/include/asm/tdx.h",
      "new_id": "93c47c15ac6ecec9ad6b42a019e334e9a71eb417",
      "new_mode": 33188,
      "new_path": "arch/x86/include/asm/tdx.h"
    }
  ]
}
