Skip to content
Snippets Groups Projects
  1. Jul 25, 2018
  2. Jul 24, 2018
  3. Jul 23, 2018
  4. Jul 18, 2018
  5. Jul 17, 2018
  6. Jul 16, 2018
  7. Jul 13, 2018
    • Gaurav Kohli's avatar
      soc: qcom: service-notifier: Create qmi_client per service path · 9a3568d0
      Gaurav Kohli authored
      
      As per current design each different pd service running on same
      subsytem are using same qmi connection from HLOS pil, but it
      has own disadvantages if each service crashed simultaneously and
      using the same per client workqueue and override each other's data. To
      overcome the same and to avoid much driver change creating qmi client
      per service.
      
      Change-Id: I45096798fb35d50903d7c99d42ae5ce16becf063
      Signed-off-by: default avatarGaurav Kohli <gkohli@codeaurora.org>
      9a3568d0
  8. Jul 12, 2018
    • Lingutla Chandrasekhar's avatar
      timers: Forward timer base before migrating timers · a967ec3c
      Lingutla Chandrasekhar authored
      
      commit c52232a4 upstream.
      
      On CPU hotunplug the enqueued timers of the unplugged CPU are migrated to a
      live CPU. This happens from the control thread which initiated the unplug.
      
      If the CPU on which the control thread runs came out from a longer idle
      period then the base clock of that CPU might be stale because the control
      thread runs prior to any event which forwards the clock.
      
      In such a case the timers from the unplugged CPU are queued on the live CPU
      based on the stale clock which can cause large delays due to increased
      granularity of the outer timer wheels which are far away from base:;clock.
      
      But there is a worse problem than that. The following sequence of events
      illustrates it:
      
       - CPU0 timer1 is queued expires = 59969 and base->clk = 59131.
      
         The timer is queued at wheel level 2, with resulting expiry time = 60032
         (due to level granularity).
      
       - CPU1 enters idle @60007, with next timer expiry @60020.
      
       - CPU0 is hotplugged at @60009
      
       - CPU1 exits idle and runs the control thread which migrates the
         timers from CPU0
      
         timer1 is now queued in level 0 for immediate handling in the next
         softirq because the requested expiry time 59969 is before CPU1 base->clk
         60007
      
       - CPU1 runs code which forwards the base clock which succeeds because the
         next expiring timer. which was collected at idle entry time is still set
         to 60020.
      
         So it forwards beyond 60007 and therefore misses to expire the migrated
         timer1. That timer gets expired when the wheel wraps around again, which
         takes between 63 and 630ms depending on the HZ setting.
      
      Address both problems by invoking forward_timer_base() for the control CPUs
      timer base. All other places, which might run into a similar problem
      (mod_timer()/add_timer_on()) already invoke forward_timer_base() to avoid
      that.
      
      [ tglx: Massaged comment and changelog ]
      
      Change-Id: Ied68e3e2f7d429b6da90d645bfbe3293e01601e5
      Fixes: a683f390 ("timers: Forward the wheel clock whenever possible")
      Co-developed-by: default avatarNeeraj Upadhyay <neeraju@codeaurora.org>
      Signed-off-by: default avatarNeeraj Upadhyay <neeraju@codeaurora.org>
      Signed-off-by: default avatarLingutla Chandrasekhar <clingutla@codeaurora.org>
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Cc: Anna-Maria Gleixner <anna-maria@linutronix.de>
      Cc: linux-arm-msm@vger.kernel.org
      Cc: stable@vger.kernel.org
      Link: https://lkml.kernel.org/r/20180118115022.6368-1-clingutla@codeaurora.org
      
      
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Git-commit: c52232a4
      Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
      
      
      [gkohli@codeaurora: Resolve trivial merge conflicts]
      Signed-off-by: default avatarGaurav Kohli <gkohli@codeaurora.org>
      a967ec3c
    • Sandeep Panda's avatar
      ARM: dts: msm: add support for FHD+ panel to sdm670 · 61ad72e4
      Sandeep Panda authored
      
      This change adds the hx8399 FHD+ panel node to sdm670
      CDP and MTP platform.
      
      Change-Id: Ib09a41131802cd9f9fd571e6c5131ec8b5cf69a0
      Signed-off-by: default avatarSandeep Panda <spanda@codeaurora.org>
      61ad72e4
  9. Jul 11, 2018
  10. Jul 10, 2018
  11. Jul 09, 2018
Loading