Commit graph

581129 commits

Author SHA1 Message Date
Dhoat Harpal
dbdcdb2153 defconfig: sdm660: Enable G-Link SPI Transport driver in 32 bit
Enable G-Link SPI Transport driver to enable off-chip communication
over SPI bus in 32 bit architecture.

CRs-Fixed: 1106989
Change-Id: I8826b1383811a03d91547414a5f6766aafa091d6
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
2017-01-18 20:15:24 -08:00
Dhoat Harpal
1618176475 soc: qcom: glink_spi_xprt: Fix compilation error for 32 bit
Conversion of a 64 bit int variable to void pointer is illegal
operation when compiling for 32 bit architecture.

Added explicit conversion to uintprt_t, so that 32 bit conversion
can be done.

CRs-Fixed: 1107920
Change-Id: I3854fcb460308c9a77a17198dcb604dd4da135ac
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
2017-01-18 19:42:20 +05:30
Linux Build Service Account
a51b7f6000 Merge "scsi: ufs: fix deadlock between clock scaling and shutdown" 2017-01-16 23:06:13 -08:00
Linux Build Service Account
a532239b3e Merge "arm64: insn: remove BUG_ON from codegen" 2017-01-16 23:06:11 -08:00
Linux Build Service Account
4af58b8ac7 Merge "ARM: dts: msm: add battery data information for SDM660/SDM630 MTP/CDP" 2017-01-16 23:06:11 -08:00
Linux Build Service Account
b27dee6e83 Merge "msm: ADSPRPC: add profiling counters" 2017-01-16 23:06:10 -08:00
Linux Build Service Account
91c4cf4d3c Merge "soc: qcom: service-notifier: fix object corruption" 2017-01-16 23:06:09 -08:00
Linux Build Service Account
b3a739e9c7 Merge "sound: usb: Map interface context information to interface number" 2017-01-16 23:06:08 -08:00
Linux Build Service Account
79383e7ce6 Merge "ARM: dts: msm: Add BCL mitigation configuration for sdm660" 2017-01-16 23:06:06 -08:00
Linux Build Service Account
113ae9eec8 Merge "ARM: dts: msm: Vote for BIMC GFX clock for SDM660 GPU" 2017-01-16 23:06:05 -08:00
Linux Build Service Account
aa69f1412e Merge "ARM: dts: msm: configure default CMA region for sdm660" 2017-01-16 23:06:04 -08:00
Linux Build Service Account
6364866dde Merge "soc: qcom: Return actual return code when piltz_resc_init fails" 2017-01-16 23:06:03 -08:00
Linux Build Service Account
8b00f97fdc Merge "drivers: thermal: lmh_dcvs: Update Low threshold with high threshold" 2017-01-16 23:06:02 -08:00
Linux Build Service Account
139f2435cb Merge "icnss: Increase QMI timeout value" 2017-01-16 23:06:01 -08:00
Linux Build Service Account
c5ddf84f69 Merge "ARM: dts: msm: Enable icnss device node for SDM660" 2017-01-16 23:06:00 -08:00
Linux Build Service Account
10ba72d5b9 Merge "soc: qcom: glink: Change cleanup sequence in remote close" 2017-01-16 23:05:59 -08:00
Linux Build Service Account
45413398c4 Merge "ARM: dts: msm: Add support for msm8998 QRD SKUK EVT3 board" 2017-01-16 23:05:58 -08:00
Linux Build Service Account
0e87a29195 Merge "seemp: use local stack mem when encoding params" 2017-01-16 23:05:57 -08:00
Linux Build Service Account
83874a41c1 Merge "msm: camera: avoid invalid memory access" 2017-01-16 23:05:56 -08:00
Ashay Jaiswal
001025bd4a ARM: dts: msm: add battery data information for SDM660/SDM630 MTP/CDP
Add battery profile information for MTP platform and configure
CDP as battery less platform.
While at it, update the slave-id for temp-alarm peripheral on
PM660L.

CRs-Fixed: 1111867
Change-Id: Ife776c32c82bb9167a413fda62798000d5174170
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2017-01-17 10:06:12 +05:30
Sathish Ambley
df3c528a59 msm: ADSPRPC: add profiling counters
Added profiling counters for measuring RPC performance and
by default profiling is disabled.

Change-Id: I6a79dde638e751998ac37948f826639a161ff4a2
Acked-by: Viswanatham Paduchuri <vpaduchu@qti.qualcomm.com>
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
2017-01-16 16:05:12 -08:00
Kyle Yan
72354e375b soc: qcom: Return actual return code when piltz_resc_init fails
Propagate error code upwards when piltz_resc_init fails. Previous return
prevented probe from retrying when piltz_resc_init returns -EPROBE_DEFER.

Change-Id: I217f13eb4bff321ae1b7583f5d2614b6c9589987
Signed-off-by: Kyle Yan <kyan@codeaurora.org>
2017-01-16 15:10:06 -08:00
Linux Build Service Account
4b3736890b Merge "usb: phy: qusb2: Enable phy auto-resume" 2017-01-16 13:29:53 -08:00
Linux Build Service Account
ed2eb1070d Merge "USB: dwc3-msm: Set speed as high speed if no speed information" 2017-01-16 13:29:52 -08:00
Linux Build Service Account
78f6511c28 Merge "ARM: dts: msm: Add support of IPA for SDM630" 2017-01-16 13:29:51 -08:00
Linux Build Service Account
74aecd0f81 Merge "ARM: dts: msm: Disable IPA in SDA658/660" 2017-01-16 13:29:50 -08:00
Linux Build Service Account
fc8e309f19 Merge "power: reset: fix compilation errors when dload disabled." 2017-01-16 13:29:50 -08:00
Linux Build Service Account
bb64ae8a47 Merge "ARM: dts: msm: Update Camera CSIPHY clock for SDM660" 2017-01-16 13:29:49 -08:00
Hemant Kumar
c179cf3889 sound: usb: Map interface context information to interface number
Driver is dynamically allocating memory based on bNumInterface from
device configuration descriptor and stores interface context
information using bInterfaceNum. Device can advertise
bInterfaceNum >= bNumInterface which results into out of bound memory
access. Hence create a mapping between interface context index and
interface number. Use this mapping to find unused context index or
load the context information of an interface.

Change-Id: Ic99b10abe662088c2c030526135689f7c78c595a
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2017-01-16 11:30:09 -08:00
Satya Durga Srinivasu Prabhala
06a774048f soc: qcom: service-notifier: fix object corruption
Below object corruption observed from service-notifier while executing
WLAN PDR tests. While executing WLAN PDR tests, Modem crashed, which
resulted into use after free condition. Add mutex lock to fix the issue.

   ===============================================
   BUG kmalloc-1024 (Tainted: G        W  O   ): \
                              Poison overwritten
   -----------------------------------------------

   INFO: 0xffffffc0ba5c4d30-0xffffffc0ba5c4d3a. \
                   First byte 0xff instead of 0x6b
   INFO: Allocated in qmi_handle_create+0x4c/0x320 \
                      age=80203 cpu=0 pid=27134
        alloc_debug_processing+0x124/0x178
        ___slab_alloc.constprop.62+0x4ec/0x5d0
        __slab_alloc.isra.59.constprop.61+0x48/0x74
        kmem_cache_alloc_trace+0xd4/0x25c
        qmi_handle_create+0x4c/0x320
        root_service_service_arrive+0x3c/0x1e8
        process_one_work+0x234/0x40c
        worker_thread+0x2e0/0x410
        kthread+0xf4/0xfc
        ret_from_fork+0x10/0x40
   INFO: Freed in qmi_handle_destroy+0x154/0x16c \
                              age=50 cpu=1 pid=22765
        free_debug_processing+0x27c/0x354
        __slab_free+0x74/0x3ac
        kfree+0x21c/0x290
        qmi_handle_destroy+0x154/0x16c
        root_service_service_exit+0xf0/0x110
        ssr_event_notify+0x74/0x84
        notifier_call_chain+0x58/0x8c
        __srcu_notifier_call_chain+0x9c/0xc0
        srcu_notifier_call_chain+0x38/0x44
        subsys_notif_queue_notification+0x40/0x54
        notify_each_subsys_device.isra.9+0x18c/0x1b0
        subsystem_restart_wq_func+0x2f4/0x5a8
        process_one_work+0x234/0x40c
        worker_thread+0x2e0/0x410
        kthread+0xf4/0xfc
        ret_from_fork+0x10/0x40

Change-Id: Iebc0871220547c2d6f026db1dffafe30b854b199
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2017-01-16 10:37:08 -08:00
Ram Chandrasekar
823b91650d drivers: thermal: lmh_dcvs: Update Low threshold with high threshold
LMH DCVS driver doesn't change the low threshold from HLOS. When there is
new request to lower the high threshold, the low threshold will be
modified if the new high threshold is lower than the existing low
threshold. But the low threshold is not increased when the high
threshold is moved back again.

Update the LMH DCVSh driver to always update the low threshold value
when there is a new high threshold request. The new low threshold will
be 0.5C less than the high threshold.

Change-Id: I356e47de585ae81bd27859f790f673b31ae5ba72
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2017-01-16 10:33:00 -07:00
Manaf Meethalavalappu Pallikunhi
31f4d79f79 ARM: dts: msm: Add BCL mitigation configuration for sdm660
Add battery voltage, current and low SoC thresholds for sdm660.
The BCL module will mitigate the CPU's, when battery reaches
the low voltage threshold, high current threshold or low
state of Charge.

Change-Id: Ie6cf0498bd7ad869640efc602d2573b6def7d5b7
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2017-01-16 22:36:39 +05:30
Rajesh Kemisetti
a2434b9ba0 ARM: dts: msm: Vote for BIMC GFX clock for SDM660 GPU
Enable BIMC GFX clock when A512 GPU is ready to access data
from DDR on SDM660.

Change-Id: Ib76ef7a4fd5362f8cb972f1e4e070157a59c2c27
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
2017-01-16 21:48:09 +05:30
Hardik Kantilal Patel
a4a0e6c661 ARM: dts: msm: Enable icnss device node for SDM660
Enable icnss device node for SDM660 and add SMMU sid for
wlan.

CRs-Fixed: 1111861
Change-Id: Id32285c346167c4a0bf1ab9101d336fa664febbf
Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
2017-01-16 18:51:58 +05:30
Linux Build Service Account
37c5f804a2 Merge "spss_utils: select spss test/prod/hybrid firmware to load" 2017-01-16 04:29:08 -08:00
Linux Build Service Account
1e5081e1b2 Merge "sched: Initialize variables" 2017-01-16 04:29:07 -08:00
Linux Build Service Account
9f0ae8e606 Merge "clk: qcom: Add support to set rcg parent src for dp_pixel clock" 2017-01-16 04:29:06 -08:00
Linux Build Service Account
a0d62ae120 Merge "ARM: dts: msm: increase VDD_GFX Fmax CPR ceiling voltage for MSM8998v2" 2017-01-16 04:29:06 -08:00
Linux Build Service Account
a963750b83 Merge "sched: Fix compilation errors when CFS_BANDWIDTH && !SCHED_HMP" 2017-01-16 04:29:04 -08:00
Linux Build Service Account
05030ff7a0 Merge "ARM: dts: msm: Add alias information for tsens in msm8998" 2017-01-16 04:29:03 -08:00
Linux Build Service Account
c410ee8d5c Merge "ARM: dts: msm: Program slimbus bam offset address for SDM660" 2017-01-16 04:29:03 -08:00
Linux Build Service Account
72591d47f4 Merge "ASoC: wcd-mbhc: add null pointer check" 2017-01-16 04:29:02 -08:00
Linux Build Service Account
7ff850a1d4 Merge "ARM: dts: msm: Add I2C, SPI, UART and slimbus devices for SDM630" 2017-01-16 04:29:01 -08:00
Linux Build Service Account
a295b7196b Merge "msm: mdss: Fix equation to calculate prefill count for amortization" 2017-01-16 04:29:00 -08:00
Linux Build Service Account
a2dbdc2c6e Merge "perf: don't leave group_entry on sibling list (use-after-free)" 2017-01-16 04:29:00 -08:00
Linux Build Service Account
686a509ed0 Merge "KEYS: Fix short sprintf buffer in /proc/keys show function" 2017-01-16 04:28:59 -08:00
Linux Build Service Account
20dcab7b2d Merge "ion: Fix use after free during ION_IOC_ALLOC" 2017-01-16 04:28:58 -08:00
Linux Build Service Account
63e23a6cfe Merge "ASoC: msm: qdsp6v2: DAP: Enable non DAP modules on DAP disable" 2017-01-16 04:28:57 -08:00
Linux Build Service Account
e638fbdb05 Merge "ASoC: wcd-mbhc: fix inconsistent detection of euro headset" 2017-01-16 04:28:57 -08:00
Shiraz Hashim
086dd2c4a8 ARM: dts: msm: configure default CMA region for sdm660
Configure the size of the default CMA region to 32 MB in
DT for sdm660.

Configuring the default CMA region in the DT is cleaner
than using CONFIG_CMA_SIZE_MBYTES since it is easier to
configure per target and the alloc ranges can be specified
in DT.

Change-Id: I64d4e1ee379b2a3110ecd403e7ed838948df6ca3
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
2017-01-16 17:55:56 +05:30