Commit graph

577381 commits

Author SHA1 Message Date
Tony Truong
d0430dc0f2 Revert "ARM: dts: msm: disable L1 and L1ss for PCIe on msmcobalt"
This reverts commit c93b93ee87 ("ARM: dts: msm: disable L1 and
L1ss for PCIe on msmcobalt").

Re-enable a necessary power saving feature for PCIe and its
client.

Change-Id: I231f518b701a988ab4a4f475e7e3c6f17d58187b
Signed-off-by: Tony Truong <truong@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-11-11 23:38:39 +02:00
Maya Erez
6de37372b4 msm_11ad: disbale L1 for 11ad device
Enabling L1 / L1SS for 11ad device causes PCIe
link down or PCIe NOC read/write timeouts.
To prevent that, disable L1 for 11ad devices after
PCIe enumeration and resume.

Change-Id: I5061c95855d462879c2f5237ded80131de4d215d
Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-11-11 23:38:22 +02:00
Linux Build Service Account
85d7e134cc Merge "msm: kgsl: Fix potential device NULL pointer dereferences" 2016-11-05 07:35:31 -07:00
Linux Build Service Account
2b28b1372c Merge "ARM: dts: msm: update ICNSS DT node for msmcobalt interposer" 2016-11-05 07:35:29 -07:00
Linux Build Service Account
ef1311a1e8 Merge "ARM: dts: msm: update bus bandwidth vote for msmcobalt ufs" 2016-11-04 22:22:10 -07:00
Linux Build Service Account
6d25dab1ba Merge "sched: prevent race between disable window statistics and task grouping" 2016-11-04 22:22:09 -07:00
Linux Build Service Account
3bc988427d Merge "regulator: cprh-kbss-regulator: update temp sensor ID for msmcobalt" 2016-11-04 22:22:08 -07:00
Linux Build Service Account
9d601a126f Merge "ARM: dts: msm: Add ADC nodes for pmfalcon" 2016-11-04 22:22:08 -07:00
Linux Build Service Account
f2fedb98bd Merge "diag: Fix race condition while closing SMD" 2016-11-04 22:22:06 -07:00
Linux Build Service Account
115a8ef46d Merge "diag: Add mutex protection while closing SMD" 2016-11-04 22:22:06 -07:00
Linux Build Service Account
9454b9f32d Merge "msm: ext_display: update hpd and notify logic" 2016-11-04 22:22:02 -07:00
Linux Build Service Account
68afff6f34 Merge "ASoC: msmcobalt: Update ignore suspend for MAD_CPE out widgets" 2016-11-04 22:22:01 -07:00
Linux Build Service Account
8e9e0fd780 Merge "Merge remote-tracking branch 'msm4.4/tmp-da9a92f' into msm-4.4" 2016-11-04 22:22:00 -07:00
Hareesh Gundu
71963395a5 msm: kgsl: Fix potential device NULL pointer dereferences
Ensure that device pointer isn't NULL before using it in
kgsl_snapshot_save_frozen_objs().

Change-Id: I676dfa5567b1d09427e3e7691045fabc71b53d43
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
2016-11-04 21:46:22 -07:00
Joonwoo Park
dfb9634d03 sched: prevent race between disable window statistics and task grouping
Change of colocation group requires to finish CPU busy time accounting
prior to its operation by calling update_task_ravg().  However when
window statistics accounting is disabled, update_task_ravg() acts as
nop and results in incorrect CPU time accounting.

Disallow colocation group change while window statistics accounting is
disabled in order to prevent race between reset_all_window_stats() and
colocation grouping functions.

Change-Id: I6dfa20b8d8b0ae7ccc94119bf9cf14c5e11a1cf7
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
2016-11-04 17:25:30 -07:00
Venkat Gopalakrishnan
359e6bb764 ARM: dts: msm: update bus bandwidth vote for msmcobalt ufs
The bandwidth vote determines the bus throughput needed for a
given running UFS gear frequency. For high throughput use cases
the current interface speed based votes may not be sufficient to
achieve peak user level throughput, as it doesn't count for other
system level latencies in the data path. Hence vote higher but
making sure the system stays in nominal voltage corner.

Change-Id: I95cda7e33288df7099826b37c2f436c5a33792e8
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2016-11-04 15:13:10 -07:00
Sriharsha Allenki
5875dc5e26 ARM: dts: msm: Add ADC nodes for pmfalcon
Clients of VADC_HC and BTM include reading voltage phone
power, system thermistors for thermal mitigation such as
msm_therm, case_therm, XO therm. Round robin ADC (RRADC)
provides clients ability to read supported channels from
PMfalcon RRADC such as battery ID, battery thermistors,
DCIN and USBIN voltage and current. Add the supported VADC,
BTM and RR ADC channels for the msmfalcon platforms.

Change-Id: I1b8bf9762642e0af73d7ac7fa51c974b93fd4b31
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
2016-11-04 13:00:34 +05:30
Sarada Prasanna Garnayak
ed05352f5c ARM: dts: msm: update ICNSS DT node for msmcobalt interposer
The msmcobalt interposer target has interposed with pm_falcon pmic.
Remove the pm_cobalt regulator handler reference, clock and smmu
memory address and offset from the ICNSS DT node. Allow ICNSS DT
node compilation for msmcobalt interposer target.

CRs-Fixed: 1085547
Change-Id: I4aa1b9876bf1afd9b895d89dc5c4323ba3a3f661
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2016-11-03 22:39:36 -07:00
Vidyakumar Athota
a8a95cafb3 ASoC: msmcobalt: Update ignore suspend for MAD_CPE out widgets
Ignore suspend flag is not set for "MAD_CPE" out widgets, causing
device not to go into suspend state during voice activation. Set
ignore suspend flag to allow suspend during SVA use case.

Change-Id: I18b7cb311e793c820da10990c47f472f7a0d0944
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2016-11-03 14:25:31 -07:00
Linux Build Service Account
758693b4a6 Merge "usb: pd: Avoid calling SVID disconnect if not previously connected" 2016-11-03 06:24:06 -07:00
Linux Build Service Account
ddb7835f5f Merge "ASoC: wcd934x-dsp-cntl: Add misc device to control codec dsp" 2016-11-03 06:24:05 -07:00
Linux Build Service Account
ce631fb608 Merge "drivers: qcom: ultrasound: Lock async driver calls" 2016-11-03 06:24:02 -07:00
Linux Build Service Account
9da5130045 Merge "drivers: soc: Add new parameters for APR IPC logging" 2016-11-03 06:24:01 -07:00
Linux Build Service Account
d39cd55f06 Merge "ASoC: msm: qdsp6v2: Change audio drivers to use %pK" 2016-11-03 06:23:58 -07:00
Linux Build Service Account
475e375e99 Merge "ASoC: wcd934x: Update OCP connection attempts" 2016-11-03 06:23:57 -07:00
Linux Build Service Account
086c9df600 Merge "clk: Add support to vote to regulator framework from clk framework" 2016-11-03 06:23:57 -07:00
Linux Build Service Account
71f578efa8 Merge "ASoC: msmcobalt: Initialize variable to default value" 2016-11-03 06:23:55 -07:00
Linux Build Service Account
f319f3de8b Merge "ASoC: msm: qdsp6v2: Index check for out of range" 2016-11-03 06:23:55 -07:00
Linux Build Service Account
79ef787822 Merge "msm: camera: isp: Fix reset sequence on stop" 2016-11-03 06:23:53 -07:00
Ashay Jaiswal
81a1e629f8 ARM: dts: msm: add PMFALCON/PM2FALCON devices for msmcobalt interposer
Add PMIC devices and remove reference of PMCOBALT/PMICOBALT from all
client device nodes.

CRs-Fixed: 1083528
Change-Id: Idc0f0de7f3196d5e456d62e871c8ccfcb576fb07
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2016-11-03 05:28:52 -07:00
Srinivas Ramana
6c42ab0ecd ARM: dts: msm: Add interposer dts files for msmcobalt
Add device tree support for msmcobalt interposer platform
using msmfalcon CDP/MTP.

Change-Id: Ie9eef135cdefc8d2a55f038cf9de5fc7f3656f64
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
2016-11-03 17:35:31 +05:30
Srinivas Ramana
96b30ff11b Documentation: edac: Add bindings for arm64 cpu erp
This is a snapshot from msm-3.18 upto the
commit 262b8c5814ec ("edac: cortex_arm64_edac:
modify sbe detection to use perf events") for the
arm64 cache cpu erp bindings.

Change-Id: I7313a121440bf5a455401cf73bd5ef4d6c1506cb
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
2016-11-03 13:39:39 +05:30
Linux Build Service Account
e1f711f8e0 Merge "usb: pd: Implement RX message queuing" 2016-11-02 22:38:48 -07:00
Linux Build Service Account
81d5b6b5da Merge "usb: dwc3: Draw 100mA upon host bus reset" 2016-11-02 22:38:48 -07:00
Linux Build Service Account
39a4ec35cc Merge "sound: usb: Map audio format received from QMI client" 2016-11-02 22:38:47 -07:00
Linux Build Service Account
c16a50bf49 Merge "selinux: nlmsgtab: add SOCK_DESTROY to the netlink mapping tables" 2016-11-02 22:38:44 -07:00
Stephen Boyd
2ac3d304b9 clk: Add support to vote to regulator framework from clk framework
Add vdd_class support which would help vote/unvote for any voltage rail
for the clock frequency to the regulator framework. A clock client request
for a clock frequency would look for the corresponding voltage vote and
would be send the request to regulator framework.

Change-Id: I5b1229091fcb7b3887b54735b9663fd31a35db21
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2016-11-03 09:16:56 +05:30
Jack Pham
64d72675d7 usb: pd: Avoid calling SVID disconnect if not previously connected
Only call an SVID handler's disconnect function only if it was
previously connected, i.e. when the state machine had proceeded
received a successful DISCOVER_SVIDs response. This helps to
avoid excessive notification to SVID clients.

While at it, require that .connect and .disconnect callbacks
are supplied during registration. This helps to eliminate NULL
checks each time they are called.

Change-Id: I030153a6b2106a6504ed51b5cb00a27f842e2488
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2016-11-02 20:22:11 -07:00
Phani Kumar Uppalapati
7ed173e8fc ASoC: wcd934x: Update OCP connection attempts
Update headphone OCP (Over Current Protection)
connection attempts to 2 to avoid hardware state
machine getting stuck in OCP state even after
reset.

CRs-Fixed: 1083736
Change-Id: I69e37a93418b99a187c7b46cf62524c5fc4901f2
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-11-02 17:04:01 -07:00
Sudheer Papothi
c8c16b7406 drivers: qcom: ultrasound: Lock async driver calls
Adds lock to ioctl and other external calls to driver.
Adds missing null check in __usf_set_stream_param.

Change-Id: I142f31c6bb46d6a394ad012077e1703875a120ad
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2016-11-02 16:40:43 -07:00
Bhalchandra Gajare
600e3c659b ASoC: wcd934x-dsp-cntl: Add misc device to control codec dsp
The codec DSP needs to be enabled only when there is use case that
utilizes the DSP. This way the codec DSP can be shutdown when it
is not used. Change adds misc device node that the user space can
use to trigger boot and shutdown of DSP.

CRs-Fixed: 1085213
Change-Id: Ie8bb9ed903e46b0914b4ba2630efa864c751c29b
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-11-02 15:19:39 -07:00
Hemant Kumar
a77a2e80e7 usb: dwc3: Draw 100mA upon host bus reset
Upon host bus reset driver draws 0mA and switches
to higher value 900/500 mA after moving to configured
state. This causes a glitch in the led and battery icon
status. Hence request to draw 100mA to void the glitch.

Change-Id: Id570e427d40d08e29cad7cb74be426bf218d00ee
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-11-02 14:54:30 -07:00
Linux Build Service Account
8a4f90bd10 Merge "soc: qcom: scm: add check to avoid buffer overflow" 2016-11-02 14:41:43 -07:00
Linux Build Service Account
1057dedd40 Merge "driver core: fix race between creating/querying glue dir and its cleanup" 2016-11-02 14:41:41 -07:00
Linux Build Service Account
8a4e6fcee3 Merge "msm: secure_buffer: fix scm call argument layout" 2016-11-02 14:41:40 -07:00
Linux Build Service Account
875dca44ef Merge "cfg80211: support virtual interfaces with different beacon intervals" 2016-11-02 14:41:39 -07:00
Linux Build Service Account
0959fcfffd Merge "ARM: dts: msm: add support for QBT1000 on msmcobalt" 2016-11-02 14:41:38 -07:00
Linux Build Service Account
4e38e151ea Merge "ARM: dts: msm: specify SPI configuration for msmfalcon." 2016-11-02 14:41:37 -07:00
Linux Build Service Account
46f563dcc0 Merge "leds: qpnp-flash-v2: Fix strobe control settings" 2016-11-02 14:41:37 -07:00
Linux Build Service Account
0d24d9472f Merge "ARM: dts: msm: Add initial support for msmcobalt V2 QRD SKUK board" 2016-11-02 14:41:36 -07:00