)]}'
{
  "log": [
    {
      "commit": "eefa9cfc891d18aa83744353d2a3fbe95a86ee2d",
      "tree": "7365f73b0ff9be45b7b8a623d7878105eeb12814",
      "parents": [
        "363c75db1d7bbda0aa90e680565f2673bab92ee4"
      ],
      "author": {
        "name": "Paul Gortmaker",
        "email": "paul.gortmaker@windriver.com",
        "time": "Fri May 27 09:42:30 2011 -0400"
      },
      "committer": {
        "name": "Paul Gortmaker",
        "email": "paul.gortmaker@windriver.com",
        "time": "Mon Oct 31 19:31:23 2011 -0400"
      },
      "message": "pci: add module.h to files implicitly relying on its presence.\n\nThese were getting module.h implicitly from device.h but we want\nto clean that up, so we fix it here to avoid things like:\n\npci/slot.c: In function ‘pci_hp_create_module_link’:\npci/slot.c:383: error: ‘module_kset’ undeclared (first use in this function)\n\nSimilarly, rpadlpar_core.c is modular, so add module.h to its includes.\n\nSigned-off-by: Paul Gortmaker \u003cpaul.gortmaker@windriver.com\u003e\n"
    },
    {
      "commit": "17134d96735115644cc2f0e2b1bab51ca6e3ab95",
      "tree": "887e91efc6f9618c8fad82a5ecb9d0820ad233dc",
      "parents": [
        "6e63e80d88521a176989ed14b420f42dc418e46a"
      ],
      "author": {
        "name": "Stephen Hemminger",
        "email": "shemminger@vyatta.com",
        "time": "Tue Aug 31 15:25:55 2010 -0700"
      },
      "committer": {
        "name": "Jesse Barnes",
        "email": "jbarnes@virtuousgeek.org",
        "time": "Tue Aug 31 15:28:00 2010 -0700"
      },
      "message": "PCI: bus speed strings should be const\n\nSigned-off-by: Stephen Hemminger \u003cshemminger@vyatta.com\u003e\nSigned-off-by: Jesse Barnes \u003cjbarnes@virtuousgeek.org\u003e\n"
    },
    {
      "commit": "3be434f0244ee059432f92de7e891ee514f41738",
      "tree": "eadb165d4848010faaf6cc02af401f51a46727d7",
      "parents": [
        "f6d440daebd12be66ea1f834faf2966a49a07bd6"
      ],
      "author": {
        "name": "Jesse Barnes",
        "email": "jbarnes@virtuousgeek.org",
        "time": "Fri Jun 11 13:08:37 2010 -0700"
      },
      "committer": {
        "name": "Jesse Barnes",
        "email": "jbarnes@virtuousgeek.org",
        "time": "Fri Jun 11 13:08:37 2010 -0700"
      },
      "message": "Revert \"PCI: create function symlinks in /sys/bus/pci/slots/N/\"\n\nThis reverts commit 75568f8094eb0333e9c2109b23cbc8b82d318a3c.\n\nSince they\u0027re just a convenience anyway, remove these symlinks since\nthey\u0027re causing duplicate filename errors in the wild.\n\nAcked-by: Alex Chiang \u003cachiang@canonical.com\u003e\nSigned-off-by: Jesse Barnes \u003cjbarnes@virtuousgeek.org\u003e\n"
    },
    {
      "commit": "75568f8094eb0333e9c2109b23cbc8b82d318a3c",
      "tree": "bdbd169b2220e067bc03f7445e2471aa2f8499a7",
      "parents": [
        "fc2a093e7ad23e935aa29e349bc27173c92f1a95"
      ],
      "author": {
        "name": "Alex Chiang",
        "email": "achiang@hp.com",
        "time": "Mon Mar 08 10:24:29 2010 -0700"
      },
      "committer": {
        "name": "Jesse Barnes",
        "email": "jbarnes@virtuousgeek.org",
        "time": "Tue May 11 12:01:07 2010 -0700"
      },
      "message": "PCI: create function symlinks in /sys/bus/pci/slots/N/\n\nCreate convenience symlinks in sysfs, linking slots to device\nfunctions, and vice versa. These links make it easier for users to\nfigure out which devices actually live in what slots.\n\nFor example:\n\nsapphire:/sys/bus/pci/slots # ls\n1  10  2  3  4  5  6  7  8  9\n\nsapphire:/sys/bus/pci/slots # ls -l 3\ntotal 0\n-r--r--r-- 1 root root 65536 Aug 18 14:10 address\nlrwxrwxrwx 1 root root     0 Aug 18 14:10 function0 -\u003e\n../../../../devices/pci0000:23/0000:23:01.0\nlrwxrwxrwx 1 root root     0 Aug 18 14:10 function1 -\u003e\n../../../../devices/pci0000:23/0000:23:01.1\n\nsapphire:/sys/bus/pci/slots # ls -l 3/function0/slot\nlrwxrwxrwx 1 root root 0 Aug 18 14:13 3/function0/slot -\u003e\n../../../bus/pci/slots/3\n\nThe original form of this patch was written by Matthew Wilcox,\nand was enhanced to include links from the sysfs slots/ directory\npointing back at the device functions.\n\nCc: willy@linux.intel.com\nSigned-off-by: Alex Chiang \u003cachiang@hp.com\u003e\nSigned-off-by: Jesse Barnes \u003cjbarnes@virtuousgeek.org\u003e\n"
    },
    {
      "commit": "5a0e3ad6af8660be21ca98a971cd00f331318c05",
      "tree": "5bfb7be11a03176a87296a43ac6647975c00a1d1",
      "parents": [
        "ed391f4ebf8f701d3566423ce8f17e614cde9806"
      ],
      "author": {
        "name": "Tejun Heo",
        "email": "tj@kernel.org",
        "time": "Wed Mar 24 17:04:11 2010 +0900"
      },
      "committer": {
        "name": "Tejun Heo",
        "email": "tj@kernel.org",
        "time": "Tue Mar 30 22:02:32 2010 +0900"
      },
      "message": "include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h\n\npercpu.h is included by sched.h and module.h and thus ends up being\nincluded when building most .c files.  percpu.h includes slab.h which\nin turn includes gfp.h making everything defined by the two files\nuniversally available and complicating inclusion dependencies.\n\npercpu.h -\u003e slab.h dependency is about to be removed.  Prepare for\nthis change by updating users of gfp and slab facilities include those\nheaders directly instead of assuming availability.  As this conversion\nneeds to touch large number of source files, the following script is\nused as the basis of conversion.\n\n  http://userweb.kernel.org/~tj/misc/slabh-sweep.py\n\nThe script does the followings.\n\n* Scan files for gfp and slab usages and update includes such that\n  only the necessary includes are there.  ie. if only gfp is used,\n  gfp.h, if slab is used, slab.h.\n\n* When the script inserts a new include, it looks at the include\n  blocks and try to put the new include such that its order conforms\n  to its surrounding.  It\u0027s put in the include block which contains\n  core kernel includes, in the same order that the rest are ordered -\n  alphabetical, Christmas tree, rev-Xmas-tree or at the end if there\n  doesn\u0027t seem to be any matching order.\n\n* If the script can\u0027t find a place to put a new include (mostly\n  because the file doesn\u0027t have fitting include block), it prints out\n  an error message indicating which .h file needs to be added to the\n  file.\n\nThe conversion was done in the following steps.\n\n1. The initial automatic conversion of all .c files updated slightly\n   over 4000 files, deleting around 700 includes and adding ~480 gfp.h\n   and ~3000 slab.h inclusions.  The script emitted errors for ~400\n   files.\n\n2. Each error was manually checked.  Some didn\u0027t need the inclusion,\n   some needed manual addition while adding it to implementation .h or\n   embedding .c file was more appropriate for others.  This step added\n   inclusions to around 150 files.\n\n3. The script was run again and the output was compared to the edits\n   from #2 to make sure no file was left behind.\n\n4. Several build tests were done and a couple of problems were fixed.\n   e.g. lib/decompress_*.c used malloc/free() wrappers around slab\n   APIs requiring slab.h to be added manually.\n\n5. The script was run on all .h files but without automatically\n   editing them as sprinkling gfp.h and slab.h inclusions around .h\n   files could easily lead to inclusion dependency hell.  Most gfp.h\n   inclusion directives were ignored as stuff from gfp.h was usually\n   wildly available and often used in preprocessor macros.  Each\n   slab.h inclusion directive was examined and added manually as\n   necessary.\n\n6. percpu.h was updated not to include slab.h.\n\n7. Build test were done on the following configurations and failures\n   were fixed.  CONFIG_GCOV_KERNEL was turned off for all tests (as my\n   distributed build env didn\u0027t work with gcov compiles) and a few\n   more options had to be turned off depending on archs to make things\n   build (like ipr on powerpc/64 which failed due to missing writeq).\n\n   * x86 and x86_64 UP and SMP allmodconfig and a custom test config.\n   * powerpc and powerpc64 SMP allmodconfig\n   * sparc and sparc64 SMP allmodconfig\n   * ia64 SMP allmodconfig\n   * s390 SMP allmodconfig\n   * alpha SMP allmodconfig\n   * um on x86_64 SMP allmodconfig\n\n8. percpu.h modifications were reverted so that it could be applied as\n   a separate patch and serve as bisection point.\n\nGiven the fact that I had only a couple of failures from tests on step\n6, I\u0027m fairly confident about the coverage of this conversion patch.\nIf there is a breakage, it\u0027s likely to be something in one of the arch\nheaders which should be easily discoverable easily on most builds of\nthe specific arch.\n\nSigned-off-by: Tejun Heo \u003ctj@kernel.org\u003e\nGuess-its-ok-by: Christoph Lameter \u003ccl@linux-foundation.org\u003e\nCc: Ingo Molnar \u003cmingo@redhat.com\u003e\nCc: Lee Schermerhorn \u003cLee.Schermerhorn@hp.com\u003e\n"
    },
    {
      "commit": "52cf25d0ab7f78eeecc59ac652ed5090f69b619e",
      "tree": "031d1ffb3890bd69c0260c864c512e0be62ac05c",
      "parents": [
        "6c1733aca0b48db4d0e660d54976a1cca25b5eaf"
      ],
      "author": {
        "name": "Emese Revfy",
        "email": "re.emese@gmail.com",
        "time": "Tue Jan 19 02:58:23 2010 +0100"
      },
      "committer": {
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@suse.de",
        "time": "Sun Mar 07 17:04:49 2010 -0800"
      },
      "message": "Driver core: Constify struct sysfs_ops in struct kobj_type\n\nConstify struct sysfs_ops.\n\nThis is part of the ops structure constification\neffort started by Arjan van de Ven et al.\n\nBenefits of this constification:\n\n * prevents modification of data that is shared\n   (referenced) by many other structure instances\n   at runtime\n\n * detects/prevents accidental (but not intentional)\n   modification attempts on archs that enforce\n   read-only kernel data at runtime\n\n * potentially better optimized code as the compiler\n   can assume that the const data cannot be changed\n\n * the compiler/linker move const data into .rodata\n   and therefore exclude them from false sharing\n\nSigned-off-by: Emese Revfy \u003cre.emese@gmail.com\u003e\nAcked-by: David Teigland \u003cteigland@redhat.com\u003e\nAcked-by: Matt Domsch \u003cMatt_Domsch@dell.com\u003e\nAcked-by: Maciej Sosnowski \u003cmaciej.sosnowski@intel.com\u003e\nAcked-by: Hans J. Koch \u003chjk@linutronix.de\u003e\nAcked-by: Pekka Enberg \u003cpenberg@cs.helsinki.fi\u003e\nAcked-by: Jens Axboe \u003cjens.axboe@oracle.com\u003e\nAcked-by: Stephen Hemminger \u003cshemminger@vyatta.com\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n\n"
    },
    {
      "commit": "9dfd97fe12f79ec8b68feb63912a4ef2f31f571a",
      "tree": "845515c430a3cc48b1d88496d3b8f4d13bd7efb2",
      "parents": [
        "45b4cdd57ef0e57555b2ab61b584784819b39365"
      ],
      "author": {
        "name": "Matthew Wilcox",
        "email": "matthew@wil.cx",
        "time": "Sun Dec 13 08:11:35 2009 -0500"
      },
      "committer": {
        "name": "Jesse Barnes",
        "email": "jbarnes@virtuousgeek.org",
        "time": "Mon Feb 22 16:15:19 2010 -0800"
      },
      "message": "PCI: Add support for reporting PCIe 3.0 speeds\n\nAdd the 8.0 GT/s speed.\n\nSigned-off-by: Matthew Wilcox \u003cwilly@linux.intel.com\u003e\nSigned-off-by: Jesse Barnes \u003cjbarnes@virtuousgeek.org\u003e\n"
    },
    {
      "commit": "45b4cdd57ef0e57555b2ab61b584784819b39365",
      "tree": "1e08008e0cdc57252022b5ad1a0e3029c7e96f99",
      "parents": [
        "9be60ca0497a2563662fde4c9007841c3b79a742"
      ],
      "author": {
        "name": "Matthew Wilcox",
        "email": "matthew@wil.cx",
        "time": "Sun Dec 13 08:11:34 2009 -0500"
      },
      "committer": {
        "name": "Jesse Barnes",
        "email": "jbarnes@virtuousgeek.org",
        "time": "Mon Feb 22 16:15:19 2010 -0800"
      },
      "message": "PCI: Add support for AGP in cur/max bus speed\n\nTake advantage of some gaps in the table to fit in support for AGP speeds.\n\nSigned-off-by: Matthew Wilcox \u003cwilly@linux.intel.com\u003e\nSigned-off-by: Jesse Barnes \u003cjbarnes@virtuousgeek.org\u003e\n"
    },
    {
      "commit": "3749c51ac6c1560aa1cb1520066bed84c6f8152a",
      "tree": "3cbfb6a6d2df821e3e80ccce29ede8011b94246e",
      "parents": [
        "536c8cb49eccd4f753b4782e7e975ef87359cb44"
      ],
      "author": {
        "name": "Matthew Wilcox",
        "email": "matthew@wil.cx",
        "time": "Sun Dec 13 08:11:32 2009 -0500"
      },
      "committer": {
        "name": "Jesse Barnes",
        "email": "jbarnes@virtuousgeek.org",
        "time": "Mon Feb 22 16:15:17 2010 -0800"
      },
      "message": "PCI: Make current and maximum bus speeds part of the PCI core\n\nMove the max_bus_speed and cur_bus_speed into the pci_bus.  Expose the\nvalues through the PCI slot driver instead of the hotplug slot driver.\nUpdate all the hotplug drivers to use the pci_bus instead of their own\ndata structures.\n\nSigned-off-by: Matthew Wilcox \u003cwilly@linux.intel.com\u003e\nSigned-off-by: Jesse Barnes \u003cjbarnes@virtuousgeek.org\u003e\n"
    },
    {
      "commit": "503998ca4a295f7da233689850ba4b9d13cf41e7",
      "tree": "ddd892dac5a3a6fa2fb15f20c137a6d8872806e9",
      "parents": [
        "654b75e044119bf8e7d773bce41ea039281bbfbe"
      ],
      "author": {
        "name": "Randy Dunlap",
        "email": "randy.dunlap@oracle.com",
        "time": "Wed Jun 24 09:18:14 2009 -0700"
      },
      "committer": {
        "name": "Jesse Barnes",
        "email": "jbarnes@virtuousgeek.org",
        "time": "Mon Jun 29 12:13:56 2009 -0700"
      },
      "message": "PCI: fix kernel-doc warnings\n\nAdd documentation for missing parameters in PCI hotplug code.\n\nSigned-off-by: Randy Dunlap \u003crandy.dunlap@oracle.com\u003e\nSigned-off-by: Jesse Barnes \u003cjbarnes@virtuousgeek.org\u003e\n"
    },
    {
      "commit": "c825bc94c8c1908750ab20413eb639c6be029e2d",
      "tree": "6e5800fe52e0f94f42fdcd4c327b8cfaf803978a",
      "parents": [
        "498a8faf2c7eb974f70b7c5a60a31f0d48c35d44"
      ],
      "author": {
        "name": "Kenji Kaneshige",
        "email": "kaneshige.kenji@jp.fujitsu.com",
        "time": "Tue Jun 16 11:01:25 2009 +0900"
      },
      "committer": {
        "name": "Jesse Barnes",
        "email": "jbarnes@virtuousgeek.org",
        "time": "Tue Jun 16 14:30:11 2009 -0700"
      },
      "message": "PCI hotplug: create symlink to hotplug driver module\n\nCreate symbolic link to hotplug driver module in the PCI slot\ndirectory (/sys/bus/pci/slots/\u003cSLOT#\u003e). In the past, we need to load\nhotplug drivers one by one to identify the hotplug driver that handles\nthe slot, and it was very inconvenient especially for trouble shooting.\nWith this change, we can easily identify the hotplug driver.\n\nSigned-off-by: Taku Izumi \u003cizumi.taku@jp.fujitsu.com\u003e\nSigned-off-by: Kenji Kaneshige \u003ckaneshige.kenji@jp.fujitsu.com\u003e\nReviewed-by: Alex Chiang \u003cachiang@hp.com\u003e\nSigned-off-by: Jesse Barnes \u003cjbarnes@virtuousgeek.org\u003e\n"
    },
    {
      "commit": "cffb2fafb726c898fec1c5ae33717741f94fda83",
      "tree": "eba298bb6cdd5b4dce0d5ebc0598f3b2b3f378ed",
      "parents": [
        "681bf597215c62bd6f5ae1180a58a38997122b5b"
      ],
      "author": {
        "name": "Randy Dunlap",
        "email": "randy.dunlap@oracle.com",
        "time": "Fri Apr 10 15:17:50 2009 -0700"
      },
      "committer": {
        "name": "Jesse Barnes",
        "email": "jbarnes@virtuousgeek.org",
        "time": "Wed Apr 22 14:49:33 2009 -0700"
      },
      "message": "docbooks: add/fix PCI kernel-doc\n\nAdd drivers/pci/*.c source files to DocBook/kernel-api.tmpl\nand update those pci/*.c source files that need kernel-doc fixes.\n\nSigned-off-by: Randy Dunlap \u003crandy.dunlap@oracle.com\u003e\nSigned-off-by: Jesse Barnes \u003cjbarnes@virtuousgeek.org\u003e\n"
    },
    {
      "commit": "62795041418dd63cd9ff6ff7bbdf1d1c513c189b",
      "tree": "34f5493e7b459fa19551b60773656c74dc383024",
      "parents": [
        "6a82e21823058eea95325005b79f3b8c9492460f"
      ],
      "author": {
        "name": "Alex Chiang",
        "email": "achiang@hp.com",
        "time": "Wed Feb 04 11:25:22 2009 -0700"
      },
      "committer": {
        "name": "Jesse Barnes",
        "email": "jbarnes@hobbes.lan",
        "time": "Thu Mar 19 19:29:30 2009 -0700"
      },
      "message": "PCI: enhance physical slot debug information\n\nConvert usages of pr_debug to dev_dbg and add physical slot name.\n\nNote that we use dev_dbg on the struct pci_bus and still manually\nprint out the PCI slot number (instead of calling dev_dbg on a\npci_dev) because a struct pci_bus with empty physical slots will\nnot have any pci_devs.\n\nReviewed-by: Andrew Patterson \u003candrew.patterson@hp.com\u003e\nSigned-off-by: Alex Chiang \u003cachiang@hp.com\u003e\nSigned-off-by: Jesse Barnes \u003cjbarnes@virtuousgeek.org\u003e\n"
    },
    {
      "commit": "3b5dd45e947ecd21491e1658fba7bb4bc4a54995",
      "tree": "fc4180b27c193855a3324a11e29a5d0cd2aae405",
      "parents": [
        "437f2f91d6597c67662f847d9ed4c99cb3c440cd"
      ],
      "author": {
        "name": "Alex Chiang",
        "email": "achiang@hp.com",
        "time": "Mon Dec 01 18:17:21 2008 -0700"
      },
      "committer": {
        "name": "Jesse Barnes",
        "email": "jbarnes@virtuousgeek.org",
        "time": "Tue Dec 09 14:36:03 2008 -0800"
      },
      "message": "PCI: stop leaking \u0027slot_name\u0027 in pci_create_slot\n\nIn pci_create_slot(), the local variable \u0027slot_name\u0027 is allocated by\nmake_slot_name(), but never freed. We never use it after passing it to\nthe kobject core, so we should free it upon function exit.\n\nCc: stable@kernel.org\nSigned-off-by: Alex Chiang \u003cachiang@hp.com\u003e\nSigned-off-by: Jesse Barnes \u003cjbarnes@virtuousgeek.org\u003e\n"
    },
    {
      "commit": "0ad772ec464d3fcf9d210836b97e654f393606c4",
      "tree": "b2eb3d995eacec2e49dec4441fbc5349c8d1fc81",
      "parents": [
        "30ac7acd05d1449ac784de144c4b5237be25b0b4"
      ],
      "author": {
        "name": "Alex Chiang",
        "email": "achiang@hp.com",
        "time": "Mon Oct 20 17:41:07 2008 -0600"
      },
      "committer": {
        "name": "Jesse Barnes",
        "email": "jbarnes@virtuousgeek.org",
        "time": "Wed Oct 22 16:42:40 2008 -0700"
      },
      "message": "PCI, PCI Hotplug: introduce slot_name helpers\n\nIn preparation for cleaning up the various hotplug drivers\nsuch that they don\u0027t have to manage their own \u0027name\u0027 parameters\nanymore, we provide the following convenience functions:\n\n\tpci_slot_name()\n\thotplug_slot_name()\n\nThese helpers will be used by individual hotplug drivers.\n\nCc: kristen.c.accardi@intel.com\nCc: matthew@wil.cx\nAcked-by: Kenji Kaneshige \u003ckaneshige.kenji@jp.fujitsu.com\u003e\nSigned-off-by: Alex Chiang \u003cachiang@hp.com\u003e\nSigned-off-by: Jesse Barnes \u003cjbarnes@virtuousgeek.org\u003e\n"
    },
    {
      "commit": "5fe6cc60680d29740b85278e17a002fa27b7e642",
      "tree": "3815152b48be7f02bb13b765ea8784ff60bfffcb",
      "parents": [
        "95cb9093960b6249fdbe7417bf513a1358aaa51a"
      ],
      "author": {
        "name": "Alex Chiang",
        "email": "achiang@hp.com",
        "time": "Mon Oct 20 17:41:02 2008 -0600"
      },
      "committer": {
        "name": "Jesse Barnes",
        "email": "jbarnes@virtuousgeek.org",
        "time": "Wed Oct 22 16:42:39 2008 -0700"
      },
      "message": "PCI: prevent duplicate slot names\n\nPrevent callers of pci_create_slot() from registering slots with\nduplicate names. This condition occurs most often when PCI hotplug\ndrivers are loaded on platforms with broken firmware that assigns\nidentical names to multiple slots.\n\nWe now rename these duplicate slots on behalf of the user.\n\nIf firmware assigns the name N to multiple slots, then:\n\n\tThe first registered slot is assigned N\n\tThe second registered slot is assigned N-1\n\tThe third registered slot is assigned N-2\n\tetc.\n\nThis is the permanent fix mentioned in earlier commits d6a9e9b4 and\n167e782e (shpchp/pciehp: Rename duplicate slot name...).\n\nWe take advantage of the new \u0027hotplug\u0027 parameter in pci_create_slot()\nto prevent a slot create/rename race between hotplug drivers and\ndetection drivers.\n\n\tScenario A:\n\thotplug driver                  detection driver\n\t--------------                  ----------------\n\tpci_create_slot(hotplug\u003dset)\n\t\t\t\t\tpci_create_slot(hotplug\u003dNULL)\n\nThe hotplug driver creates the slot with its desired name, and then\nreleases the semaphore. Now, the detection driver tries to create\nthe same slot, but it already exists. We don\u0027t care about renaming,\nso return the existing slot.\n\n\tScenario B:\n\thotplug driver                  detection driver\n\t--------------                  ----------------\n\t\t\t\t\tpci_create_slot(hotplug\u003dNULL)\n\tpci_create_slot(hotplug\u003dset)\n\nThe detection driver creates the slot with name \"X\". Then the hotplug\ndriver tries to create the same slot, but wants the name \"Y\" instead.\nWe detect that we\u0027re trying to create the same slot and that we also\nwant a rename, so rename the slot to \"Y\" and return.\n\n\tScenario C:\n\thotplug driver                  hotplug driver\n\t--------------                  ----------------\n\tpci_create_slot(hotplug\u003dset)\n\t\t\t\t\tpci_create_slot(hotplug\u003dset)\n\nTwo separate hotplug drivers are attempting to claim the slot and\nare passing valid hotplug_slot args to pci_create_slot(). We detect\nthat the slot already has a -\u003ehotplug callback, prevent a rename,\nand return -EBUSY.\n\nCc: kristen.c.accardi@intel.com\nCc: matthew@wil.cx\nAcked-by: Kenji Kaneshige \u003ckaneshige.kenji@jp.fujitsu.com\u003e\nSigned-off-by: Alex Chiang \u003cachiang@hp.com\u003e\nSigned-off-by: Jesse Barnes \u003cjbarnes@virtuousgeek.org\u003e\n"
    },
    {
      "commit": "828f37683e6d3ab5912989df0d04201db7ad798e",
      "tree": "5761f28363b8fd4b23eaf88305b3f29cfc6b92ba",
      "parents": [
        "d25b7c8d6ba2735602003d75a28894772fe8ad6a"
      ],
      "author": {
        "name": "Alex Chiang",
        "email": "achiang@hp.com",
        "time": "Mon Oct 20 17:40:52 2008 -0600"
      },
      "committer": {
        "name": "Jesse Barnes",
        "email": "jbarnes@virtuousgeek.org",
        "time": "Wed Oct 22 16:42:38 2008 -0700"
      },
      "message": "PCI: update pci_create_slot() to take a \u0027hotplug\u0027 param\n\nSlot detection drivers can co-exist with hotplug drivers. The names\nof the detected/claimed slots may be different depending on module\nload order.\n\nFor legacy reasons, we need to allow hotplug drivers to override\nthe slot name if a detection driver is loaded first (and they find\nthe same slots).\n\nCreating and overriding slot names should be an atomic operation,\notherwise you get a locking nightmare as various drivers race to\ncall pci_create_slot().\n\npci_create_slot() is already serialized by grabbing the pci_bus_sem.\n\nWe update the API and add a \u0027hotplug\u0027 param, which is:\n\n\tset if the caller is a hotplug driver\n\tNULL if the caller is a detection driver\n\npci_create_slot() does not actually use the \u0027hotplug\u0027 parameter in this\npatch. A later patch will add the logic that uses it.\n\nCc: kristen.c.accardi@intel.com\nCc: matthew@wil.cx\nAcked-by: Kenji Kaneshige \u003ckaneshige.kenji@jp.fujitsu.com\u003e\nSigned-off-by: Alex Chiang \u003cachiang@hp.com\u003e\nSigned-off-by: Jesse Barnes \u003cjbarnes@virtuousgeek.org\u003e\n"
    },
    {
      "commit": "d25b7c8d6ba2735602003d75a28894772fe8ad6a",
      "tree": "9804e12987fbcee2d03d277c2527670b359748a1",
      "parents": [
        "1359f2701b96abd9bb69c1273fb995a093b6409a"
      ],
      "author": {
        "name": "Alex Chiang",
        "email": "achiang@hp.com",
        "time": "Mon Oct 20 17:40:47 2008 -0600"
      },
      "committer": {
        "name": "Jesse Barnes",
        "email": "jbarnes@virtuousgeek.org",
        "time": "Wed Oct 22 16:42:37 2008 -0700"
      },
      "message": "PCI: rename pci_update_slot_number to pci_renumber_slot\n\nThe GPL exported symbol pci_update_slot_number has been renamed to\npci_renumber_slot. Some of the safety checks were unnecessary and\nwere removed.\n\nCc: kristen.c.accardi@intel.com\nCc: matthew@wil.cx\nAcked-by: Kenji Kaneshige \u003ckaneshige.kenji@jp.fujitsu.com\u003e\nSigned-off-by: Alex Chiang \u003cachiang@hp.com\u003e\nSigned-off-by: Jesse Barnes \u003cjbarnes@virtuousgeek.org\u003e\n"
    },
    {
      "commit": "cef354db0d7a7207ea78c716753d9216a9c2b7e1",
      "tree": "bd8c0c6356f852b10117a166b67d2b017445ce2b",
      "parents": [
        "93ff68a55aa92180a765d6c51c3303f6200167a6"
      ],
      "author": {
        "name": "Alex Chiang",
        "email": "achiang@hp.com",
        "time": "Tue Sep 02 09:40:51 2008 -0600"
      },
      "committer": {
        "name": "Jesse Barnes",
        "email": "jbarnes@virtuousgeek.org",
        "time": "Mon Oct 20 10:53:52 2008 -0700"
      },
      "message": "PCI: connect struct pci_dev to struct pci_slot\n\nThe introduction of struct pci_slot (f46753c5e354b857b20ab8e0fe7b25)\nadded a struct pci_slot pointer to struct pci_dev, but we forgot to\nassociate the two.\n\nConnect the two structs together; the interesting portions of the object\nlifetimes are:\n\n\t- when a new pci_slot is created, connect it to the appropriate\n\t  pci_dev\u0027s. A single pci_slot may be associated with multiple\n\t  pci_dev\u0027s, e.g. any multi-function PCI device.\n\n\t- when a pci_slot is released, look for all the pci_dev\u0027s it was\n\t  associated with, and set their pci_slot pointers to NULL\n\n\t- when a pci_dev is created, look for slots to associate with.\n\nNote -- when a pci_dev is released, we don\u0027t need to do any bookkeeping,\nsince pci_slot\u0027s do not have pointers to pci_dev\u0027s.\n\nSigned-off-by: Alex Chiang \u003cachiang@hp.com\u003e\nSigned-off-by: Jesse Barnes \u003cjbarnes@virtuousgeek.org\u003e\n"
    },
    {
      "commit": "f46753c5e354b857b20ab8e0fe7b2579831dc369",
      "tree": "efffdb4dfec5e1f6fd624f17aa36d7d350bb1e6c",
      "parents": [
        "fe99740cac117f208707488c03f3789cf4904957"
      ],
      "author": {
        "name": "Alex Chiang",
        "email": "achiang@hp.com",
        "time": "Tue Jun 10 15:28:50 2008 -0600"
      },
      "committer": {
        "name": "Jesse Barnes",
        "email": "jbarnes@virtuousgeek.org",
        "time": "Tue Jun 10 14:37:03 2008 -0700"
      },
      "message": "PCI: introduce pci_slot\n\nCurrently, /sys/bus/pci/slots/ only exposes hotplug attributes when a\nhotplug driver is loaded, but PCI slots have attributes such as address,\nspeed, width, etc.  that are not related to hotplug at all.\n\nIntroduce pci_slot as the primary data structure and kobject model.\nHotplug attributes described in hotplug_slot become a secondary\nstructure associated with the pci_slot.\n\nThis patch only creates the infrastructure that allows the separation of\nPCI slot attributes and hotplug attributes.  In this patch, the PCI\nhotplug core remains the only user of this infrastructure, and thus,\n/sys/bus/pci/slots/ will still only become populated when a hotplug\ndriver is loaded.\n\nA later patch in this series will add a second user of this new\ninfrastructure and demonstrate splitting the task of exposing pci_slot\nattributes from hotplug_slot attributes.\n\n  - Make pci_slot the primary sysfs entity. hotplug_slot becomes a\n    subsidiary structure.\n    o pci_create_slot() creates and registers a slot with the PCI core\n    o pci_slot_add_hotplug() gives it hotplug capability\n\n  - Change the prototype of pci_hp_register() to take the bus and\n    slot number (on parent bus) as parameters.\n\n  - Remove all the -\u003eget_address methods since this functionality is\n    now handled by pci_slot directly.\n\n[achiang@hp.com: rpaphp-correctly-pci_hp_register-for-empty-pci-slots]\nTested-by: Badari Pulavarty \u003cpbadari@us.ibm.com\u003e\nAcked-by: Benjamin Herrenschmidt \u003cbenh@kernel.crashing.org\u003e\n[akpm@linux-foundation.org: build fix]\n[akpm@linux-foundation.org: make headers_check happy]\n[akpm@linux-foundation.org: nuther build fix]\n[akpm@linux-foundation.org: fix typo in #include]\nSigned-off-by: Alex Chiang \u003cachiang@hp.com\u003e\nSigned-off-by: Matthew Wilcox \u003cmatthew@wil.cx\u003e\nCc: Greg KH \u003cgreg@kroah.com\u003e\nCc: Kristen Carlson Accardi \u003ckristen.c.accardi@intel.com\u003e\nCc: Len Brown \u003clenb@kernel.org\u003e\nAcked-by: Kenji Kaneshige \u003ckaneshige.kenji@jp.fujitsu.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Jesse Barnes \u003cjbarnes@virtuousgeek.org\u003e\n"
    }
  ]
}
