{"push_id":1100496296,"size":2,"distinct_size":2,"ref":"refs/heads/cm-13.0-caf","head":"15da4f679560230d656da0a8e13149981c434bf3","before":"5132d6da7fca5cc26945e55a88dbd8dd781ca0be","commits":[{"sha":"75baf0cad782f18b51301616853ff64aedf54849","author":{"email":"010521127f513270fe503d86ab8316ac5147f4b7@codeaurora.org","name":"Stephen Boyd"},"message":"sched_clock: Make ARM's sched_clock generic for all architectures\n\nNothing about the sched_clock implementation in the ARM port is\nspecific to the architecture. Generalize the code so that other\narchitectures can use it by selecting GENERIC_SCHED_CLOCK.\n\nSigned-off-by: Stephen Boyd <sboyd@codeaurora.org>\n[jstultz: Merge minor collisions with other patches in my tree]\nSigned-off-by: John Stultz <john.stultz@linaro.org>\nGit-commit: 38ff87f77af0b5a93fc8581cff1d6e5692ab8970\nGit-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git\n[imaund@codeaurora.org: resolve merge conflicts]\nSigned-off-by: Ian Maund <imaund@codeaurora.org>\n\nChange-Id: I6bb0dcead2d36ca87050bcea1b0dd6473bb1ea28","distinct":true,"url":"https://api.github.com/repos/CyanogenMod/android_kernel_lge_hammerhead/commits/75baf0cad782f18b51301616853ff64aedf54849"},{"sha":"15da4f679560230d656da0a8e13149981c434bf3","author":{"email":"010521127f513270fe503d86ab8316ac5147f4b7@codeaurora.org","name":"Stephen Boyd"},"message":"ARM: sched_clock: Load cycle count after epoch stabilizes\n\nThere is a small race between when the cycle count is read from\nthe hardware and when the epoch stabilizes. Consider this\nscenario:\n\n CPU0                           CPU1\n ----                           ----\n cyc = read_sched_clock()\n cyc_to_sched_clock()\n                                 update_sched_clock()\n                                  ...\n                                  cd.epoch_cyc = cyc;\n  epoch_cyc = cd.epoch_cyc;\n  ...\n  epoch_ns + cyc_to_ns((cyc - epoch_cyc)\n\nThe cyc on cpu0 was read before the epoch changed. But we\ncalculate the nanoseconds based on the new epoch by subtracting\nthe new epoch from the old cycle count. Since epoch is most likely\nlarger than the old cycle count we calculate a large number that\nwill be converted to nanoseconds and added to epoch_ns, causing\ntime to jump forward too much.\n\nFix this problem by reading the hardware after the epoch has\nstabilized.\n\nChange-Id: I0340cab036063196b9c9584ea51155401e62ffe8\nCc: Russell King <linux@arm.linux.org.uk>\nSigned-off-by: Stephen Boyd <sboyd@codeaurora.org>\nSigned-off-by: John Stultz <john.stultz@linaro.org>\nGit-commit: 336ae1180df5f69b9e0fb6561bec01c5f64361cf\nGit-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git\nSigned-off-by: Ian Maund <imaund@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/CyanogenMod/android_kernel_lge_hammerhead/commits/15da4f679560230d656da0a8e13149981c434bf3"}]}