Benjamin Chan
0f19fbd00c
msm: sde: Add mutex lock for debug buffer access in rotator
...
Adding mutex lock access protection to debug buffer for SDE rotator. The
buffer can be shared between multiple processes, and it is possible that
one process try to free the buffer while another process is still
accessing it.
CRs-Fixed: 2003129
Change-Id: Ib20767f02ba7f14fb972d5c50ab264b2309a1ec2
Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
2017-02-21 10:41:23 -05:00
Linux Build Service Account
7066afbbe9
Merge "drm/msm/sde: signal pending PAGE_FLIP events"
2017-02-16 13:09:28 -08:00
Linux Build Service Account
f44d9e364a
Merge "ARM: dts: msm: update CPU efficiency values for sdm660"
2017-02-16 03:05:22 -08:00
Linux Build Service Account
2081c63810
Merge "proc: fix conversion of oom_score_adj to oom_adj"
2017-02-16 03:05:21 -08:00
Linux Build Service Account
b2a4c95db8
Merge "USB: gadget: Replace %pK with %pM"
2017-02-16 03:05:20 -08:00
Linux Build Service Account
93e5bbd790
Merge "ARM: dts: msm: Enable support for LPM Errata feature on msm8998"
2017-02-16 03:05:19 -08:00
Linux Build Service Account
fe216fd6e7
Merge "uio: fix potential use after free issue when accessing debug_buffer"
2017-02-16 03:05:18 -08:00
Linux Build Service Account
bd552c4107
Merge "BACKPORT: aio: mark AIO pseudo-fs noexec"
2017-02-16 03:05:17 -08:00
Linux Build Service Account
007f16c687
Merge "diag: dci: Initialize the stat variable before using it"
2017-02-16 03:05:16 -08:00
Linux Build Service Account
f7050a38c1
Merge "diag: dci: Send masks information to only supported peripherals"
2017-02-16 03:05:15 -08:00
Linux Build Service Account
9de942a379
Merge "drivers: lmh_lite: Invalidate cache after the scm call"
2017-02-16 03:05:13 -08:00
Linux Build Service Account
986f8e85bd
Merge "msm: thermal: Ignore thermal bite for secure device"
2017-02-16 03:05:13 -08:00
Linux Build Service Account
5997ded262
Merge "drivers: thermal: Exit sysfs notify kthread when sensor unregisters"
2017-02-16 03:05:12 -08:00
Linux Build Service Account
02ebf6683c
Merge "defconfig: msmcortex: Enable regmap debugfs write"
2017-02-16 03:05:11 -08:00
Linux Build Service Account
47b76bb345
Merge "regmap: Kconfig: make ALLOW_WRITE_DEBUGFS default unset"
2017-02-16 03:05:10 -08:00
Linux Build Service Account
d3731e3536
Merge "pinctrl: qcom: Add syscore system suspend/resume"
2017-02-16 03:05:09 -08:00
Linux Build Service Account
94721ff236
Merge "power: qpnp-fg: Fix possible race condition in FG debugfs"
2017-02-16 03:05:08 -08:00
Linux Build Service Account
15c6242e37
Merge "soc: qcom: spcom: fix error handling"
2017-02-16 03:05:07 -08:00
Linux Build Service Account
df96de77bc
Merge "soc: qcom: spss_utils: fix error handling"
2017-02-16 03:05:05 -08:00
Linux Build Service Account
d0533fe42b
Merge "defconfig: msmcortex: Disable CONFIG_ICNSS_DEBUG"
2017-02-16 03:05:00 -08:00
Linux Build Service Account
74bd9576d5
Merge "soc: qcom: glink_spi_xprt: Add check for SSR during RX polling"
2017-02-16 03:04:59 -08:00
Liam Mark
334dad34a6
proc: fix conversion of oom_score_adj to oom_adj
...
Ensure that oom_score_adj values are properly converted to
oom_adj values by rounding appropriately.
When there is an attempt to calculate an oom_adj value from its
oom_score_adj value the lack of precision results in an oom_adj
value that is one less than it should be.
For example the oom_adj calculated from oom_score_adj 117 is
calculated as 1.989 (117*17 / 1000), and this is rounded to
1 (and not 2 as it should be).
By properly generating oom_adj values backward compatibility is
better supported.
Change-Id: I7f102cf445e572b8e855a9d6b0cf91e3c438eabf
Signed-off-by: Liam Mark <lmark@codeaurora.org>
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2017-02-16 10:13:46 +05:30
Sahitya Tummala
ae92a00f02
uio: fix potential use after free issue when accessing debug_buffer
...
The variable debug_buffer is a global variable which is allocated
and free'd when open/close is called on debugfs file -
"/sys/kernel/debug/rmt_storage/info". The current code doesn't
have locks to handle concurrent accesses to the above file.
This results into use after free issue when debug_buffer is
accessed by two threads at the same time. Fix this by adding
a mutex lock to protect this global variable.
Change-Id: I6bc3f0ae2d7fca3ca9fe8561612f5863b6c3268a
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
2017-02-15 20:22:41 -08:00
Hemant Kumar
357487d342
ARM: dts: msm: Enable support for LPM Errata feature on msm8998
...
LPM Errata feature is enabled on dwc3 controller which has
DWC3_REVISION_300A.
Change-Id: Icec177f2bcb4ebc335e5c71550d6ce2f933c1619
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2017-02-15 18:09:49 -08:00
Linux Build Service Account
a66dbe8484
Merge "msm: mdss: fix Display Port boot-up with default resolution"
2017-02-15 17:01:38 -08:00
Linux Build Service Account
5b25d934a1
Merge "msm: mdss: dp: add support to parse maximum PCLK from dtsi for display port"
2017-02-15 17:01:37 -08:00
Linux Build Service Account
70d13ef76a
Merge "msm: mdss: Add HDR Metadata Interface"
2017-02-15 17:01:36 -08:00
Linux Build Service Account
b574c4b1dc
Merge "msm: mdss: mask DSI FIFO overflow errors during BTA operation"
2017-02-15 17:01:36 -08:00
Linux Build Service Account
c8617c203f
Merge "msm: sde: Disable client driven prefetch for rotator"
2017-02-15 17:01:35 -08:00
Linux Build Service Account
726f66a1d1
Merge "qos: Add NULL checking for irq descriptor"
2017-02-15 17:01:34 -08:00
Linux Build Service Account
55563cf6f9
Merge "soc: qcom: fingerprint: keep QSEE handle in kernel space"
2017-02-15 17:01:33 -08:00
Linux Build Service Account
1b5d6ee0c0
Merge "defconfig: msm: new flag for mediabox specific demux changes"
2017-02-15 17:01:31 -08:00
Linux Build Service Account
65ec0b0413
Merge "media: platform: msm: Add demux support for mediabox"
2017-02-15 17:01:30 -08:00
Linux Build Service Account
9f6ca698a1
Merge "leds: qpnp-flash: Fix possible race condition in debugfs"
2017-02-15 17:01:30 -08:00
Linux Build Service Account
282d3b2416
Merge "fuse: fix use after free issue in fuse_dev_do_read()"
2017-02-15 17:01:29 -08:00
Linux Build Service Account
7ad0a4fefe
Merge "USB: phy-msm-qusb: Fix race conditions during fast PI/PO"
2017-02-15 17:01:28 -08:00
Linux Build Service Account
f1c415288a
Merge "core_ctl: redo offline_delay_ms tunable implementation"
2017-02-15 17:01:27 -08:00
Linux Build Service Account
8da6726d48
Merge "sched: don't assume higher capacity means higher power in tick migration"
2017-02-15 17:01:25 -08:00
Linux Build Service Account
bbce9fd4e5
Merge "ARM: dts: msm: add support of devfreq and cpufreq on SDM630"
2017-02-15 17:01:24 -08:00
Linux Build Service Account
12ab54afbb
Merge "USB: u_data_ipa: Fix NULL pointer dereference before starting RX/TX"
2017-02-15 17:01:23 -08:00
Linux Build Service Account
c5a29451a3
Merge "defconfig: sdm660: enable video for 32bit"
2017-02-15 17:01:18 -08:00
Linux Build Service Account
ae9f21cbae
Merge "msm: vidc: Enable port reconfig for thumbnail session"
2017-02-15 17:01:16 -08:00
Linux Build Service Account
66bdfb7e6d
Merge "qseecom: add new SCM ID to register listener when smcinvoke is supported"
2017-02-15 17:01:15 -08:00
Linux Build Service Account
9807579f09
Merge "qcom: smb-lib: expose fcc value change in batt psy"
2017-02-15 17:01:14 -08:00
Linux Build Service Account
d8fade73fb
Merge "msm: ipa3: UL event based completion"
2017-02-15 17:01:13 -08:00
Linux Build Service Account
9e0a375b5e
Merge "iommu: dma-mapping: alloc bitmap while fragmented"
2017-02-15 17:01:12 -08:00
Linux Build Service Account
ea872c35b6
Merge "smb138x-charger: Fix max conn temp config"
2017-02-15 17:01:11 -08:00
Linux Build Service Account
e30c4c2e20
Merge "iommu/io-pgtable-fast: alloc pgtable while fragmented"
2017-02-15 17:01:10 -08:00
Linux Build Service Account
60e0197aa0
Merge "msm: mdss: Handle ping pong split configuration in splash done"
2017-02-15 17:01:09 -08:00
Linux Build Service Account
f9116322fa
Merge "msm: mdss: Add mdss capabilities for sdm630"
2017-02-15 17:01:08 -08:00