{"push_id":892564467,"size":88,"distinct_size":87,"ref":"refs/heads/cm-13.0","head":"7b456275a5cfee155207a8edf0a863c8c3b3d8fc","before":"7fd50092dc6d9a13e003231e55c2429201766bcc","commits":[{"sha":"75977811169d779c039da38e63a1cac4e0cd1693","author":{"email":"4e8e9224f920d8ee7a72dfc715fd0eb121ef81f6@google.com","name":"Ed Tam"},"message":"Increase watchdog bark timeout to 45s\n\nBug: 11324320","distinct":false,"url":"https://api.github.com/repos/intervigilium/android_kernel_google_msm/commits/75977811169d779c039da38e63a1cac4e0cd1693"},{"sha":"ffb48adac058df7018dbbfe7569fe94e5814a5f9","author":{"email":"546b05909706652891a87f7bfe385ae147f61f91@kernel.org","name":"Tejun Heo"},"message":"idr: fix a subtle bug in idr_get_next()\n\ncommit 6cdae7416a1c45c2ce105a78187d9b7e8feb9e24 upstream.\n\nThe iteration logic of idr_get_next() is borrowed mostly verbatim from\nidr_for_each().  It walks down the tree looking for the slot matching\nthe current ID.  If the matching slot is not found, the ID is\nincremented by the distance of single slot at the given level and\nrepeats.\n\nThe implementation assumes that during the whole iteration id is aligned\nto the layer boundaries of the level closest to the leaf, which is true\nfor all iterations starting from zero or an existing element and thus is\nfine for idr_for_each().\n\nHowever, idr_get_next() may be given any point and if the starting id\nhits in the middle of a non-existent layer, increment to the next layer\nwill end up skipping the same offset into it.  For example, an IDR with\nIDs filled between [64, 127] would look like the following.\n\n          [  0  64 ... ]\n       /----/   |\n       |        |\n      NULL    [ 64 ... 127 ]\n\nIf idr_get_next() is called with 63 as the starting point, it will try\nto follow down the pointer from 0.  As it is NULL, it will then try to\nproceed to the next slot in the same level by adding the slot distance\nat that level which is 64 - making the next try 127.  It goes around the\nloop and finds and returns 127 skipping [64, 126].\n\nNote that this bug also triggers in idr_for_each_entry() loop which\ndeletes during iteration as deletions can make layers go away leaving\nthe iteration with unaligned ID into missing layers.\n\nFix it by ensuring proceeding to the next slot doesn't carry over the\nunaligned offset - ie.  use round_up(id + 1, slot_distance) instead of\nid += slot_distance.\n\nBug: 19665182\nBug: 18069309\nBug: 19236185\n\nChange-Id: Iddd4b6fb27c39d7607bc778fc00bafe6ec289478\nSigned-off-by: Tejun Heo <tj@kernel.org>\nReported-by: David Teigland <teigland@redhat.com>\nCc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/intervigilium/android_kernel_google_msm/commits/ffb48adac058df7018dbbfe7569fe94e5814a5f9"},{"sha":"6ec60c479f953b4c053f9711e83ef5ba500d2f17","author":{"email":"4bb1064d1f46929ded0070376617aece30f0ee54@google.com","name":"Mark Salyzyn"},"message":"flo_defconfig: resort to match savedefconfig\n\nChange-Id: Ic239a0c59786fde16ba009dfbd3cd5d554d3fcc6\nSideEffects: NONE\nSigned-off-by: Mark Salyzyn <salyzyn@google.com>","distinct":true,"url":"https://api.github.com/repos/intervigilium/android_kernel_google_msm/commits/6ec60c479f953b4c053f9711e83ef5ba500d2f17"},{"sha":"4e394da07511216aa0bd5e96946dda8345ea7b12","author":{"email":"4bb1064d1f46929ded0070376617aece30f0ee54@google.com","name":"Mark Salyzyn"},"message":"flo: turn off /dev/mem and /dev/kmem\n\nSigned-off-by: Mark Salyzyn <salyzyn@google.com>\nBug: 19549480\nChange-Id: Id71db396220e5e3a62d7547e87afb755dea6b451","distinct":true,"url":"https://api.github.com/repos/intervigilium/android_kernel_google_msm/commits/4e394da07511216aa0bd5e96946dda8345ea7b12"},{"sha":"95b85e52ff8129a1acea226b02a51953fca8c09b","author":{"email":"fa8048cf8a492157904bad3af5537885fbacf703@google.com","name":"Chad Jones"},"message":"Add build.config\n\nBug: 19677119\nChange-Id: I8b2f2e341661f657cc921bc8b67042b1c3a5a168","distinct":true,"url":"https://api.github.com/repos/intervigilium/android_kernel_google_msm/commits/95b85e52ff8129a1acea226b02a51953fca8c09b"},{"sha":"5442fa68b720607a03e490e67f81061f1f7be82f","author":{"email":"f66cc59a245d146467efed1402e6d2f55ef6f900@google.com","name":"Patrick Tjin"},"message":"Revert \"Grants system server access to /proc/<pid>/oom_adj for Android applications.\"\n\nThis reverts commit e89b006a72d0c5cdae735a665ffae6277d638ff3.\n\nBug: 19636629\nChange-Id: I78d51464427de7ab09764cbba30f7e6c157d64ba","distinct":true,"url":"https://api.github.com/repos/intervigilium/android_kernel_google_msm/commits/5442fa68b720607a03e490e67f81061f1f7be82f"},{"sha":"0e432c66f8ab9a96d7ac9bbb91dfe8a48485b051","author":{"email":"30ac7e9d34cbeb0437860186ca5724301c19a274@android.com","name":"Rom Lemarchand"},"message":"proc: make oom adjustment files user read-only\n\nMake oom_adj and oom_score_adj user read-only.\n\nBug: 19636629\n\nConflicts:\n   fs/proc/base.c\n\nSigned-off-by: Rom Lemarchand <romlem@google.com>\nSigned-off-by: Patrick Tjin <pattjin@google.com>\nChange-Id: I02bda099b3884105a0291b84b26bf9270bf48e22","distinct":true,"url":"https://api.github.com/repos/intervigilium/android_kernel_google_msm/commits/0e432c66f8ab9a96d7ac9bbb91dfe8a48485b051"},{"sha":"a0d75429b3c589e07d3e2e66885cb97b637fb4db","author":{"email":"368d0007e4626f70737d16df5e49ed8806b98c3f@google.com","name":"Mike Lockwood"},"message":"USB: gadget: midi: Fix deadlock unbinding driver while it is in use\n\nUsing snd_card_free_when_closed rather than snd_card_free in f_midi_unbind\nmakes it safe to disable the driver while a userspace client has the\nALSA device open.\n\nChange-Id: Ibc40c01e7b1ce90fc61d3ea654b4816fadfc7ffd\nSigned-off-by: Mike Lockwood <lockwood@google.com>","distinct":true,"url":"https://api.github.com/repos/intervigilium/android_kernel_google_msm/commits/a0d75429b3c589e07d3e2e66885cb97b637fb4db"},{"sha":"88d06bb291e586596872bb48b3489dae32d219fb","author":{"email":"368d0007e4626f70737d16df5e49ed8806b98c3f@google.com","name":"Mike Lockwood"},"message":"USB: gadget: f_audio_source: Rename symbols to avoid conflicts with f_midi\n\nChange-Id: I424b942d64c9f818351e49ee2150f466b9cc7f84\nSigned-off-by: Mike Lockwood <lockwood@google.com>","distinct":true,"url":"https://api.github.com/repos/intervigilium/android_kernel_google_msm/commits/88d06bb291e586596872bb48b3489dae32d219fb"},{"sha":"32d2db3b274139545952cf23d893c8ae54cd0b9f","author":{"email":"368d0007e4626f70737d16df5e49ed8806b98c3f@google.com","name":"Mike Lockwood"},"message":"USB: gadget: android: Integrate f_midi USB MIDI gadget driver\n\nChange-Id: I4c4b99f9d54314fc31445cf42b825527ca483af9\nSigned-off-by: Mike Lockwood <lockwood@google.com>","distinct":true,"url":"https://api.github.com/repos/intervigilium/android_kernel_google_msm/commits/32d2db3b274139545952cf23d893c8ae54cd0b9f"},{"sha":"aae918ce22b7b9e7ce72a787beac36628b3c1af2","author":{"email":"fa8048cf8a492157904bad3af5537885fbacf703@google.com","name":"Chad Jones"},"message":"Switch to 4.6 toolchain\n\nBug: 19797107\nChange-Id: Ia9b75ab56b5cb90b326ca6c1dd1976d567d19319","distinct":true,"url":"https://api.github.com/repos/intervigilium/android_kernel_google_msm/commits/aae918ce22b7b9e7ce72a787beac36628b3c1af2"},{"sha":"cb2f6323e7632ba8715b8a0731c5c066a6464f71","author":{"email":"d1996fe015c1f347dddf6c16199179596b8014db@codeaurora.org","name":"Naveen Ramaraj"},"message":"smd_pkt: Add sanity check to avoid unregistering the driver twice\n\nAttempting to unregister it again will cause a panic\n\nBug: 18759663\nChange-Id: Iff2adbc79136c55141f35b872cb70584d303a689\nSigned-off-by: Naveen Ramaraj <nramaraj@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/intervigilium/android_kernel_google_msm/commits/cb2f6323e7632ba8715b8a0731c5c066a6464f71"},{"sha":"687478a12d3e737583365b768cc1edca8c778a3a","author":{"email":"feca23b3ae4a60fef538f28252c4665e4a95e740@parrot.com","name":"Ivan Djelic"},"message":"ARM: 7668/1: fix memset-related crashes caused by recent GCC (4.7.2) optimizations\n\nRecent GCC versions (e.g. GCC-4.7.2) perform optimizations based on\nassumptions about the implementation of memset and similar functions.\nThe current ARM optimized memset code does not return the value of\nits first argument, as is usually expected from standard implementations.\n\nFor instance in the following function:\n\nvoid debug_mutex_lock_common(struct mutex *lock, struct mutex_waiter *waiter)\n{\n\tmemset(waiter, MUTEX_DEBUG_INIT, sizeof(*waiter));\n\twaiter->magic = waiter;\n\tINIT_LIST_HEAD(&waiter->list);\n}\n\ncompiled as:\n\n800554d0 <debug_mutex_lock_common>:\n800554d0:       e92d4008        push    {r3, lr}\n800554d4:       e1a00001        mov     r0, r1\n800554d8:       e3a02010        mov     r2, #16 ; 0x10\n800554dc:       e3a01011        mov     r1, #17 ; 0x11\n800554e0:       eb04426e        bl      80165ea0 <memset>\n800554e4:       e1a03000        mov     r3, r0\n800554e8:       e583000c        str     r0, [r3, #12]\n800554ec:       e5830000        str     r0, [r3]\n800554f0:       e5830004        str     r0, [r3, #4]\n800554f4:       e8bd8008        pop     {r3, pc}\n\nGCC assumes memset returns the value of pointer 'waiter' in register r0; causing\nregister/memory corruptions.\n\nThis patch fixes the return value of the assembly version of memset.\nIt adds a 'mov' instruction and merges an additional load+store into\nexisting load/store instructions.\nFor ease of review, here is a breakdown of the patch into 4 simple steps:\n\nStep 1\n======\nPerform the following substitutions:\nip -> r8, then\nr0 -> ip,\nand insert 'mov ip, r0' as the first statement of the function.\nAt this point, we have a memset() implementation returning the proper result,\nbut corrupting r8 on some paths (the ones that were using ip).\n\nStep 2\n======\nMake sure r8 is saved and restored when (! CALGN(1)+0) == 1:\n\nsave r8:\n-       str     lr, [sp, #-4]!\n+       stmfd   sp!, {r8, lr}\n\nand restore r8 on both exit paths:\n-       ldmeqfd sp!, {pc}               @ Now <64 bytes to go.\n+       ldmeqfd sp!, {r8, pc}           @ Now <64 bytes to go.\n(...)\n        tst     r2, #16\n        stmneia ip!, {r1, r3, r8, lr}\n-       ldr     lr, [sp], #4\n+       ldmfd   sp!, {r8, lr}\n\nStep 3\n======\nMake sure r8 is saved and restored when (! CALGN(1)+0) == 0:\n\nsave r8:\n-       stmfd   sp!, {r4-r7, lr}\n+       stmfd   sp!, {r4-r8, lr}\n\nand restore r8 on both exit paths:\n        bgt     3b\n-       ldmeqfd sp!, {r4-r7, pc}\n+       ldmeqfd sp!, {r4-r8, pc}\n(...)\n        tst     r2, #16\n        stmneia ip!, {r4-r7}\n-       ldmfd   sp!, {r4-r7, lr}\n+       ldmfd   sp!, {r4-r8, lr}\n\nStep 4\n======\nRewrite register list \"r4-r7, r8\" as \"r4-r8\".\n\nChange-Id: I79a0d6897572b693d50f8ea8a94aa331bfcc59f8\nGit-Commit: 455bd4c430b0c0a361f38e8658a0d6cb469942b5\nGit-Repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git\nSigned-off-by: Ivan Djelic <ivan.djelic@parrot.com>\nReviewed-by: Nicolas Pitre <nico@linaro.org>\nSigned-off-by: Dirk Behme <dirk.behme@gmail.com>\nSigned-off-by: Russell King <rmk+kernel@arm.linux.org.uk>\nSigned-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/intervigilium/android_kernel_google_msm/commits/687478a12d3e737583365b768cc1edca8c778a3a"},{"sha":"facee85534ee80de400e5f104c08cf8f2773c23e","author":{"email":"408789a210b05fb3b46935e815320d62ba00a06e@linaro.org","name":"Nicolas Pitre"},"message":"ARM: 7670/1: fix the memset fix\n\nCommit 455bd4c430b0 (\"ARM: 7668/1: fix memset-related crashes caused by\nrecent GCC (4.7.2) optimizations\") attempted to fix a compliance issue\nwith the memset return value.  However the memset itself became broken\nby that patch for misaligned pointers.\n\nThis fixes the above by branching over the entry code from the\nmisaligned fixup code to avoid reloading the original pointer.\n\nAlso, because the function entry alignment is wrong in the Thumb mode\ncompilation, that fixup code is moved to the end.\n\nWhile at it, the entry instructions are slightly reworked to help dual\nissue pipelines.\n\nChange-Id: I5db45a7de1e389bacb5d6e4513c0d446ae2c9440\nGit-Commit: 418df63adac56841ef6b0f1fcf435bc64d4ed177\nGit-Repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git\nSigned-off-by: Nicolas Pitre <nico@linaro.org>\nTested-by: Alexander Holler <holler@ahsoftware.de>\nSigned-off-by: Russell King <rmk+kernel@arm.linux.org.uk>\nSigned-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/intervigilium/android_kernel_google_msm/commits/facee85534ee80de400e5f104c08cf8f2773c23e"},{"sha":"a8a59260c7d151b970564d4623bb04e4d38f276c","author":{"email":"4e8e9224f920d8ee7a72dfc715fd0eb121ef81f6@google.com","name":"Ed Tam"},"message":"Revert \"Switch to 4.6 toolchain\"\n\nThis reverts commit aae918ce22b7b9e7ce72a787beac36628b3c1af2.\n\nIssue building with 4.8 toolchain fixed.","distinct":true,"url":"https://api.github.com/repos/intervigilium/android_kernel_google_msm/commits/a8a59260c7d151b970564d4623bb04e4d38f276c"},{"sha":"27d69b13a3800902c1658cc066113f97e7665118","author":{"email":"cdd9fa42ea415a7599cd10720eaffbcd5c02e90a@chromium.org","name":"Petr Cermak"},"message":"fs/proc/task_mmu.c: add user-space support for resetting mm->hiwater_rss (peak RSS)\n\nPeak resident size of a process can be reset back to the process's\ncurrent rss value by writing \"5\" to /proc/pid/clear_refs.  The driving\nuse-case for this would be getting the peak RSS value, which can be\nretrieved from the VmHWM field in /proc/pid/status, per benchmark\niteration or test scenario.\n\nOrigin:\nhttps://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=695f055936938c674473ea071ca7359a863551e7\n\n[akpm@linux-foundation.org: clarify behaviour in documentation]\nSigned-off-by: Petr Cermak <petrcermak@chromium.org>\nCc: Bjorn Helgaas <bhelgaas@google.com>\nCc: Primiano Tucci <primiano@chromium.org>\nCc: Petr Cermak <petrcermak@chromium.org>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>\nChange-Id: I06f83ce2d3d003ff67aced16d2710e4f88eb3af4","distinct":true,"url":"https://api.github.com/repos/intervigilium/android_kernel_google_msm/commits/27d69b13a3800902c1658cc066113f97e7665118"},{"sha":"eaa9eca51b2c09d3f1e021a187e0e835ba3cd86b","author":{"email":"33837adfb53316eae44aad04041e1240088d76fd@linaro.org","name":"John Stultz"},"message":"staging: Remove the Android logger driver\n\nWith the relase of Lollipop, Android no longer\nrequires the logger driver.\n\nThere are three patches which the android dev's\nstill need before they drop logger on all their\ndevices:\n\n[PATCH v4 1/5] pstores: use scnprintf\n[PATCH v2 2/5] pstore: remove superfluous memory size check\n[PATCH 3/5] pstore: handle zero-sized prz in series\n[PATCH v4 4/5] pstore: add pmsg\n[PATCH 5/5] pstore: selinux: add security in-core xattr support for pstore and debugfs\n\nBut these seem to have been acked and are hopefully\nqueued for upstream.\n\nSo this patch removes the logger driver from staging.\n\nCc: Rom Lemarchand <romlem@google.com>,\nCc: Mark Salyzyn <salyzyn@google.com>\nCc: Kees Cook <keescook@chromium.org>\nCc: Android Kernel Team <kernel-team@android.com>\nSigned-off-by: John Stultz <john.stultz@linaro.org>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nBug: 13505761\nChange-Id: I21b6897f01871851e05b6eb53c7c08a1cb597e3e","distinct":true,"url":"https://api.github.com/repos/intervigilium/android_kernel_google_msm/commits/eaa9eca51b2c09d3f1e021a187e0e835ba3cd86b"},{"sha":"f3d0077557f43d8ff86f15fd524b7ec6a8788079","author":{"email":"33837adfb53316eae44aad04041e1240088d76fd@linaro.org","name":"John Stultz"},"message":"staging: Remove the Android alarm-dev driver\n\nThe functionality provided by the Android alarm-dev driver\nshould now be present in the timerfd interface (thanks to\nGreg Hackmann and Todd Poynor).\n\nAs of Lollipop, AOSP can make use of the timerfd if\nalarm-dev is not present (though a fixup for setting the\nrtc time if rtc0 isn't the backing for _ALARM clockids has\nbeen applied post-Lollipop).\n\nThus, we should be able to remove alarm-dev from staging.\n\nCc: Greg Hackmann <ghackmann@google.com>\nCc: Elliott Hughes <enh@google.com>\nCc: Todd Poynor <toddpoynor@google.com>\nCc: Android Kernel Team <kernel-team@android.com>\nSigned-off-by: John Stultz <john.stultz@linaro.org>\nAcked-by: Mark Salyzyn <salyzyn@google.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nChange-Id: Ia905d4b809cc1614ddde01ccb791fc56ac292fa8","distinct":true,"url":"https://api.github.com/repos/intervigilium/android_kernel_google_msm/commits/f3d0077557f43d8ff86f15fd524b7ec6a8788079"},{"sha":"c8710c4356cd26d3da24fe629e32f25a7fe429a5","author":{"email":"33837adfb53316eae44aad04041e1240088d76fd@linaro.org","name":"John Stultz"},"message":"staging: Remove logger and alarm-dev from android Makefile\n\nMy previous patches deleting logger and alarm-dev from staging\nmissed the android Makefile.\n\nThis patch cleans up the Makefile to remove the now non-existent\nfiles.\n\nCc: Rom Lemarchand <romlem@google.com>,\nCc: Mark Salyzyn <salyzyn@google.com>,\nCc: Kees Cook <keescook@chromium.org>,\nCc: Android Kernel Team <kernel-team@android.com>,\nCc: Valentin Rothberg <valentinrothberg@gmail.com>,\nCc: Greg Hackmann <ghackmann@google.com>,\nCc: Elliott Hughes <enh@google.com>,\nCc: Todd Poynor <toddpoynor@google.com>,\nReported-by: Paul Bolle <pebolle@tiscali.nl>\nSigned-off-by: John Stultz <john.stultz@linaro.org>\nAcked-by: Kees Cook <keescook@chromium.org>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nBug: 13505761\nChange-Id: Id8c027ce51a663ee2e9ea2618612921db7cf7636","distinct":true,"url":"https://api.github.com/repos/intervigilium/android_kernel_google_msm/commits/c8710c4356cd26d3da24fe629e32f25a7fe429a5"},{"sha":"6353f3cfc738e1c3101581011584505f5a39f74c","author":{"email":"4bb1064d1f46929ded0070376617aece30f0ee54@google.com","name":"Mark Salyzyn"},"message":"android: base-cfg: disable ALARM_DEV\n\nSigned-off-by: Mark Salyzyn <salyzyn@google.com>\nChange-Id: If8d324ffdb4ebd56e5d68876f8e229547e20eaf6","distinct":true,"url":"https://api.github.com/repos/intervigilium/android_kernel_google_msm/commits/6353f3cfc738e1c3101581011584505f5a39f74c"}]}