Commit graph

583272 commits

Author SHA1 Message Date
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
Asutosh Das
a723713f60 scsi: ufs: full reinit upon resume if link was off
During suspend, if the link is put to off, it would require
a full initialization during resume.
This patch resets and restores both the hba and the card
during initialization.

Change-Id: I37b36c51ca1b475d8f8dfd2d9b1f098c917c86e4
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
2017-02-16 16:17:40 +05:30
Shantanu Jain
be42c7ff1f input: touchscreen: remove msg21xx mstar touch driver
Remove msg21xx mstar touch driver from the kernel code
as it has never been used in any of the recent platforms.

Change-Id: I0ac1f93d9736c402732b6c4a8d22b1bf3500e4c4
Signed-off-by: Vevek Venkatesan <vevekv@codeaurora.org>
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2017-02-16 15:05:31 +05:30
Raviteja Tamatam
55a50d1f4a ARM: dts: msm: update correct default OT settings for mdss
Fix default read and write vbif OT settings for mdss driver
in sdm630 and sdm660.

Change-Id: Ib4ae31359db5770d37210d850fde8bb25c9f965b
Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
2017-02-16 14:55:56 +05:30
Rama Krishna Phani A
9ddd600744 ARM: dts: msm: Update Temperature sensor support for sdm660
Update SW temperature sensor mapping for sdm660 target as per
latest mapping from HW team.

Change-Id: I8459749b603ccd62729fc2ef775661c6b56022c4
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
2017-02-16 12:32:15 +05:30
Tirupathi Reddy
e186ae7318 regulator: cpr4-mmss-ldo: Correct the GFX LDO CPR sensor count for sdm630
The GFX LDO CPR sensor count in sdm630 is different from that of sdm660.
Assign the correct sensor count under a soc-id comparison check.

CRs-Fixed: 2007621
Change-Id: I82231a30143dc3df0bee3421101316c1d9693d08
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-02-16 11:38:22 +05:30
Yingwei Zhao
830c802874 ARM: dts: msm: Add pmic bring up changes for SDM630 QRD
Add battery configuration, enable volume up key, and add PM660A
configuration for SDM630 QRD device.

CRs-Fixed: 2006325
Change-Id: Ifa87e30ebaced84b18c26041c0f659332266d5ee
Signed-off-by: Yingwei Zhao <cyizhao@codeaurora.org>
2017-02-16 13:42:49 +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
Abhijit Kulkarni
9a5cb63822 msm: mdss: fix secure session power vote
This change fixes the clock and gdsc disable for smmu.
During transitioning to secure session, smmu session
is detached but vote for clock and gdsc is not removed
since smmu hardware is still being used. So there remains
an additional vote and this renders smmu related clocks
and bimc gdsc always on when we transition back to
non-secure state. This change fixes the unbalance of this vote.

CRs-Fixed: 2004902
Change-Id: I363a4acfd17b96afc05cfe78cd9a4defba674f55
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
2017-02-15 19:27:22 -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
Satya Durga Srinivasu Prabhala
8cb928e04e soc: qcom: ramdump: Remove page alignment during ramdump collection
Due to page alignment, memory size is exceeding and SMMU fault is
observed while collecting ramdumps for ADSP subsystem.

Change-Id: Ibadedcbac4eb83382d913e893722967e86775ea0
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2017-02-15 18:03:02 -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
Linux Build Service Account
169b8fe1c6 Merge "ARM: dts: msm: fix wb qos for msm8998" 2017-02-15 17:01:07 -08:00
Linux Build Service Account
2504edf0b9 Merge "msm: mdss: avoid overflow in mdp clock rate calculation for rotator" 2017-02-15 17:01:06 -08:00
Linux Build Service Account
be873ee554 Merge "smb-lib: fix icl changed interrupt storm" 2017-02-15 17:01:05 -08:00
Linux Build Service Account
b1793b6d98 Merge "msm: sde: Correct bandwidth for TP10 and P010 in SDE rotator" 2017-02-15 17:01:04 -08:00
Linux Build Service Account
d4175e2783 Merge "ARM: dts: msm: update sdm660 rotator xin id values" 2017-02-15 17:01:03 -08:00
Linux Build Service Account
b24937b98d Merge "msm: sde: Ensure mdp splash cleanup before initiating rotation request" 2017-02-15 17:01:02 -08:00
Linux Build Service Account
fcc0fdda2c Merge "scsi: ufs: handle LINERESET error only during hibern8 enter" 2017-02-15 17:01:01 -08:00
Linux Build Service Account
36046ff503 Merge "qcom: smb-lib: enable parallel charging for SDP/CDP/OCP/FLOAT adapter" 2017-02-15 17:01:00 -08:00
Linux Build Service Account
4ebfafd8ee Merge "spi: spi_qsd: Set DMA mask for SPI device" 2017-02-15 17:00:59 -08:00