)]}'
{
  "log": [
    {
      "commit": "300bab9770e2bd10262bcc78e7249fdce2c74b38",
      "tree": "5c23d7dce82b96fa177ea7c854de7f4b36992c80",
      "parents": [
        "c536abfdf5227987b8a72ff955b64e62fd58fe91"
      ],
      "author": {
        "name": "Ohad Ben-Cohen",
        "email": "ohad@wizery.com",
        "time": "Tue Sep 06 15:39:21 2011 +0300"
      },
      "committer": {
        "name": "Ohad Ben-Cohen",
        "email": "ohad@wizery.com",
        "time": "Wed Sep 21 19:45:34 2011 +0300"
      },
      "message": "hwspinlock/core: register a bank of hwspinlocks in a single API call\n\nHardware Spinlock devices usually contain numerous locks (known\ndevices today support between 32 to 256 locks).\n\nOriginally hwspinlock core required drivers to register (and later,\nwhen needed, unregister) each lock separately.\n\nThat worked, but required hwspinlocks drivers to do a bit extra work\nwhen they were probed/removed.\n\nThis patch changes hwspin_lock_{un}register() to allow a bank of\nhwspinlocks to be {un}registered in a single invocation.\n\nA new \u0027struct hwspinlock_device\u0027, which contains an array of \u0027struct\nhwspinlock\u0027s is now being passed to the core upon registration (so\ninstead of wrapping each struct hwspinlock, a priv member has been added\nto allow drivers to piggyback their private data with each hwspinlock).\n\nWhile at it, several per-lock members were moved to be per-device:\n1. struct device *dev\n2. struct hwspinlock_ops *ops\n\nIn addition, now that the array of locks is handled by the core,\nthere\u0027s no reason to maintain a per-lock \u0027int id\u0027 member: the id of the\nlock anyway equals to its index in the bank\u0027s array plus the bank\u0027s\nbase_id.\nRemove this per-lock id member too, and instead use a simple pointers\narithmetic to derive it.\n\nAs a result of this change, hwspinlocks drivers are now simpler and smaller\n(about %20 code reduction) and the memory footprint of the hwspinlock\nframework is reduced.\n\nSigned-off-by: Ohad Ben-Cohen \u003cohad@wizery.com\u003e\n"
    },
    {
      "commit": "93b465c2e186d96fb90012ba0f9372eb9952e732",
      "tree": "3781c5443068f2fc79c2bb70c8793075b608d1f0",
      "parents": [
        "c3c1250e93a7ab1327a9fc49d2a22405672f4204"
      ],
      "author": {
        "name": "Juan Gutierrez",
        "email": "jgutierrez@ti.com",
        "time": "Tue Sep 06 09:30:16 2011 +0300"
      },
      "committer": {
        "name": "Ohad Ben-Cohen",
        "email": "ohad@wizery.com",
        "time": "Wed Sep 21 19:45:32 2011 +0300"
      },
      "message": "hwspinlock/core: use a mutex to protect the radix tree\n\nSince we\u0027re using non-atomic radix tree allocations, we\nshould be protecting the tree using a mutex and not a\nspinlock.\n\nNon-atomic allocations and process context locking is good enough,\nas the tree is manipulated only when locks are registered/\nunregistered/requested/freed.\n\nThe locks themselves are still protected by spinlocks of course,\nand mutexes are not involved in the locking/unlocking paths.\n\nCc: \u003cstable@kernel.org\u003e\nSigned-off-by: Juan Gutierrez \u003cjgutierrez@ti.com\u003e\n[ohad@wizery.com: rewrite the commit log, #include mutex.h, add minor\ncommentary]\n[ohad@wizery.com: update register/unregister parts in hwspinlock.txt]\nSigned-off-by: Ohad Ben-Cohen \u003cohad@wizery.com\u003e\n"
    },
    {
      "commit": "e467b6421435f467e274d4f25d62900e1e0e4286",
      "tree": "9b9b9eb7ab9680b89d34a2732f73b78b2d107582",
      "parents": [
        "315d8f5ccdbb2abb609d1ca1119fb32273a09cf8"
      ],
      "author": {
        "name": "Ohad Ben-Cohen",
        "email": "ohad@wizery.com",
        "time": "Mon Sep 05 16:42:36 2011 +0300"
      },
      "committer": {
        "name": "Ohad Ben-Cohen",
        "email": "ohad@wizery.com",
        "time": "Wed Sep 21 19:45:32 2011 +0300"
      },
      "message": "hwspinlock/core: simplify \u0027owner\u0027 handling\n\nUse struct device_driver\u0027s owner member instead of asking drivers to\nexplicitly pass the owner again.\n\nThis simplifies drivers and also save some memory, since there\u0027s no\npoint now in maintaining a separate owner pointer per hwspinlock.\n\nSigned-off-by: Ohad Ben-Cohen \u003cohad@wizery.com\u003e\n"
    },
    {
      "commit": "bd9a4c7df256cee4e9f6a4b56baa3b89d63f0f1e",
      "tree": "ee6ca0aaebd8e553576a0cf3fefafa1cd3ec8e1d",
      "parents": [
        "d9e45731debd83e2b249be349993595907dddeae"
      ],
      "author": {
        "name": "Ohad Ben-Cohen",
        "email": "ohad@wizery.com",
        "time": "Thu Feb 17 09:52:03 2011 -0800"
      },
      "committer": {
        "name": "Tony Lindgren",
        "email": "tony@atomide.com",
        "time": "Thu Feb 17 09:52:03 2011 -0800"
      },
      "message": "drivers: hwspinlock: add framework\n\nAdd a platform-independent hwspinlock framework.\n\nHardware spinlock devices are needed, e.g., in order to access data\nthat is shared between remote processors, that otherwise have no\nalternative mechanism to accomplish synchronization and mutual exclusion\noperations.\n\nSigned-off-by: Ohad Ben-Cohen \u003cohad@wizery.com\u003e\nCc: Hari Kanigeri \u003ch-kanigeri2@ti.com\u003e\nCc: Benoit Cousson \u003cb-cousson@ti.com\u003e\nCc: Kevin Hilman \u003ckhilman@ti.com\u003e\nCc: Grant Likely \u003cgrant.likely@secretlab.ca\u003e\nCc: Paul Walmsley \u003cpaul@pwsan.com\u003e\nCc: Russell King \u003clinux@arm.linux.org.uk\u003e\nAcked-by: Arnd Bergmann \u003carnd@arndb.de\u003e\nSigned-off-by: Tony Lindgren \u003ctony@atomide.com\u003e\n"
    }
  ]
}
