)]}'
{
  "commit": "66a96d7018b9cbabb73c9b87b62a37e4cc46580a",
  "tree": "9f6dbc0b663c0d83a4252d6732e5df4f628a5c90",
  "parents": [
    "5f37ef92b7690423ac6311d3c597e182fc5f8fe6"
  ],
  "author": {
    "name": "Peter Maydell",
    "email": "peter.maydell@linaro.org",
    "time": "Fri Apr 19 11:15:19 2013 +0100"
  },
  "committer": {
    "name": "Peter Maydell",
    "email": "peter.maydell@linaro.org",
    "time": "Fri Apr 19 11:15:19 2013 +0100"
  },
  "message": "versatile_pci: Implement the correct PCI IRQ mapping\n\nImplement the correct IRQ mapping for the Versatile PCI controller; it\ndiffers between realview and versatile boards, but the previous QEMU\nimplementation was correct only for the first PCI card on a versatile\nboard, since we weren\u0027t swizzling IRQs based on the slot number.\n\nSince this change would otherwise break any uses of PCI on Linux kernels\nwhich have an equivalent bug (since they have effectively only been\ntested against QEMU, not real hardware), we implement a mechanism\nfor automatically detecting those broken kernels and switching back\nto the old mapping. This works by looking at the values the kernel\nwrites to the PCI_INTERRUPT_LINE register in the config space, which\nis effectively the interrupt number the kernel expects the device\nto be using.\n\nSigned-off-by: Peter Maydell \u003cpeter.maydell@linaro.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8f8612c126b300135d62b420f5576f9ebaaef869",
      "old_mode": 33188,
      "old_path": "hw/pci-host/versatile.c",
      "new_id": "5d543a94d2ee0ee3115a4f54d6f8f1a4c06cd81a",
      "new_mode": 33188,
      "new_path": "hw/pci-host/versatile.c"
    }
  ]
}
