)]}'
{
  "commit": "8cc7581cdb84a232468c41bc417183a423dfbb07",
  "tree": "dc5e57aedc13410f948fd6c95bab8fb0f5d79084",
  "parents": [
    "7415c14c560e7378b9cd3564c4c4f6b5e058e19d"
  ],
  "author": {
    "name": "Gavin Shan",
    "email": "gwshan@linux.vnet.ibm.com",
    "time": "Fri May 20 16:41:37 2016 +1000"
  },
  "committer": {
    "name": "Michael Ellerman",
    "email": "mpe@ellerman.id.au",
    "time": "Tue Jun 21 15:30:56 2016 +1000"
  },
  "message": "powerpc/pci: Delay populating pdn\n\nThe pdn (struct pci_dn) instances are allocated from memblock or\nbootmem when creating PCI controller (hoses) in setup_arch(). PCI\nhotplug, which will be supported by proceeding patches, releases\nPCI device nodes and their corresponding pdn on unplugging event.\nThe memory chunks for pdn instances allocated from memblock or\nbootmem are hard to reused after being released.\n\nThis delays creating pdn by pci_devs_phb_init() from setup_arch()\nto core_initcall() so that they are allocated from slab. The memory\nconsumed by pdn can be released to system without problem during\nPCI unplugging time. It indicates that pci_dn is unavailable in\nsetup_arch() and the the fixup on pdn (like AGP\u0027s) can\u0027t be carried\nout that time. We have to do that in pcibios_root_bridge_prepare()\non maple/pasemi/powermac platforms where/when the pdn is available.\npcibios_root_bridge_prepare is called from subsys_initcall() which\nis executed after core_initcall() so the code flow does not change.\n\nAt the mean while, the EEH device is created when pdn is populated,\nmeaning pdn and EEH device have same life cycle. In turn, we needn\u0027t\ncall eeh_dev_init() to create EEH device explicitly.\n\nSigned-off-by: Gavin Shan \u003cgwshan@linux.vnet.ibm.com\u003e\nReviewed-by: Alexey Kardashevskiy \u003caik@ozlabs.ru\u003e\nSigned-off-by: Michael Ellerman \u003cmpe@ellerman.id.au\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7d34f3d3ca0ea85cfc8e866f48d0d899330e41d9",
      "old_mode": 33188,
      "old_path": "arch/powerpc/include/asm/eeh.h",
      "new_id": "8e37b71674f4acdfa530ce5517dcf262e20bb644",
      "new_mode": 33188,
      "new_path": "arch/powerpc/include/asm/eeh.h"
    },
    {
      "type": "modify",
      "old_id": "8753e4eb9ab5b27d2a7ca7dedf720d3c3b7d0502",
      "old_mode": 33188,
      "old_path": "arch/powerpc/include/asm/ppc-pci.h",
      "new_id": "0f73de069f19894993dbeb213cdff391afc0c844",
      "new_mode": 33188,
      "new_path": "arch/powerpc/include/asm/ppc-pci.h"
    },
    {
      "type": "modify",
      "old_id": "7815095fe3d8a0f9f82436f452e0789b33e17ba2",
      "old_mode": 33188,
      "old_path": "arch/powerpc/kernel/eeh_dev.c",
      "new_id": "d6b2ca70d14d7046637967646f9210ca52c2e2d3",
      "new_mode": 33188,
      "new_path": "arch/powerpc/kernel/eeh_dev.c"
    },
    {
      "type": "modify",
      "old_id": "afeda26c2ebccd03a25f1362cfb085cd3bb28e21",
      "old_mode": 33188,
      "old_path": "arch/powerpc/kernel/pci_dn.c",
      "new_id": "bfe60a1e70d9151c10278fde607ea6e9be22575b",
      "new_mode": 33188,
      "new_path": "arch/powerpc/kernel/pci_dn.c"
    },
    {
      "type": "modify",
      "old_id": "a923230e575bcab1724e7cc7d8c4166e38adf7b8",
      "old_mode": 33188,
      "old_path": "arch/powerpc/platforms/maple/pci.c",
      "new_id": "a2f89e6326ceddfd451503dad80885f4ffac97bf",
      "new_mode": 33188,
      "new_path": "arch/powerpc/platforms/maple/pci.c"
    },
    {
      "type": "modify",
      "old_id": "f3a68a0fef232e19b820a0a2d171b2e041c18f7a",
      "old_mode": 33188,
      "old_path": "arch/powerpc/platforms/pasemi/pci.c",
      "new_id": "10c4e8fc6ea9e4ecc64dfb78e9e441e50f6d85f4",
      "new_mode": 33188,
      "new_path": "arch/powerpc/platforms/pasemi/pci.c"
    },
    {
      "type": "modify",
      "old_id": "59ab16fa600ff72b2b262ff18eb7e3644224e85d",
      "old_mode": 33188,
      "old_path": "arch/powerpc/platforms/powermac/pci.c",
      "new_id": "6e06c3be2e9ac4e3c60951722dc7712d3f53193e",
      "new_mode": 33188,
      "new_path": "arch/powerpc/platforms/powermac/pci.c"
    },
    {
      "type": "modify",
      "old_id": "b1ee6314f946e6e88c06a505ed60e157ccb606d2",
      "old_mode": 33188,
      "old_path": "arch/powerpc/platforms/powernv/pci.c",
      "new_id": "0f1b8bf953e16a05612a7fe91dce06d554a5ee4a",
      "new_mode": 33188,
      "new_path": "arch/powerpc/platforms/powernv/pci.c"
    },
    {
      "type": "modify",
      "old_id": "34668f9bc57bbf04d65ff0d42cd942d57fe769c1",
      "old_mode": 33188,
      "old_path": "arch/powerpc/platforms/pseries/setup.c",
      "new_id": "e61e9b986e211b849c8f95e0aa5f9f01141c89ae",
      "new_mode": 33188,
      "new_path": "arch/powerpc/platforms/pseries/setup.c"
    }
  ]
}
