)]}'
{
  "commit": "5fec945105448b958b8418b7e5d043d630ec3155",
  "tree": "36c15f32c2622622ab10f0a2c512592b4ea7ef0f",
  "parents": [
    "65f6ae66a6fb44f614a1226c398fcb38e94b3c59"
  ],
  "author": {
    "name": "Alexander Gordeev",
    "email": "agordeev@redhat.com",
    "time": "Mon May 13 11:06:17 2013 +0200"
  },
  "committer": {
    "name": "Bjorn Helgaas",
    "email": "bhelgaas@google.com",
    "time": "Mon Jun 03 14:40:44 2013 -0600"
  },
  "message": "x86/MSI: Conserve interrupt resources when using multiple-MSIs\n\nCurrent multiple-MSI implementation does not take into account actual\nnumber of requested MSIs and always rounds that number to a larger\npower-of-two value.  Yet, the number of MSIs a PCI device could send (and\ntherefore the number of messages a device driver could request) may be\nsmaller.  As result, resources allocated for extra MSIs are just wasted.\n\nThis update takes advantage of \u0027msi_desc::nvec_used\u0027 field introduced with\ngeneric MSI code to track the number of requested and used MSIs.  As\nresult, resources associated with interrupts are conserved.  Of those\nresources most noticeable are x86 interrupt vectors.\n\nThe initial version of this fix also conserved IRTEs, but Jan noticed that\na malfunctioning PCI device might send a message number it did not claim\nand thus refer to an IRTE it does not own.  To avoid this security hole,\nas many IRTEs are reserved as the device could possibly send.\n\n[bhelgaas: changelog, rename to \"nvec_used\"]\nSigned-off-by: Alexander Gordeev \u003cagordeev@redhat.com\u003e\nSigned-off-by: Bjorn Helgaas \u003cbhelgaas@google.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "dcfea4e39be766810a327d0b402b7a539b71900c",
      "old_mode": 33188,
      "old_path": "drivers/iommu/irq_remapping.c",
      "new_id": "39f81aeefcd698f6389f0cf12799491be8e2867d",
      "new_mode": 33188,
      "new_path": "drivers/iommu/irq_remapping.c"
    }
  ]
}
