{"push_id":1270900937,"size":8,"distinct_size":8,"ref":"refs/heads/experiment","head":"adfbbf62f2dc29496c5faed6ac5071e2f1620c9a","before":"ac85f6fc1c3ac07b4870e6072c8d40d322433d0b","commits":[{"sha":"27536fce0493fd53c603c244b8982551be9e429f","author":{"name":"Shawn Guo","email":"44d7acaa3f4e23fe307094648d49a2fc39e70f10@linaro.org"},"message":"clockevents: export clockevents_config_and_register for module use\n\nclockevents_config_and_register is a handy helper for clockevent\ndrivers, some of which might support module build, so export the symbol.\n\nSigned-off-by: Shawn Guo <shawn.guo@linaro.org>\nAcked-by: Arnd Bergmann <arnd@arndb.de>\nReviewed-by: Thomas Gleixner <tglx@linutronix.de>\nSigned-off-by: Olof Johansson <olof@lixom.net>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":true,"url":"https://api.github.com/repos/tunturn/Z3kernel/commits/27536fce0493fd53c603c244b8982551be9e429f"},{"sha":"60d3101d59c140e1465b7970691365c0b0062258","author":{"name":"Thomas Gleixner","email":"352b5f5ba0189d2583768a9bb8247f98115b9038@linutronix.de"},"message":"clockevents: Move the tick_notify() switch case to clockevents_notify()\n\nNo need to call another function and have duplicated cases.\n\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nCc: John Stultz <john.stultz@linaro.org>\nCc: Magnus Damm <magnus.damm@gmail.com>\nLink: http://lkml.kernel.org/r/20130425143436.235746557@linutronix.de\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":true,"url":"https://api.github.com/repos/tunturn/Z3kernel/commits/60d3101d59c140e1465b7970691365c0b0062258"},{"sha":"a63e39ae5802a2f1d05671e7767f8f4d792220f0","author":{"name":"Thomas Gleixner","email":"352b5f5ba0189d2583768a9bb8247f98115b9038@linutronix.de"},"message":"clockevents: Provide sysfs interface\n\nProvide a simple sysfs interface for the clockevent devices. Show the\ncurrent active clockevent device.\n\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nCc: John Stultz <john.stultz@linaro.org>\nCc: Magnus Damm <magnus.damm@gmail.com>\nLink: http://lkml.kernel.org/r/20130425143436.371634778@linutronix.de\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":true,"url":"https://api.github.com/repos/tunturn/Z3kernel/commits/a63e39ae5802a2f1d05671e7767f8f4d792220f0"},{"sha":"54373d066df3ba6ca046dfd7a1dad3703895863f","author":{"name":"Thomas Gleixner","email":"352b5f5ba0189d2583768a9bb8247f98115b9038@linutronix.de"},"message":"clockevents: Serialize calls to clockevents_update_freq() in the core\n\nWe can identify the broadcast device in the core and serialize all\ncallers including interrupts on a different CPU against the update.\nAlso, disabling interrupts is moved into the core allowing callers to\nleave interrutps enabled when calling clockevents_update_freq().\n\nSigned-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>\nCc: linux-arm-kernel@lists.infradead.org\nCc: Soeren Brinkmann <soren.brinkmann@xilinx.com>\nCc: Daniel Lezcano <daniel.lezcano@linaro.org>\nCc: Michal Simek <michal.simek@xilinx.com>\nLink: http://lkml.kernel.org/r/1391466877-28908-2-git-send-email-soren.brinkmann@xilinx.com\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":true,"url":"https://api.github.com/repos/tunturn/Z3kernel/commits/54373d066df3ba6ca046dfd7a1dad3703895863f"},{"sha":"39af2f57986de7dedca92327cfe3f7e948d3f8db","author":{"name":"Soren Brinkmann","email":"33f40dd66893b55edbfa29cb1b4b76fc26c24299@xilinx.com"},"message":"clockevents: Adjust timer interval when frequency changes\n\nclockevent devices in periodic mode are not updated when the frequency\nof the device changes. Issue a dev->set_mode() callback which forces\nthe device to reevaluate the timer settings.\n\nSigned-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>\nCc: linux-arm-kernel@lists.infradead.org\nCc: Daniel Lezcano <daniel.lezcano@linaro.org>\nCc: Michal Simek <michal.simek@xilinx.com>\nLink: http://lkml.kernel.org/r/1391466877-28908-3-git-send-email-soren.brinkmann@xilinx.com\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":true,"url":"https://api.github.com/repos/tunturn/Z3kernel/commits/39af2f57986de7dedca92327cfe3f7e948d3f8db"},{"sha":"2a78122a506a813e424568cd43044e10de67f908","author":{"name":"Preeti U Murthy","email":"b9720af448ad8bdb231acb3f08c7fda120f2f8f5@linux.vnet.ibm.com"},"message":"time: Change the return type of clockevents_notify() to integer\n\nThe broadcast framework can potentially be made use of by archs which do not have an\nexternal clock device as well. Then, it is required that one of the CPUs need\nto handle the broadcasting of wakeup IPIs to the CPUs in deep idle. As a\nresult its local timers should remain functional all the time. For such\na CPU, the BROADCAST_ENTER notification has to fail indicating that its clock\ndevice cannot be shutdown. To make way for this support, change the return\ntype of tick_broadcast_oneshot_control() and hence clockevents_notify() to\nindicate such scenarios.\n\nSigned-off-by: Preeti U Murthy <preeti@linux.vnet.ibm.com>\nCc: deepthi@linux.vnet.ibm.com\nCc: paulmck@linux.vnet.ibm.com\nCc: fweisbec@gmail.com\nCc: paulus@samba.org\nCc: srivatsa.bhat@linux.vnet.ibm.com\nCc: svaidy@linux.vnet.ibm.com\nCc: peterz@infradead.org\nCc: benh@kernel.crashing.org\nCc: rafael.j.wysocki@intel.com\nCc: linuxppc-dev@lists.ozlabs.org\nLink: http://lkml.kernel.org/r/20140207080606.17187.78306.stgit@preeti.in.ibm.com\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":true,"url":"https://api.github.com/repos/tunturn/Z3kernel/commits/2a78122a506a813e424568cd43044e10de67f908"},{"sha":"a6a4fd01cce4f611c762cac4f7515a4f3932c561","author":{"name":"Thomas Gleixner","email":"352b5f5ba0189d2583768a9bb8247f98115b9038@linutronix.de"},"message":"tick: Cure broadcast false positive pending bit warning\n\ncommit (tick: Avoid programming the local cpu timer if\nbroadcast pending) added a warning if the cpu enters broadcast mode\nagain while the pending bit is still set. Meelis reported that the\nwarning triggers. There are two corner cases which have been not\nconsidered:\n\n1) cpuidle calls clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER)\n   twice. That can result in the following scenario\n\n   CPU0                    CPU1\n                           cpuidle_idle_call()\n                             clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER)\n                               set cpu in tick_broadcast_oneshot_mask\n\n   broadcast interrupt\n     event expired for cpu1\n     set pending bit\n\n                             acpi_idle_enter_simple()\n                               clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER)\n                                 WARN_ON(pending bit)\n\n  Move the WARN_ON into the section where we enter broadcast mode so\n  it wont provide false positives on the second call.\n\n2) safe_halt() enables interrupts, so a broadcast interrupt can be\n   delivered befor the broadcast mode is disabled. That sets the\n   pending bit for the CPU which receives the broadcast\n   interrupt. Though the interrupt is delivered right away from the\n   broadcast handler and leaves the pending bit stale.\n\n   Clear the pending bit for the current cpu in the broadcast handler.\n\nReported-and-tested-by: Meelis Roos <mroos@linux.ee>\nCc: Len Brown <lenb@kernel.org>\nCc: Frederic Weisbecker <fweisbec@gmail.com>\nCc: Borislav Petkov <bp@alien8.de>\nCc: Rafael J. Wysocki <rjw@sisk.pl>\nLink: http://lkml.kernel.org/r/alpine.LFD.2.02.1305271841130.4220@ionos\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":true,"url":"https://api.github.com/repos/tunturn/Z3kernel/commits/a6a4fd01cce4f611c762cac4f7515a4f3932c561"},{"sha":"adfbbf62f2dc29496c5faed6ac5071e2f1620c9a","author":{"name":"Thomas Gleixner","email":"352b5f5ba0189d2583768a9bb8247f98115b9038@linutronix.de"},"message":"tick: Make oneshot broadcast robust vs. CPU offlining\n\nIn periodic mode we remove offline cpus from the broadcast propagation\nmask. In oneshot mode we fail to do so. This was not a problem so far,\nbut the recent changes to the broadcast propagation introduced a\nconstellation which can result in a NULL pointer dereference.\n\nWhat happens is:\n\nCPU0\t\t\tCPU1\n\t\t\tidle()\n\t\t\t  arch_idle()\n\t\t\t    tick_broadcast_oneshot_control(OFF);\n\t\t\t      set cpu1 in tick_broadcast_force_mask\n\t\t\t  if (cpu_offline())\n\t\t\t     arch_cpu_dead()\n\ncpu_dead_cleanup(cpu1)\n cpu1 tickdevice pointer = NULL\n\nbroadcast interrupt\n  dereference cpu1 tickdevice pointer -> OOPS\n\nWe dereference the pointer because cpu1 is still set in\ntick_broadcast_force_mask and tick_do_broadcast() expects a valid\ncpumask and therefor lacks any further checks.\n\nRemove the cpu from the tick_broadcast_force_mask before we set the\ntick device pointer to NULL. Also add a sanity check to the oneshot\nbroadcast function, so we can detect such issues w/o crashing the\nmachine.\n\nReported-by: Prarit Bhargava <prarit@redhat.com>\nCc: athorlton@sgi.com\nCc: CAI Qian <caiqian@redhat.com>\nLink: http://lkml.kernel.org/r/alpine.DEB.2.02.1306261303260.4013@ionos.tec.linutronix.de\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":true,"url":"https://api.github.com/repos/tunturn/Z3kernel/commits/adfbbf62f2dc29496c5faed6ac5071e2f1620c9a"}]}
{"actor":{"display_login":"tunturn"}}