)]}'
{
  "commit": "0584396157ad2d008e2cc76b4ed6254151183a25",
  "tree": "8860a033938b1a01cccf9a203208f741758724ac",
  "parents": [
    "8792e11f1c54bcba34412f03959e70ee217f2231"
  ],
  "author": {
    "name": "Matt Domsch",
    "email": "Matt_Domsch@dell.com",
    "time": "Mon Nov 02 11:51:24 2009 -0600"
  },
  "committer": {
    "name": "Jesse Barnes",
    "email": "jbarnes@virtuousgeek.org",
    "time": "Wed Nov 04 13:06:25 2009 -0800"
  },
  "message": "PCI: PCIe AER: honor ACPI HEST FIRMWARE FIRST mode\n\nFeedback from Hidetoshi Seto and Kenji Kaneshige incorporated.  This\ncorrectly handles PCI-X bridges, PCIe root ports and endpoints, and\nprints debug messages when invalid/reserved types are found in the\nHEST.  PCI devices not in domain/segment 0 are not represented in\nHEST, thus will be ignored.\n\nToday, the PCIe Advanced Error Reporting (AER) driver attaches itself\nto every PCIe root port for which BIOS reports it should, via ACPI\n_OSC.\n\nHowever, _OSC alone is insufficient for newer BIOSes.  Part of ACPI\n4.0 is the new APEI (ACPI Platform Error Interfaces) which is a way\nfor OS and BIOS to handshake over which errors for which components\neach will handle.  One table in ACPI 4.0 is the Hardware Error Source\nTable (HEST), where BIOS can define that errors for certain PCIe\ndevices (or all devices), should be handled by BIOS (\"Firmware First\nmode\"), rather than be handled by the OS.\n\nDell PowerEdge 11G server BIOS defines Firmware First mode in HEST, so\nthat it may manage such errors, log them to the System Event Log, and\npossibly take other actions.  The aer driver should honor this, and\nnot attach itself to devices noted as such.\n\nFurthermore, Kenji Kaneshige reminded us to disallow changing the AER\nregisters when respecting Firmware First mode.  Platform firmware is\nexpected to manage these, and if changes to them are allowed, it could\nbreak that firmware\u0027s behavior.\n\nThe HEST parsing code may be replaced in the future by a more\nfeature-rich implementation.  This patch provides the minimum needed\nto prevent breakage until that implementation is available.\n\nReviewed-by: Kenji Kaneshige \u003ckaneshige.kenji@jp.fujitsu.com\u003e\nReviewed-by: Hidetoshi Seto \u003cseto.hidetoshi@jp.fujitsu.com\u003e\nSigned-off-by: Matt Domsch \u003cMatt_Domsch@dell.com\u003e\nSigned-off-by: Jesse Barnes \u003cjbarnes@virtuousgeek.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7702118509a0a6e848bee454a983f0ec42e9522b",
      "old_mode": 33188,
      "old_path": "drivers/acpi/Makefile",
      "new_id": "c7b10b4298e991320cd45af4fcc5168118d4e4b3",
      "new_mode": 33188,
      "new_path": "drivers/acpi/Makefile"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4bb18c980ac6ec938408b46ee220108eff496985",
      "new_mode": 33188,
      "new_path": "drivers/acpi/hest.c"
    },
    {
      "type": "modify",
      "old_id": "9f5ccbeb4fa5fcef281eb2ed3d3a079ae885909e",
      "old_mode": 33188,
      "old_path": "drivers/pci/pcie/aer/aerdrv_core.c",
      "new_id": "f4512feac12be0bd4ca4da0b400cd0f04ce8cbdd",
      "new_mode": 33188,
      "new_path": "drivers/pci/pcie/aer/aerdrv_core.c"
    },
    {
      "type": "modify",
      "old_id": "9cefc54a0125c3595cbe9096bc7e402aea46375f",
      "old_mode": 33188,
      "old_path": "drivers/pci/probe.c",
      "new_id": "118463befef0262846b92a665f387e18f778b794",
      "new_mode": 33188,
      "new_path": "drivers/pci/probe.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "63194d03cb2db1a1f9eb19795a203496a72b51c3",
      "new_mode": 33188,
      "new_path": "include/acpi/acpi_hest.h"
    },
    {
      "type": "modify",
      "old_id": "da4128f6e916d0476392c56a1ba1e9e2123d0f03",
      "old_mode": 33188,
      "old_path": "include/linux/pci.h",
      "new_id": "9d646e60cae04c23c330d3e9b3ede642ad5500ec",
      "new_mode": 33188,
      "new_path": "include/linux/pci.h"
    }
  ]
}
