{"push_id":1170032990,"size":58,"distinct_size":0,"ref":"refs/heads/caf/chromium-googlesource-kernel-next/chromeos-tpm-3.18","head":"ef852f5aa7071665a236434ff7b41f45ea5f2acd","before":"436d7e1010a0c79618a1d0cd3ed00317a02be64e","commits":[{"sha":"da4987b1913c2c4e4f32c1a6f443f3569d71a31b","author":{"name":"Olof Johansson","email":"0a3f939f915f9353918021d4b98d08c1b915d022@chromium.org"},"message":"CHROMIUM: char: tpm: need to resume powered-off TPMs after resume\n\nI was looking at getting rid of some of our tpm patches, and this was\nthe remaining delta. I asked Luigi about it, and he said (in the below\nreferenced bug):\n\n\"The code that this patch removes is needed by devices that power off\nthe TPM during suspend.  I believe Alex and ZGB work that way, i.e. they\nneed the code that this patch removes.\n\nIf the platform maintains power to the TPM during suspend, then this\ncode isn't needed, i.e. you may apply the diff.  But since we're still\nsupporting Alex and ZGB, that code needs to be there.\"\n\nSo, adding it back without keeping the full add-removesome-addsome\nhistory of the TPM drivers.\n\nBUG=chromium-os:27576\nTEST=regression suite\n\nChange-Id: Idae59dcdf9fc66b14a522715824c9d227fdd375e\n[sonnyrao: 3.8: fixed conflicts]\n[sonnyrao: 3.8: squashed deadlock patch]\n[sonnyrao: 3.8: squashed reconcile mainline patch]\n[sonnyrao: 3.8: squashed cleanup missing newlines]\n[sonnyrao: 3.8: squashed always run ContinueSelftest]\nSigned-off-by: Olof Johansson <olofj@chromium.org>\n\n[benzh: 3.14 rebase. tpm.c has been split into multiple files.]\nSigned-off-by: Ben Zhang <benzh@chromium.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.10/commits/da4987b1913c2c4e4f32c1a6f443f3569d71a31b"},{"sha":"a899a50d43478b3f85e57443ca4c68d885be9d05","author":{"name":"Luigi Semenzato","email":"5975c239eb15cbac326ddb17384a6c710230f633@chromium.org"},"message":"CHROMIUM: daisy: tpm: fail TPM probe if TPM is not started\n\nSome versions of u-boot don't start the TPM.  We want\nthe probe to fail in this case.  We could start the TPM\nhere, but then we would have to set it up compatibly\nwith what vboot does (including one-time initializations),\nor we would hit more confusing errors along the way.\n\nNote: this is tested with non-vboot firmware.  I will try\nto test it with vboot firmware as well, but I might hit\nsnags at this point and might give up.\n\nBUG=chrome-os-partner:8921\nTEST=booted with non-vboot u-boot and noted that /dev/tpm0 does not exist\n\nChange-Id: Iea04be737891eb67f428e4627f669301b936cb9e\n[sonnyrao: 3.8: moved to tpm_i2c_infineon.c]\nReviewed-on: https://gerrit-int.chromium.org/18683\nTested-by: Luigi Semenzato <semenzato@google.com>\nReviewed-by: Jonathan Kliegman <kliegs@google.com>\nReviewed-by: Olof Johansson <olofj@google.com>\nCommit-Ready: Luigi Semenzato <semenzato@google.com>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.10/commits/a899a50d43478b3f85e57443ca4c68d885be9d05"},{"sha":"ec92129aac49eb86c9c614de5fbfa7e8fa5ce8ce","author":{"name":"Sonny Rao","email":"c74d920842eb520ebf191f46773c5a097c0d71bd@chromium.org"},"message":"CHROMIUM: tpm: do not suspend/resume if power stays on\n\nThe suspend/resume behavior of the TPM can be controlled\nby setting \"powered-while-suspended\" in the DTS.\n\nBUG=chrome-os-partner:11397\nTEST=manually tested by suspending/resuming\n\nChange-Id: Ic4f4502bc4c6e67e370141f1d6c67bcfbd65a726\n[sonnyrao: 3.8: moved to tpm_i2c_infineon.c]\nSigned-off-by: Luigi Semenzato <semenzato@chromium.org>\nReviewed-on: https://gerrit.chromium.org/gerrit/27575\nReviewed-by: Doug Anderson <dianders@chromium.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.10/commits/ec92129aac49eb86c9c614de5fbfa7e8fa5ce8ce"},{"sha":"18124d4099ab74aa46f8e6812bee36f224e30c17","author":{"name":"Olof Johansson","email":"0a3f939f915f9353918021d4b98d08c1b915d022@chromium.org"},"message":"CHROMIUM: tpm: tpm_tis_i2c: switch to workqueue for tpm self test\n\nMoving to a workqueue means that the rest of boot can continue. It's\njust important to make sure the selftest has actually completed before\nany reads/writes are done.\n\nBUG=chrome-os-partner:11403\nTEST=tpm test suite\n\nChange-Id: I5c12f3db88ac6ddaa8d5caeb0aa2a56a550cc267\n[sonnyrao: 3.8: moved to tpm_i2c_infineon.c]\n[sonnyrao: 3.8: change flush_work_sync() to flush_work()]\nSigned-off-by: Olof Johansson <olofj@chromium.org>\nReviewed-on: https://gerrit.chromium.org/gerrit/28915\nReviewed-by: Doug Anderson <dianders@chromium.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.10/commits/18124d4099ab74aa46f8e6812bee36f224e30c17"},{"sha":"3bc227f6b894fa243c31e8ea9cca33cfec85f55b","author":{"name":"Luigi Semenzato","email":"5975c239eb15cbac326ddb17384a6c710230f633@chromium.org"},"message":"CHROMIUM: workaround for Infineon TPM defensive timeout (v2)\n\nThe SLB9635 TPM by Infineon goes into a self-defense mode when\npower is cut in the middle of a command too many times, and getting\nit out of that mode is difficult and takes a long time.  This patch\nadds a shutdown-time callback that grabs the mutex wrapping a\nrequest-response transaction, so it's less likely that we'll lose\npower in the middle of a command.\n\nNote that the TPM may lose power also across suspend/resume (depending\non hardware).  However, the suspend callback sends a SaveState command,\nwhich can only be sent when other running commands have completed.\nI am not sure if a command can start after the suspend callback\nhas completed (I doubt it) but even if it does, it will be\na sufficiently rare event, and the self-defense can tolerate that.\n\nThe \"gentle shutdown\" message is added to make it easier to detect\nif we neglect to carry this patch forward.\n\nBUG=chromium:234796\nTEST=extensively tested with the librarian simulator\nSigned-off-by: Luigi Semenzato <semenzato@chromium.org>\n\nChange-Id: I1bb0a6d574c96a33f4344d47e3e7584e3f67fb14\nReviewed-on: https://gerrit.chromium.org/gerrit/58902\nTested-by: Luigi Semenzato <semenzato@chromium.org>\nReviewed-by: Darren Krahn <dkrahn@chromium.org>\nCommit-Queue: Luigi Semenzato <semenzato@chromium.org>\nReviewed-by: Olof Johansson <olofj@chromium.org>\n\n[benzh: 3.14 rebase. tpm.c has been split into multiple files.]\nSigned-off-by: Ben Zhang <benzh@chromium.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.10/commits/3bc227f6b894fa243c31e8ea9cca33cfec85f55b"},{"sha":"efa574d32f4dd3a8c264e9f7f8f99b3f4300bc69","author":{"name":"Utkarsh Sanghi","email":"50258b9d1fa46e6aab085a756b97e94e559bd3d9@chromium.org"},"message":"CHROMIUM: TPM: Increase the timeout of the tpm_tis driver\n\nsome tpms in stout machines run slow when under stress.\nIf we stress them enough, the TPM starts to time out and stops\nresponding. By increasing the timeout, we give it a longer time\nto respond under periods of high use.\n\nBUG=chromium:219092, chromium:355603 (for stout)\nTEST=login_MultipleSessions*500\nSigned-off-by: Utkarsh Sanghi <usanghi@chromium.org>\n\nChange-Id: I27d66bb9879737d4610e6b74e5b7d43bb3112282\nReviewed-on: https://chromium-review.googlesource.com/202598\nReviewed-by: Darren Krahn <dkrahn@chromium.org>\nReviewed-by: Luigi Semenzato <semenzato@chromium.org>\nCommit-Queue: Utkarsh Sanghi <usanghi@chromium.org>\nTested-by: Utkarsh Sanghi <usanghi@chromium.org>\n\nConflicts:\n\tdrivers/char/tpm/tpm_tis.c\n[filbranden: 3.18 rebase. Resolved conflicts, timeouts changed.]\n[TODO(filbranden): Ask usanghi@ to take another look at this one.]\nSigned-off-by: Filipe Brandenburger <filbranden@chromium.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.10/commits/efa574d32f4dd3a8c264e9f7f8f99b3f4300bc69"},{"sha":"0c628c4d5d4a13e04d04f775aa8b69fe9422d83c","author":{"name":"Bryan Freed","email":"8d005e1f268f5e8290f6ac80208225dc5535169a@chromium.org"},"message":"CHROMIUM: tpm: Apply an adapterlimit for retransmission.\n\nWhen the I2C Infineon part is attached to an I2C adapter that imposes\na size limitation, large requests will fail -EINVAL.\nRetry them with size backoff without re-issuing the 0x05 command\nas this appears to occasionally put the TPM in a bad state.\n\nBUG=chrome-os-partner:36974\nTEST=tpm_getpubek, tpm_takeownership\n\nSigned-off-by: Bryan Freed <bfreed@chromium.org>\n\nChange-Id: Ibef483c726db24f33713868faec9b433ee70f8be\nReviewed-on: https://chromium-review.googlesource.com/254797\nTested-by: Bryan Freed <bfreed@chromium.org>\nReviewed-by: Olof Johansson <olofj@chromium.org>\nReviewed-by: Luigi Semenzato <semenzato@chromium.org>\nCommit-Queue: Bryan Freed <bfreed@chromium.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.10/commits/0c628c4d5d4a13e04d04f775aa8b69fe9422d83c"},{"sha":"ab32d2d038afa642196668a458cb5a211b00b473","author":{"name":"Bryan Freed","email":"8d005e1f268f5e8290f6ac80208225dc5535169a@chromium.org"},"message":"CHROMIUM: tpm: Do not assume an i2c adapter preserves the msg len\n\nPrevent a possible infinite loop by using a local variable to\nadvance len down to 0.  This is safer than trusting the I2C and\nadapter drivers to preserve msg2.len.\n\nBUG=chrome-os-partner:36974\nTEST=tpm_getpubek, tpm_takeownership\n\nSigned-off-by: Bryan Freed <bfreed@chromium.org>\nChange-Id: Ia7a7ea68793a711e63317eb432dd20c4341379e8\nReviewed-on: https://chromium-review.googlesource.com/255755\nReviewed-by: Luigi Semenzato <semenzato@chromium.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.10/commits/ab32d2d038afa642196668a458cb5a211b00b473"},{"sha":"6083de00f0f4ef40d69da09c2097eca684fb3e65","author":{"name":"Daniel Kurtz","email":"0816017c2d94add00297f8b408fd6c095b0080ba@chromium.org"},"message":"CHROMIUM: tpm: use min_t instead of min()\n\nCHROMIUM commit [0] introduced 'msglen', a local unsigned int variable, to\ncount down the number of bytes transfered in an i2c transaction.\n\n [0] commit 436d7e1010a0c79618a1d0cd3ed00317a02be64e\n CHROMIUM: tpm: Do not assume an i2c adapter preserves the msg len\n\nHowever, the implementation passes an unsigned int and size_t to min(),\nwhich min() doesn't like:\n\ndrivers/char/tpm/tpm_i2c_infineon.c: In function 'iic_tpm_read':\ndrivers/char/tpm/tpm_i2c_infineon.c:144:127: warning: comparison of distinct pointer types lacks a cast\n    unsigned int msglen = msg2.len = min(adapterlimit, len);\n\nFix this by using min_t instead, which explicitly casts its arguments\nto the provided type (unsigned int).\n\nSigned-off-by: Daniel Kurtz <djkurtz@chromium.org>\n\nBUG=chromium:512697\nTEST=emerge-oak chromeos-kernel-3_18\n  => No warnings in drivers/tpm/tpm_i2c_infineon.c\n\nChange-Id: I108e1697c9d3682ea3620661fdbafc20db7a50b1\nReviewed-on: https://chromium-review.googlesource.com/287427\nReviewed-by: Nicolas Boichat <drinkcat@chromium.org>\nTrybot-Ready: Nicolas Boichat <drinkcat@chromium.org>\nCommit-Queue: Daniel Kurtz <djkurtz@chromium.org>\nTrybot-Ready: Daniel Kurtz <djkurtz@chromium.org>\nTested-by: Daniel Kurtz <djkurtz@chromium.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.10/commits/6083de00f0f4ef40d69da09c2097eca684fb3e65"},{"sha":"e58bad864fcc2cc5ff06a31731d0841f3bc89e67","author":{"name":"Bryan Freed","email":"8d005e1f268f5e8290f6ac80208225dc5535169a@chromium.org"},"message":"Revert \"CHROMIUM: char: tpm: need to resume powered-off TPMs after resume\"\n\nThis reverts commit cddd4fcbdd7493821db1d8fd3c99a9a362fd26f5.\n\nPrepare to apply a set of upstream patches without conflicting on this change.\n\nBUG=chrome-os-partner:47234\nTEST=none\n\nChange-Id: Ib5ab15575eb25d8a1527278bea6761fa33567714\nSigned-off-by: Bryan Freed <bfreed@chromium.org>\nReviewed-on: https://chromium-review.googlesource.com/316530\nReviewed-by: Luigi Semenzato <semenzato@chromium.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.10/commits/e58bad864fcc2cc5ff06a31731d0841f3bc89e67"},{"sha":"6e1f322df7f4dc624c8886c712c56d84b29e4eb4","author":{"name":"Bryan Freed","email":"8d005e1f268f5e8290f6ac80208225dc5535169a@chromium.org"},"message":"Revert \"CHROMIUM: workaround for Infineon TPM defensive timeout (v2)\"\n\nThis reverts commit 824b74398980b7002023c67f41ba2909e6395069.\n\nPrepare to apply a set of upstream patches without conflicting on this change.\n\nBUG=chrome-os-partner:47234\nTEST=none\n\nChange-Id: I724aca36b47119933e1a0a8ef0cc9f5df30af462\nSigned-off-by: Bryan Freed <bfreed@chromium.org>\nReviewed-on: https://chromium-review.googlesource.com/316532\nReviewed-by: Luigi Semenzato <semenzato@chromium.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.10/commits/6e1f322df7f4dc624c8886c712c56d84b29e4eb4"},{"sha":"454a212b77e06d3519471d4d81d7d1b882dfdeda","author":{"name":"Bryan Freed","email":"8d005e1f268f5e8290f6ac80208225dc5535169a@chromium.org"},"message":"Revert \"CHROMIUM: TPM: Increase the timeout of the tpm_tis driver\"\n\nThis reverts commit 250b02572f6dd33784b03507bc0a192a5f49057f.\n\nPrepare to apply a set of upstream patches without conflicting on this change.\n\nBUG=chrome-os-partner:47234\nTEST=none\n\nChange-Id: I87702038d36a9a1fe87627075fb9e843bca51181\nSigned-off-by: Bryan Freed <bfreed@chromium.org>\nReviewed-on: https://chromium-review.googlesource.com/316533\nReviewed-by: Luigi Semenzato <semenzato@chromium.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.10/commits/454a212b77e06d3519471d4d81d7d1b882dfdeda"},{"sha":"40e0de41d8f73a82d1340c98a764d046249ec01e","author":{"name":"Wolfram Sang","email":"fdae3fe83782164199e727a16ce9ff637adc829c@the-dreams.de"},"message":"UPSTREAM: char: tpm: drop owner assignment from platform_drivers\n\nA platform_driver does not need to set an owner, it will be populated by the\ndriver core.\n\nSigned-off-by: Wolfram Sang <wsa@the-dreams.de>\n(cherry picked from commit 05e6cc68afbe445382ab201b2b29ff0fcddec0be)\n\nBUG=chrome-os-partner:47234\nTEST=verify no regression in TPM 1.2 systems\n\nChange-Id: Ie4fbd609cb56c3d75e38007de0d26a5aec03eff4\nSigned-off-by: Bryan Freed <bfreed@chromium.org>\nReviewed-on: https://chromium-review.googlesource.com/316534\nReviewed-by: Luigi Semenzato <semenzato@chromium.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.10/commits/40e0de41d8f73a82d1340c98a764d046249ec01e"},{"sha":"dacd96d50877c636be4b7ca9d74428216a79ae38","author":{"name":"David Howells","email":"358fdf7bce8223edb2a0d846104bf62a286894d5@redhat.com"},"message":"UPSTREAM: TPM: Add new TPMs to the tail of the list to prevent inadvertent change of dev\n\nAdd newly registered TPMs to the tail of the list, not the beginning, so that\nthings that are specifying TPM_ANY_NUM don't find that the device they're\nusing has inadvertently changed.  Adding a second device would break IMA, for\ninstance.\n\nCc: stable@vger.kernel.org\nSigned-off-by: David Howells <dhowells@redhat.com>\nReviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>\nSigned-off-by: Peter Huewe <peterhuewe@gmx.de>\n(cherry picked from commit 398a1e71dc827b994b7f2f56c7c2186fea7f8d75)\n\nBUG=chrome-os-partner:47234\nTEST=verify no regression in TPM 1.2 systems\n\nChange-Id: I539abcb33732403d9fc096a44d184ad0f83bd804\nSigned-off-by: Bryan Freed <bfreed@chromium.org>\nReviewed-on: https://chromium-review.googlesource.com/316535\nReviewed-by: Luigi Semenzato <semenzato@chromium.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.10/commits/dacd96d50877c636be4b7ca9d74428216a79ae38"},{"sha":"3dd90be58edee74d3d79d3c320081216f29535a0","author":{"name":"Kiran Padwal","email":"c0227c48e5e23285124b759252c5b6b05a961124@smartplayin.com"},"message":"UPSTREAM: char: tpm: Add missing error check for devm_kzalloc\n\nCurrently these driver are missing a check on the return value of devm_kzalloc,\nwhich would cause a NULL pointer dereference in a OOM situation.\n\nThis patch adds a missing check for tpm_i2c_atmel.c and tpm_i2c_nuvoton.c\n\nCc: stable@vger.kernel.org\nSigned-off-by: Kiran Padwal <kiran.padwal@smartplayin.com>\nReviewed-By: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>\nSigned-off-by: Peter Huewe <peterhuewe@gmx.de>\n(cherry picked from commit bb95cd34ba4c9467114acc78eeddd53ab1c10085)\n\nBUG=chrome-os-partner:47234\nTEST=verify no regression in TPM 1.2 systems\n\nChange-Id: Ibacf687864d6e5fc96ed78bf8a1ced6e77225408\nSigned-off-by: Bryan Freed <bfreed@chromium.org>\nReviewed-on: https://chromium-review.googlesource.com/316536\nReviewed-by: Luigi Semenzato <semenzato@chromium.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.10/commits/3dd90be58edee74d3d79d3c320081216f29535a0"},{"sha":"9b41d2018e8552af209c1313f5fa020ab23329b8","author":{"name":"Scot Doyle","email":"e3c27faeaf4c33649fd71635606a06048a27bf61@scotdoyle.com"},"message":"UPSTREAM: tpm_tis: verify interrupt during init\n\nSome machines, such as the Acer C720 and Toshiba CB35, have TPMs that do\nnot send IRQs while also having an ACPI TPM entry indicating that they\nwill be sent. These machines freeze on resume while the tpm_tis module\nwaits for an IRQ, eventually timing out.\n\nWhen in interrupt mode, the tpm_tis module should receive an IRQ during\nmodule init. Fall back to polling mode if none is received when expected.\n\nCc: <stable@vger.kernel.org>\nSigned-off-by: Scot Doyle <lkml14@scotdoyle.com>\nTested-by: Michael Mullin <masmullin@gmail.com>\nReviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>\n[phuewe: minor checkpatch fixed]\nSigned-off-by: Peter Huewe <peterhuewe@gmx.de>\n\n(cherry picked from commit 448e9c55c12d6bd4fa90a7e31d802e045666d7c8)\n\nBUG=chrome-os-partner:47234\nTEST=verify no regression in TPM 1.2 systems\n\nChange-Id: Id37816838b8c9616ddd1d39c216586abcd992944\nSigned-off-by: Bryan Freed <bfreed@chromium.org>\nReviewed-on: https://chromium-review.googlesource.com/316537\nReviewed-by: Luigi Semenzato <semenzato@chromium.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.10/commits/9b41d2018e8552af209c1313f5fa020ab23329b8"},{"sha":"ae78db47c8e174bcb6c2bcbf5b28e1cc091153a4","author":{"name":"Fabian Frederick","email":"d034ae2af68bcc72b0cc0de95f3fa296a2f35dbd@skynet.be"},"message":"UPSTREAM: tpm: remove unnecessary sizeof(u8)\n\nsizeof(u8) is always 1.\n\nSigned-off-by: Fabian Frederick <fabf@skynet.be>\nSigned-off-by: Peter Huewe <peterhuewe@gmx.de>\n(cherry picked from commit 9fd8e5a25ecb0febfad321c04478a9d8b8b247f7)\n\nBUG=chrome-os-partner:47234\nTEST=verify no regression in TPM 1.2 systems\n\nChange-Id: I0aab02ecfd815b18ec74beb47ea9788c4a3f0711\nSigned-off-by: Bryan Freed <bfreed@chromium.org>\nReviewed-on: https://chromium-review.googlesource.com/316538\nReviewed-by: Luigi Semenzato <semenzato@chromium.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.10/commits/ae78db47c8e174bcb6c2bcbf5b28e1cc091153a4"},{"sha":"4acf742ea7961b9b91bd867b1187d1c0c9f32696","author":{"name":"Markus Elfring","email":"2916b57751e3b8379170cb86139f7bb868e8eca1@users.sourceforge.net"},"message":"UPSTREAM: char: tpm: Deletion of unnecessary checks before the function call \"tpm_dev_vendor_release\"\n\nThe tpm_dev_vendor_release() function tests whether its argument is NULL\nand then returns immediately. Thus the test around the call is not needed.\n\nThis issue was detected by using the Coccinelle software.\n\nSigned-off-by: Markus Elfring <elfring@users.sourceforge.net>\nSigned-off-by: Peter Huewe <peterhuewe@gmx.de>\n(cherry picked from commit 2dfc2deda2c9b1def7dc9399623479b69cd9f7ff)\n\nBUG=chrome-os-partner:47234\nTEST=verify no regression in TPM 1.2 systems\n\nChange-Id: Ied1d969a2b1b80823cf10f5bf716274ab41396d2\nSigned-off-by: Bryan Freed <bfreed@chromium.org>\nReviewed-on: https://chromium-review.googlesource.com/316539\nReviewed-by: Luigi Semenzato <semenzato@chromium.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.10/commits/4acf742ea7961b9b91bd867b1187d1c0c9f32696"},{"sha":"29078761768888bc3439bbdc0dc2ac1edee73a18","author":{"name":"Christophe Ricard","email":"43adfd421f62a7c5e89dee4eb0635648e3a29112@gmail.com"},"message":"UPSTREAM: tpm/tpm_i2c_stm_st33: Fix potential bug in tpm_stm_i2c_send\n\nWhen sending data in tpm_stm_i2c_send, each loop iteration send buf.\nSend buf + i instead as the goal of this for loop is to send a number\nof byte from buf that fit in burstcnt. Once those byte are sent, we are\nsupposed to send the next ones.\n\nThe driver was working because the burstcount value returns always the maximum size for a TPM\ncommand or response. (0x800 for a command and 0x400 for a response).\n\nCc: stable@vger.kernel.org\n\nReviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>\nSigned-off-by: Christophe Ricard <christophe-h.ricard@st.com>\nSigned-off-by: Peter Huewe <peterhuewe@gmx.de>\n(cherry picked from commit 1ba3b0b6f218072afe8372d12f1b6bf26a26008e)\n\nBUG=chrome-os-partner:47234\nTEST=verify no regression in TPM 1.2 systems\n\nChange-Id: Ia8df6a6780b4166db87aa7b6389d4cf255e3685e\nSigned-off-by: Bryan Freed <bfreed@chromium.org>\nReviewed-on: https://chromium-review.googlesource.com/316540\nReviewed-by: Luigi Semenzato <semenzato@chromium.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.10/commits/29078761768888bc3439bbdc0dc2ac1edee73a18"},{"sha":"b41926762ec105736dbe3fd6d3e98f9fc92a9801","author":{"name":"Christophe Ricard","email":"43adfd421f62a7c5e89dee4eb0635648e3a29112@gmail.com"},"message":"UPSTREAM: tpm/tpm_i2c_stm_st33: Update Kconfig in order to be inline to other similar product\n\nSTMicroelectronics i2c tpm is the only one to have a different tristate\nlabel.\n\nRename it \"TPM Interface Specification 1.2 Interface (I2C - STMicroelectronics)\"\n\nReviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>\nSigned-off-by: Christophe Ricard <christophe-h.ricard@st.com>\n[phuewe: corrected module name in the helptext]\nSigned-off-by: Peter Huewe <peterhuewe@gmx.de>\n\n(cherry picked from commit 578aa13eb796ce3f20523504424e973f351e4870)\n\nBUG=chrome-os-partner:47234\nTEST=verify no regression in TPM 1.2 systems\n\nChange-Id: I95ff5cd0e52cc1759adb6491017905dad0ae5ca3\nSigned-off-by: Bryan Freed <bfreed@chromium.org>\nReviewed-on: https://chromium-review.googlesource.com/316541\nReviewed-by: Luigi Semenzato <semenzato@chromium.org>","distinct":false,"url":"https://api.github.com/repos/Rashed97/caf-kernel-msm-3.10/commits/b41926762ec105736dbe3fd6d3e98f9fc92a9801"}]}
{"actor":{"display_login":"Rashed97"}}