1. 22 Feb, 2016 10 commits
    • Shubhraprakash Das's avatar
      msm: kgsl: Flush the UCHE when context changes · 1f3de1d7
      Shubhraprakash Das authored
      
      Add commands to flush the GPU UCHE when a new context submits
      commands to GPU. The ensures that the new context does not use
      stale data present in UCHE.
      
      CRs-Fixed: 607976
      Change-Id: I123a323be5f3fb9d1f9f96fed5bb68b8d0d27d76
      Signed-off-by: default avatarShubhraprakash Das <sadas@codeaurora.org>
      Signed-off-by: default avatarHareesh Gundu <hareeshg@codeaurora.org>
      1f3de1d7
    • Thomas Gleixner's avatar
      tick: Don't invoke tick_nohz_stop_sched_tick() if the cpu is offline · d7a0d8d2
      Thomas Gleixner authored
      
      commit 5b39939a4 (nohz: Move ts->idle_calls incrementation into strict
      idle logic) moved code out of tick_nohz_stop_sched_tick() and missed
      to bail out when the cpu is offline. That's causing subsequent
      failures as an offline CPU is supposed to die and not to fiddle with
      nohz magic.
      
      Return false in can_stop_idle_tick() if the cpu is offline.
      
      Change-Id: I635b765ae5dc2f4e81a38dff21dc8631fca73c49
      Reported-and-tested-by: default avatarJiri Kosina <jkosina@suse.cz>
      Reported-and-tested-by: default avatarPrarit Bhargava <prarit@redhat.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Borislav Petkov <bp@alien8.de>
      Cc: Tony Luck <tony.luck@intel.com>
      Cc: x86@kernel.org
      Link: http://lkml.kernel.org/r/alpine.LFD.2.02.1305132138160.2863@ionos
      
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      [zwliew: Backport to 3.4]
      Signed-off-by: default avatarZhao Wei Liew <zhaoweiliew@gmail.com>
      d7a0d8d2
    • Nikola Majkić's avatar
      defconfig: disable swap · bb6ff382
      Nikola Majkić authored
      We are not using it
      bb6ff382
    • Ping Li's avatar
      msm: mdss: Disable the PP features if partial update feature is enabled · 15870dd6
      Ping Li authored
      
      Check the whether partial update feature is enabled or not before enabling
      any post processing features.
      
      Change-Id: Ibf2111d5ca8714279903980d14e63bab556bb41f
      Signed-off-by: default avatarPing Li <quicpingli@codeaurora.org>
      15870dd6
    • William Clark's avatar
      crypto: msm: check potential integer overflow · 35336216
      William Clark authored
      
      According to the specification of AEAD, AEAD request crypt length is
      not a fixed maximum and associated length is also same. This could
      lead to potential integer overflow, thus allocating less memory. So
      we need to check potential integer overflow on AEAD request length.
      
      CRs-Fixed: 726872
      Change-Id: Ie7708000bfd8c57e2fba8e02230a7ce9cdc9634c
      Signed-off-by: default avatarWilliam Clark <wclark@codeaurora.org>
      35336216
    • Vinu Deokaran's avatar
      msm: mdss: fix for black stripe flicker in browse scroll · 5d6e9b74
      Vinu Deokaran authored
      
      Fix a typo that was comparing the width instead of the height
      parameter that lead to black stripe flickering when scrolling on
      browser.
      
      Change-Id: I10e57f876458f46d445b3404d09a5e7606aeb666
      Signed-off-by: default avatarVinu Deokaran <vinud@codeaurora.org>
      5d6e9b74
    • David Howells's avatar
      KEYS: Add invalidation support · 917d0976
      David Howells authored
      
      Add support for invalidating a key - which renders it immediately invisible to
      further searches and causes the garbage collector to immediately wake up,
      remove it from keyrings and then destroy it when it's no longer referenced.
      
      It's better not to do this with keyctl_revoke() as that marks the key to start
      returning -EKEYREVOKED to searches when what is actually desired is to have the
      key refetched.
      
      To invalidate a key the caller must be granted SEARCH permission by the key.
      This may be too strict.  It may be better to also permit invalidation if the
      caller has any of READ, WRITE or SETATTR permission.
      
      The primary use for this is to evict keys that are cached in special keyrings,
      such as the DNS resolver or an ID mapper.
      
      Change-Id: I923ea0f0b8f9d6b3ff8ec8beca77b1774984f1c3
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      917d0976
    • David Howells's avatar
      KEYS: Permit in-place link replacement in keyring list · ef9ae514
      David Howells authored
      
      Make use of the previous patch that makes the garbage collector perform RCU
      synchronisation before destroying defunct keys.  Key pointers can now be
      replaced in-place without creating a new keyring payload and replacing the
      whole thing as the discarded keys will not be destroyed until all currently
      held RCU read locks are released.
      
      If the keyring payload space needs to be expanded or contracted, then a
      replacement will still need allocating, and the original will still have to be
      freed by RCU.
      
      Change-Id: I6c4f784f120951fb51ac9c23856ea37f51770bb9
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      ef9ae514
    • Nirmal Abraham's avatar
      cpufreq: Correct the data reported in all_time_in_state · 7cdf5507
      Nirmal Abraham authored
      
      Commit bd9474e059bbb2bb62f7e93894cfc3d3ba473fb2 (cpufreq_stats:
      Adds the fucntionality to load current values for each frequency
      for all the cores) introduced a change by which
      'cpufreq_allstats_create' gets called at initialization (from
      'cpufreq_stats_init' instead of 'cpufreq_stat_notifier_policy').
      This causes 'cpufreq_allstate_create' to be called before the
      freq_table is allocated from 'create_all_freq_table'. Due to
      this, the data for cpu's which are online at boot are not
      added to the 'all_freq_table' leading to the incorrect
      reporting of data when the below sysfs command is run -
      'cat sys/devices/system/cpu/cpufreq/all_time_in_state'.
      
      Correct this behaviour by altering the cpufreq_stats init
      sequence by which the memory for 'all_freq_table' is allocated
      before the 'cpufreq_allstats_create' function is called.
      
      Change-Id: I2232dacdc0deec4d1987c418e833fe28f74623fc
      Signed-off-by: default avatarNirmal Abraham <nabrah@codeaurora.org>
      Signed-off-by: default avatarSrinivasarao P <spathi@codeaurora.org>
      7cdf5507
    • Laura Abbott's avatar
      cma: Add support for memory limits · c2390f3b
      Laura Abbott authored
      
      Currently, when dynamically placing regions CMA will allow the memory
      to be placed anywhere, including highmem. Due to system restrictions,
      regions may need to be placed in a smaller range. Add support to
      devicetree to allow these regions to have an upper bound on where they
      will be placed.
      
      Change-Id: Ib4ae194cbb6389e1091e7e04cfd331e9ab67ad05
      Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
      [skhiani@codeaurora.org: Resolve merge conflicts]
      Signed-off-by: default avatarSusheel Khiani <skhiani@codeaurora.org>
      c2390f3b
  2. 21 Feb, 2016 30 commits