)]}'
{
  "commit": "30edc14bf39afde24ef7db2de66c91805db80828",
  "tree": "1cf5b6f28a3ea4159a09bcef9d11be6d427e3558",
  "parents": [
    "56299378726d5f2ba8d3c8cbbd13cb280ba45e4f"
  ],
  "author": {
    "name": "Konrad Rzeszutek Wilk",
    "email": "konrad.wilk@oracle.com",
    "time": "Tue Oct 13 17:22:20 2009 -0400"
  },
  "committer": {
    "name": "Konrad Rzeszutek Wilk",
    "email": "konrad.wilk@oracle.com",
    "time": "Tue Jul 19 20:58:01 2011 -0400"
  },
  "message": "xen/pciback: xen pci backend driver.\n\nThis is the host side counterpart to the frontend driver in\ndrivers/pci/xen-pcifront.c. The PV protocol is also implemented by\nfrontend drivers in other OSes too, such as the BSDs.\n\nThe PV protocol is rather simple. There is page shared with the guest,\nwhich has the \u0027struct xen_pci_sharedinfo\u0027 embossed in it. The backend\nhas a thread that is kicked every-time the structure is changed and\nbased on the operation field it performs specific tasks:\n\n XEN_PCI_OP_conf_[read|write]:\n   Read/Write 0xCF8/0xCFC filtered data. (conf_space*.c)\n   Based on which field is probed, we either enable/disable the PCI\n   device, change power state, read VPD, etc. The major goal of this\n   call is to provide a Physical IRQ (PIRQ) to the guest.\n\n   The PIRQ is Xen hypervisor global IRQ value irrespective of the IRQ\n   is tied in to the IO-APIC, or is a vector. For GSI type\n   interrupts, the PIRQ\u003d\u003dGSI holds. For MSI/MSI-X the\n   PIRQ value !\u003d Linux IRQ number (thought PIRQ\u003d\u003dvector).\n\n   Please note, that with Xen, all interrupts (except those level shared ones)\n   are injected directly to the guest - there is no host interaction.\n\n XEN_PCI_OP_[enable|disable]_msi[|x] (pciback_ops.c)\n   Enables/disables the MSI/MSI-X capability of the device. These operations\n   setup the MSI/MSI-X vectors for the guest and pass them to the frontend.\n\n   When the device is activated, the interrupts are directly injected in the\n   guest without involving the host.\n\n XEN_PCI_OP_aer_[detected|resume|mmio|slotreset]: In case of failure,\n  perform the appropriate AER commands on the guest. Right now that is\n  a cop-out - we just kill the guest.\n\nBesides implementing those commands, it can also\n\n - hide a PCI device from the host. When booting up, the user can specify\n   xen-pciback.hide\u003d(1:0:0)(BDF..) so that host does not try to use the\n   device.\n\nThe driver was lifted from linux-2.6.18.hg tree and fixed up\nso that it could compile under v3.0. Per suggestion from Jesse Barnes\nmoved the driver to drivers/xen/xen-pciback.\n\nSigned-off-by: Konrad Rzeszutek Wilk \u003ckonrad.wilk@oracle.com\u003e\nSigned-off-by: Jeremy Fitzhardinge \u003cjeremy.fitzhardinge@citrix.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a59638b37c1add565887e30feba7aebc7c3b54be",
      "old_mode": 33188,
      "old_path": "drivers/xen/Kconfig",
      "new_id": "8af0792dfd67b3dd15da26c5e4344e4663c95dcc",
      "new_mode": 33188,
      "new_path": "drivers/xen/Kconfig"
    },
    {
      "type": "modify",
      "old_id": "bbc18258ecc5419ec2210b83684afc528fecd0da",
      "old_mode": 33188,
      "old_path": "drivers/xen/Makefile",
      "new_id": "35a72ef3afaca8b01ed8837fcbdbc29ce94413c3",
      "new_mode": 33188,
      "new_path": "drivers/xen/Makefile"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "106dae748cdb62c0803340babb768fdb3666fe16",
      "new_mode": 33188,
      "new_path": "drivers/xen/xen-pciback/Makefile"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "370c18e58d7a61beaf3638598f7a4f115a232e5a",
      "new_mode": 33188,
      "new_path": "drivers/xen/xen-pciback/conf_space.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "50ebef216828f15612fddd4e48c70a23de5e0efc",
      "new_mode": 33188,
      "new_path": "drivers/xen/xen-pciback/conf_space.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0ea84d6335f46f6f38c542e8d7274725fa0bc6c4",
      "new_mode": 33188,
      "new_path": "drivers/xen/xen-pciback/conf_space_capability.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8da3ac415f297fda0f8b5f8d4f1d49161aeea2ab",
      "new_mode": 33188,
      "new_path": "drivers/xen/xen-pciback/conf_space_capability.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "78f74b1852d4bd85a65d599c7ef154ec347cbff7",
      "new_mode": 33188,
      "new_path": "drivers/xen/xen-pciback/conf_space_capability_msi.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "04426165a9e5d93ccb398fc1ecda784f9d725585",
      "new_mode": 33188,
      "new_path": "drivers/xen/xen-pciback/conf_space_capability_pm.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e7b4d662b53df3c9ec8648e745e6bde77b4122b4",
      "new_mode": 33188,
      "new_path": "drivers/xen/xen-pciback/conf_space_capability_vpd.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "3ae7da137f7e61358c0753da103a62979cc29cd9",
      "new_mode": 33188,
      "new_path": "drivers/xen/xen-pciback/conf_space_header.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "45c31fb391ec057a51195b73393288701870cf50",
      "new_mode": 33188,
      "new_path": "drivers/xen/xen-pciback/conf_space_quirks.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "acd0e1ae8fc5afe5d81bf7888e36bb4309d04c7d",
      "new_mode": 33188,
      "new_path": "drivers/xen/xen-pciback/conf_space_quirks.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "7f04f116daec9ed995d537e45da08ff541bb5a75",
      "new_mode": 33188,
      "new_path": "drivers/xen/xen-pciback/controller.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5386bebf7f9a22c6823b427952ca1a7c3b36b042",
      "new_mode": 33188,
      "new_path": "drivers/xen/xen-pciback/passthrough.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0b5a16b81c8cb18378749516b0f6553021575c1b",
      "new_mode": 33188,
      "new_path": "drivers/xen/xen-pciback/pci_stub.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "98e29127abf9cecd8d872b0af13b93460109e4af",
      "new_mode": 33188,
      "new_path": "drivers/xen/xen-pciback/pciback.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2b9a93e1fdeed689eb8c05d17405a7bb2b42507a",
      "new_mode": 33188,
      "new_path": "drivers/xen/xen-pciback/pciback_ops.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "efb922d6f78e1401aaa60277ee5e5cee45905b15",
      "new_mode": 33188,
      "new_path": "drivers/xen/xen-pciback/slot.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2857ab892f020209eb4975b8a1993f975bcc158c",
      "new_mode": 33188,
      "new_path": "drivers/xen/xen-pciback/vpci.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "af6c25a1d7298e3a4fe44864cd58153f211e1335",
      "new_mode": 33188,
      "new_path": "drivers/xen/xen-pciback/xenbus.c"
    }
  ]
}
