1. 22 Feb, 2016 7 commits
    • 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 33 commits