)]}'
{
  "commit": "cab928ee1f221c9cc48d6615070fefe2e444384a",
  "tree": "80922aa70a57cf99fb94df909beacfe56e6f2c0e",
  "parents": [
    "b9e44fe5ecda4158c22bc1ea4bffa378a4f83f65"
  ],
  "author": {
    "name": "Sarah Sharp",
    "email": "sarah.a.sharp@linux.intel.com",
    "time": "Tue Feb 07 15:11:46 2012 -0800"
  },
  "committer": {
    "name": "Sarah Sharp",
    "email": "sarah.a.sharp@linux.intel.com",
    "time": "Tue Feb 21 15:45:08 2012 -0800"
  },
  "message": "USB: Fix handoff when BIOS disables host PCI device.\n\nOn some systems with an Intel Panther Point xHCI host controller, the\nBIOS disables the xHCI PCI device during boot, and switches the xHCI\nports over to EHCI.  This allows the BIOS to access USB devices without\nhaving xHCI support.\n\nThe downside is that the xHCI BIOS handoff mechanism will fail because\nmemory mapped I/O is not enabled for the disabled PCI device.\nJesse Barnes says this is expected behavior.  The PCI core will enable\nBARs before quirks run, but it will leave it in an undefined state, and\nit may not have memory mapped I/O enabled.\n\nMake the generic USB quirk handler call pci_enable_device() to re-enable\nMMIO, and call pci_disable_device() once the host-specific BIOS handoff\nis finished.  This will balance the ref counts in the PCI core.  When\nthe PCI probe function is called, usb_hcd_pci_probe() will call\npci_enable_device() again.\n\nThis should be back ported to kernels as old as 2.6.31.  That was the\nfirst kernel with xHCI support, and no one has complained about BIOS\nhandoffs failing due to memory mapped I/O being disabled on other hosts\n(EHCI, UHCI, or OHCI).\n\nSigned-off-by: Sarah Sharp \u003csarah.a.sharp@linux.intel.com\u003e\nAcked-by: Oliver Neukum \u003coneukum@suse.de\u003e\nCc: Jesse Barnes \u003cjbarnes@virtuousgeek.org\u003e\nCc: stable@vger.kernel.org\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ac53a662a6a306cd96b77f69ff154ed8534d6f2f",
      "old_mode": 33188,
      "old_path": "drivers/usb/host/pci-quirks.c",
      "new_id": "7732d69e49e012cca439ef21ea6b911cf2942c91",
      "new_mode": 33188,
      "new_path": "drivers/usb/host/pci-quirks.c"
    }
  ]
}
