{"push_id":920337488,"size":250,"distinct_size":250,"ref":"refs/heads/cm-13-stable-release","head":"eb892973818e285b9906948a8226bac52c24cff6","before":"9836c8c47d67de8b9eb6b59afc58e1ab00c7e7ce","commits":[{"sha":"b0d1c654f6aab60038cd38431f124a269324d72f","author":{"email":"33837adfb53316eae44aad04041e1240088d76fd@linaro.org","name":"John Stultz"},"message":"staging: android-alarm: Switch from wakelocks to wakeup sources\n\nIn their current AOSP tree, the Android in-kernel wakelock\ninfrastructure has been reimplemented in terms of wakeup\nsources:\nhttp://git.linaro.org/gitweb?p=people/jstultz/android.git;a=commitdiff;h=e9911f4efdc55af703b8b3bb8c839e6f5dd173bb\n\nThe Android alarm driver currently has stubbed out calls\nto wakelock functionality. So this patch simply converts\nthe stubbed out wakelock calls to wakeup source calls, and\nremoves the empty wakelock macros\n\nGreg, would you mind queuing this in staging-next?\n\nChange-Id: Iadb60fc7a581bd41c37bed3fc167d3fdc7542145\nCC: Colin Cross <ccross@android.com>\nCC: Arve Hjønnevåg <arve@android.com>\nCC: Greg KH <gregkh@linuxfoundation.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>","distinct":true,"url":"https://api.github.com/repos/hurtsky/android_kernel_motorola_msm8226/commits/b0d1c654f6aab60038cd38431f124a269324d72f"},{"sha":"308838a7f62e99cb52825b4f6534de610e00cb87","author":{"email":"16a9a54ddf4259952e3c118c763138e83693d7fd@perches.com","name":"Joe Perches"},"message":"Staging: android: alarm: Rename pr_alarm to alarm_dbg\n\nRename a macro to make it explicit it's for debugging.\n\nUse %s: __func__ instead of embedding function names.\nCoalesce formats, align arguments.\n\nChange-Id: Iab53821799f227b74b8cc484063437c5990d029b\nSigned-off-by: Joe Perches <joe@perches.com>\nAcked-by: David Rientjes <rientjes@google.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/hurtsky/android_kernel_motorola_msm8226/commits/308838a7f62e99cb52825b4f6534de610e00cb87"},{"sha":"28eb73aed93e9ab80dcce1cf97eb81f85223e39d","author":{"email":"1c3b1584a6008857f36c03c58f657c0fc16fc09e@linaro.org","name":"Sachin Kamat"},"message":"staging: Android: Fix NULL pointer related warning in alarm-dev.c file\n\nFixes the following sparse warning:\ndrivers/staging/android/alarm-dev.c:259:35: warning: Using plain integer as NULL pointer\n\nChange-Id: Ifcef68832713fcc2f4670d01e6ebaca76d7d1898\nCc: Brian Swetland <swetland@google.com>\nSigned-off-by: Sachin Kamat <sachin.kamat@linaro.org>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/hurtsky/android_kernel_motorola_msm8226/commits/28eb73aed93e9ab80dcce1cf97eb81f85223e39d"},{"sha":"882eda68a92453321db41f5e941365128ba958a0","author":{"email":"97fdf9fb34d40445b99f4e064a18057cd6e2bccb@gmail.com","name":"Devendra Naga"},"message":"staging: android: alarm: remove unnecessary goto statement\n\nChange-Id: I835b751471945ad6f210347d5556fd3c24e954a5\nSigned-off-by: Devendra Naga <devendra.aaru@gmail.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/hurtsky/android_kernel_motorola_msm8226/commits/882eda68a92453321db41f5e941365128ba958a0"},{"sha":"157a357c573234009d176a381ad46b4b3739cf32","author":{"email":"bfd0c0f30caaca073aa4d62d446a18e495772ca4@velatum.com","name":"Dae S. Kim"},"message":"Staging: android: Alarm driver cleanups\n\nLittle cleanups. Enum value ANDROID_ALARM_TYPE_COUNT was treated as\nan alarm type within a switch statement. That condition was unreachable\nthough.\n\nChange-Id: I20db6bfdd2467845852402c1d2c8d3027ee85679\nSigned-off-by: Dae S. Kim <dae@velatum.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/hurtsky/android_kernel_motorola_msm8226/commits/157a357c573234009d176a381ad46b4b3739cf32"},{"sha":"3939b95fd47d517ff3d9fabaffc33e4c30c56e6a","author":{"email":"33837adfb53316eae44aad04041e1240088d76fd@linaro.org","name":"John Stultz"},"message":"staging: alarm-dev: Drop pre Android 1.0 _OLD ioctls\n\nPer Colin's comment:\n\"The \"support old userspace code\" comment for those two ioctls has\nbeen there since pre-Android 1.0.  Those apis are not exposed to\nAndroid apps, I don't see any problem deleting them.\"\n\nThus this patch removes the ANDROID_ALARM_SET_OLD and\nANDROID_ALARM_SET_AND_WAIT_OLD ioctl compatability\nlogic.\n\nChange-Id: Ibb588c2e70188f939648f9a86e4990529948df0f\nCc: Serban Constantinescu <serban.constantinescu@arm.com>\nCc: Arve Hjønnevåg <arve@android.com>\nCc: Colin Cross <ccross@google.com>\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>","distinct":true,"url":"https://api.github.com/repos/hurtsky/android_kernel_motorola_msm8226/commits/3939b95fd47d517ff3d9fabaffc33e4c30c56e6a"},{"sha":"5511845deacaba44cb314638d68106fdc935068f","author":{"email":"33837adfb53316eae44aad04041e1240088d76fd@linaro.org","name":"John Stultz"},"message":"staging: alarm-dev: Refactor alarm-dev ioctl code in prep for compat_ioctl\n\nCleanup the Android alarm-dev driver's ioctl code to refactor it\nin preparation for compat_ioctl support.\n\nChange-Id: Id70c2622b49a824023bc0d38d114ffb540ccdb84\nCc: Serban Constantinescu <serban.constantinescu@arm.com>\nCc: Arve Hjønnevåg <arve@android.com>\nCc: Colin Cross <ccross@google.com>\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>","distinct":true,"url":"https://api.github.com/repos/hurtsky/android_kernel_motorola_msm8226/commits/5511845deacaba44cb314638d68106fdc935068f"},{"sha":"57d931ff6fb963a61654589d98debf25c9e8d7e5","author":{"email":"33837adfb53316eae44aad04041e1240088d76fd@linaro.org","name":"John Stultz"},"message":"staging: alarm-dev: Implement compat_ioctl support\n\nImplement compat_ioctl support for the alarm-dev ioctl.\n\nChange-Id: Ife3b2d75e2bef1ee3dc2651f89f5f6ab270066d5\nCc: Serban Constantinescu <serban.constantinescu@arm.com>\nCc: Arve Hjønnevåg <arve@android.com>\nCc: Colin Cross <ccross@google.com>\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>","distinct":true,"url":"https://api.github.com/repos/hurtsky/android_kernel_motorola_msm8226/commits/57d931ff6fb963a61654589d98debf25c9e8d7e5"},{"sha":"cdd80e38108a50716ab13b86e07bf3783cb12dae","author":{"email":"ff341aa343d564f9e53e9dcb6996be8c04859a66@oracle.com","name":"Dan Carpenter"},"message":"staging: alarm-dev: information leak in alarm_ioctl()\n\nSmatch complains that if we pass an invalid clock type then \"ts\" is\nnever set.  We need to check for errors earlier, otherwise we end up\npassing uninitialized stack data to userspace.\n\nChange-Id: Ie3274393e2700c3c505a41d6de1cfcfe2d86fd3e\nSigned-off-by: Dan Carpenter <dan.carpenter@oracle.com>\nAcked-by: John Stultz <john.stultz@linaro.org>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/hurtsky/android_kernel_motorola_msm8226/commits/cdd80e38108a50716ab13b86e07bf3783cb12dae"},{"sha":"25beb69dbdbb5237d5dac1853485f0e146fe82cc","author":{"email":"ff341aa343d564f9e53e9dcb6996be8c04859a66@oracle.com","name":"Dan Carpenter"},"message":"staging: alarm-dev: information leak in alarm_compat_ioctl()\n\nIf we pass an invalid clock type then \"ts\" is never set.  We need to\ncheck for errors earlier, otherwise we end up passing uninitialized\nstack data to userspace.\n\nChange-Id: I08606fa70af6500e443927138be2cdf4e625f1db\nReported-by: John Stultz <john.stultz@linaro.org>\nSigned-off-by: Dan Carpenter <dan.carpenter@oracle.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/hurtsky/android_kernel_motorola_msm8226/commits/25beb69dbdbb5237d5dac1853485f0e146fe82cc"},{"sha":"872c5ad5185f76a91504574c4476648d83e030ed","author":{"email":"57cb0497077c01018e8c022963d2feeac2e977b4@google.com","name":"Todd Poynor"},"message":"alarmtimer: Implement minimum alarm interval for allowing suspend\n\nalarmtimer suspend return -EBUSY if the next alarm will fire in less\nthan 2 seconds.  This allows one RTC seconds tick to occur subsequent\nto this check before the alarm wakeup time is set, ensuring the wakeup\ntime is still in the future (assuming the RTC does not tick one more\nsecond prior to setting the alarm).\n\nIf suspend is rejected due to an imminent alarm, hold a wakeup source\nfor 2 seconds to process the alarm prior to reattempting suspend.\n\nIf setting the alarm incurs an -ETIME for an alarm set in the past,\nor any other problem setting the alarm, abort suspend and hold a\nwakelock for 1 second while the alarm is allowed to be serviced or\nother hopefully transient conditions preventing the alarm clear up.\n\nChange-Id: I14a0fe19d40a31d8dd238d35b892042e5c23f1f9\nSigned-off-by: Todd Poynor <toddpoynor@google.com>\nSigned-off-by: John Stultz <john.stultz@linaro.org>","distinct":true,"url":"https://api.github.com/repos/hurtsky/android_kernel_motorola_msm8226/commits/872c5ad5185f76a91504574c4476648d83e030ed"},{"sha":"9f177817c28b5d16d34c771b36ba2356a3065f90","author":{"email":"33837adfb53316eae44aad04041e1240088d76fd@linaro.org","name":"John Stultz"},"message":"alarmtimer: Use hrtimer per-alarm instead of per-base\n\nArve Hjønnevåg reported numerous crashes from the\n\"BUG_ON(timer->state != HRTIMER_STATE_CALLBACK)\" check\nin __run_hrtimer after it called alarmtimer_fired.\n\nIt ends up the alarmtimer code was not properly handling\npossible failures of hrtimer_try_to_cancel, and because\nthese faulres occur when the underlying base hrtimer is\nbeing run, this limits the ability to properly handle\nmodifications to any alarmtimers on that base.\n\nBecause much of the logic duplicates the hrtimer logic,\nit seems that we might as well have a per-alarmtimer\nhrtimer, and avoid the extra complextity of trying to\nmultiplex many alarmtimers off of one hrtimer.\n\nThus this patch moves the hrtimer to the alarm structure\nand simplifies the management logic.\n\nChangelog:\nv2:\n* Includes a fix for double alarm_start calls found by\n  Arve\n\nChange-Id: Idb77869b3da2e742cf177604d61d15aaa10be79f\nCc: Arve Hjønnevåg <arve@android.com>\nCc: Colin Cross <ccross@android.com>\nCc: Thomas Gleixner <tglx@linutronix.de>\nReported-by: Arve Hjønnevåg <arve@android.com>\nTested-by: Arve Hjønnevåg <arve@android.com>\nSigned-off-by: John Stultz <john.stultz@linaro.org>","distinct":true,"url":"https://api.github.com/repos/hurtsky/android_kernel_motorola_msm8226/commits/9f177817c28b5d16d34c771b36ba2356a3065f90"},{"sha":"82e7aa84efef26e87869ba91d33307011fcc8215","author":{"email":"33837adfb53316eae44aad04041e1240088d76fd@linaro.org","name":"John Stultz"},"message":"alarmtimer: Rename alarmtimer_remove to alarmtimer_dequeue\n\nNow that alarmtimer_remove has been simplified, change\nits name to _dequeue to better match its paired _enqueue\nfunction.\n\nChange-Id: I813bebfde8114937ac5f8e36de6d7c30884a92d1\nCc: Arve Hjønnevåg <arve@android.com>\nCc: Colin Cross <ccross@android.com>\nCc: Thomas Gleixner <tglx@linutronix.de>\nSigned-off-by: John Stultz <john.stultz@linaro.org>","distinct":true,"url":"https://api.github.com/repos/hurtsky/android_kernel_motorola_msm8226/commits/82e7aa84efef26e87869ba91d33307011fcc8215"},{"sha":"29567f7c53a16c8fb4cedf5d7d07907e671599bd","author":{"email":"57cb0497077c01018e8c022963d2feeac2e977b4@google.com","name":"Todd Poynor"},"message":"alarmtimer: add alarm_restart\n\nAnalogous to hrtimer_restart, restart an alarmtimer after the expires\ntime has already been updated (as with alarm_forward).\n\nChange-Id: Ia2613bbb467404cb2c35c11efa772bc56294963a\nSigned-off-by: Todd Poynor <toddpoynor@google.com>","distinct":true,"url":"https://api.github.com/repos/hurtsky/android_kernel_motorola_msm8226/commits/29567f7c53a16c8fb4cedf5d7d07907e671599bd"},{"sha":"d0bf4b5070c6e0dcd0d9a50f76f5e5a6c3f38f15","author":{"email":"57cb0497077c01018e8c022963d2feeac2e977b4@google.com","name":"Todd Poynor"},"message":"alarmtimer: add alarm_forward_now\n\nSimilar to hrtimer_forward_now, move the expires time forward to an\ninterval from the current time of the associated clock.\n\nChange-Id: I73fed223321167507b6eddcb7a57d235ffcfc1be\nSigned-off-by: Todd Poynor <toddpoynor@google.com>","distinct":true,"url":"https://api.github.com/repos/hurtsky/android_kernel_motorola_msm8226/commits/d0bf4b5070c6e0dcd0d9a50f76f5e5a6c3f38f15"},{"sha":"5982172afd522267c6149d5a0bf7c6324f106fd1","author":{"email":"57cb0497077c01018e8c022963d2feeac2e977b4@google.com","name":"Todd Poynor"},"message":"alarmtimer: add alarm_start_relative\n\nStart an alarmtimer with an expires time relative to the current time\nof the associated clock.\n\nChange-Id: Ifb5309a15e0d502bb4d0209ca5510a56ee7fa88c\nSigned-off-by: Todd Poynor <toddpoynor@google.com>","distinct":true,"url":"https://api.github.com/repos/hurtsky/android_kernel_motorola_msm8226/commits/5982172afd522267c6149d5a0bf7c6324f106fd1"},{"sha":"f62e678e3ce22308baee72192b6f27cfc27ad4a7","author":{"email":"57cb0497077c01018e8c022963d2feeac2e977b4@google.com","name":"Todd Poynor"},"message":"alarmtimer: add alarm_expires_remaining\n\nSimilar to hrtimer_expires_remaining, return the amount of time\nremaining until alarm expiry.\n\nChange-Id: I8c57512d619ac66bcdaf2d9ccdf0d7f74af2ff66\nSigned-off-by: Todd Poynor <toddpoynor@google.com>","distinct":true,"url":"https://api.github.com/repos/hurtsky/android_kernel_motorola_msm8226/commits/f62e678e3ce22308baee72192b6f27cfc27ad4a7"},{"sha":"30044f746bb92227a51c6bf9622040d5c12cc7e6","author":{"email":"17bca5cc46c9e990afc426470e01722e3867bfcd@codeaurora.org","name":"Xiaocheng Li"},"message":"alarmtimer: add rtc irq support for alarm\n\nAdd the rtc irq support for alarmtimer to wakeup the\nalarm during system suspend.\n\nChange-Id: I41b774ed4e788359321e1c6a564551cc9cd40c8e\nSigned-off-by: Xiaocheng Li <lix@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/hurtsky/android_kernel_motorola_msm8226/commits/30044f746bb92227a51c6bf9622040d5c12cc7e6"},{"sha":"df106280e9748c18167b89e2a9616749c5fab2e8","author":{"email":"70a1d3ef3e17a2bb0f09a1b2e6c86f607ed1d6d9@jp.fujitsu.com","name":"KOSAKI Motohiro"},"message":"alarmtimer: return EINVAL instead of ENOTSUPP if rtcdev doesn't exist\n\ncommit 98d6f4dd84a134d942827584a3c5f67ffd8ec35f upstream.\n\nFedora Ruby maintainer reported latest Ruby doesn't work on Fedora Rawhide\non ARM. (http://bugs.ruby-lang.org/issues/9008)\n\nBecause of, commit 1c6b39ad3f (alarmtimers: Return -ENOTSUPP if no\nRTC device is present) intruduced to return ENOTSUPP when\nclock_get{time,res} can't find a RTC device. However this is incorrect.\n\nFirst, ENOTSUPP isn't exported to userland (ENOTSUP or EOPNOTSUP are the\nclosest userland equivlents).\n\nSecond, Posix and Linux man pages agree that clock_gettime and\nclock_getres should return EINVAL if clk_id argument is invalid.\nWhile the arugment that the clockid is valid, but just not supported\non this hardware could be made, this is just a technicality that\ndoesn't help userspace applicaitons, and only complicates error\nhandling.\n\nThus, this patch changes the code to use EINVAL.\n\nChange-Id: I688817145c4a8aa886e67f6652ace3a447b7de75\nCc: Thomas Gleixner <tglx@linutronix.de>\nCc: Frederic Weisbecker <fweisbec@gmail.com>\nReported-by: Vit Ondruch <v.ondruch@tiscali.cz>\nSigned-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>\n[jstultz: Tweaks to commit message to include full rational]\nSigned-off-by: John Stultz <john.stultz@linaro.org>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/hurtsky/android_kernel_motorola_msm8226/commits/df106280e9748c18167b89e2a9616749c5fab2e8"},{"sha":"95800dd4e1311e23738bd2b4f82e9f46e4f1c34d","author":{"email":"45d857216ef082c1ddfd5d3991b4f3d23f51761f@arcor.de","name":"myfluxi"},"message":"Revert \"HACK: time: Disable alarmtimer\"\n\nThis reverts commit abbb445f65bbb139202fde5a66f9a249977058c9.\n\nChange-Id: I9bd3fe2a04d91809d003db23a4b8abd8c1653ff9","distinct":true,"url":"https://api.github.com/repos/hurtsky/android_kernel_motorola_msm8226/commits/95800dd4e1311e23738bd2b4f82e9f46e4f1c34d"}]}