Commit graph

575326 commits

Author SHA1 Message Date
Linux Build Service Account
3c52ac5339 Merge "power: fg-memif: Clear retry_once flag in IMA read" 2016-09-19 23:28:07 -07:00
Linux Build Service Account
5edc2df030 Merge "qseecom: Change whitelist_support flag to false if TZ failed to check" 2016-09-19 23:28:07 -07:00
Linux Build Service Account
79f28e9426 Merge "icnss: Provide client_id in ind_register request" 2016-09-19 23:28:06 -07:00
Linux Build Service Account
9969c77475 Merge "iommu: msm: use list_for_each_entry_safe for deletion" 2016-09-19 23:28:04 -07:00
Linux Build Service Account
64a9ffd418 Merge "Revert "defconfig: msm: enable common log for msmcobalt"" 2016-09-19 23:28:04 -07:00
Linux Build Service Account
620685750e Merge "ARM: dts: msm: enable scan dump for msmcobalt" 2016-09-19 23:28:02 -07:00
Linux Build Service Account
824e3e5ceb Merge "crypto: msm: qce50: DMA-API buffers limitations" 2016-09-19 23:28:02 -07:00
Linux Build Service Account
4886f3b04b Merge "soc: qcom: Add subsys state with service notifier notification" 2016-09-19 23:28:01 -07:00
Linux Build Service Account
e61009aff8 Merge "soc: qcom: pil: Change clock disabling sequence" 2016-09-19 23:28:00 -07:00
Linux Build Service Account
d4ba07ec09 Merge "regulator: cpr3-regulator: fix potential aging uninitialized variable usage" 2016-09-19 23:27:59 -07:00
Linux Build Service Account
6d49a1e9db Merge "net: fix infoleak in rtnetlink" 2016-09-19 23:27:59 -07:00
Linux Build Service Account
b7d007f82e Merge "FROMLIST: security,perf: Allow further restriction of perf_event_open" 2016-09-19 23:27:58 -07:00
Linux Build Service Account
f6ee052d80 Merge "BACKPORT: perf tools: Document the perf sysctls" 2016-09-19 23:27:57 -07:00
Linux Build Service Account
646ce8a905 Merge "cpuset: handle race between CPU hotplug and cpuset_hotplug_work" 2016-09-19 23:27:56 -07:00
Linux Build Service Account
a8f7b70106 Merge "qcom-charger: handle get prop errors graciously" 2016-09-19 23:27:55 -07:00
Linux Build Service Account
8935f4d83f Merge "ASoC: msm: qdsp6v2: fix crash during flac superset clip playback" 2016-09-19 23:27:54 -07:00
Linux Build Service Account
f641230ee8 Merge "config: msmcortex: enable qnovo driver" 2016-09-19 23:27:53 -07:00
Hemant Kumar
a778927e2c usb: gadget: Enable L1 suspend by default
Currently L1 suspend is disabled. Superspeed capable
device needs to support L1 suspend in HS/FS/LS mode.
Also, add module parameter to disable L1 suspend in
High speed mode.

Change-Id: Ie8e7f3949d276325305799640f2775343bd6b9da
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-09-19 17:35:44 -07:00
Ingrid Gallardo
71780d1d49 msm: mdss: disable Client Driven Prefetch
Client Driven Prefetch is enabled by Default in HW
and SW whereas the recommended configuration is to
disable this feature.
This change makes sure that driver disables this
feature in msmcobalt and only enables the feature
for targets that need to keep it enabled.

Change-Id: I34c4feb0297838889cc2505eb3e08516165c5f2f
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-09-19 16:44:26 -07:00
Kuirong Wang
332fb11835 ARM: dts: msm: add MI2S and AUX PCM support for msmcobalt
Add DAI nodes for MI2S and AUX PCM interfaces so the MI2S and
AUX PCM DAIs are available to audio CUP dai driver.

CRs-Fixed: 1047362 1047365
Change-Id: Ice01d5a829b6637c24822943ab393fb0809895cd
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
2016-09-19 16:10:35 -07:00
Vamsi Krishna Samavedam
982bc86081 usb: phy: qusb: Reset clock mux to avoid leakage on vdd rail
Reset the clock mux when cable is disconnected and suspended
to avoid leakage on vdd rail. Also, add missing clock reset
when usb cable connect is notified.

Change-Id: If5485379934a222f19f5dd20b8d4f44769470e8d
Signed-off-by: Vamsi Krishna Samavedam <vskrishn@codeaurora.org>
2016-09-19 15:17:23 -07:00
Gaurav Kohli
2e77f1461a msm: pil: Adding function name and buffer size information in logs
Add function name and buffer size in error messages during modem load
and authentication.This will help to debug mba/modem loading issues in
faster way.

CRs-Fixed: 993625
Change-Id: I2c99df5de44a6fd924ce7f5921db0e1cf3ba5d11
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
2016-09-19 14:33:05 -07:00
Ingrid Gallardo
fc1216dd7c msm: mdss: consider ib to commit the bw vote for mdp
For some use cases, the calculation of the ib
bandwidth prevails over the ab bandwidth. For
such use cases, we must consider the ib as well
as the ab before reducing/increasing the vote,
so the correct sequence to apply the bw vote
is executed along with the HW changes.
Current driver only considers the ab bw and
misses to consider the ib bw during the decision
of when to apply the bw vote.
This change includes ib into the consideration of
when to apply the bw vote.

CRs-Fixed: 1057105
Change-Id: I0822f2e60c4ac22b1636d1d5988ba322dafcdb49
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-09-19 12:53:30 -07:00
Yuanyuan Liu
2accc89b03 icnss: Add debug support of configuring QMI timeout
Add support of configuring QMI timeout through module parameter.
It is easier to debug QMI issue without crashing the system.

CRs-Fixed: 1067885
Change-Id: Iaa0a2df686c88e9aecb308f5749493187c07a38a
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2016-09-19 12:23:59 -07:00
David Collins
f310fa2e4d ARM: dts: msm: modify VDD_GFX CPR ceiling voltages for msmcobalt v2
Update the VDD_GFX CPR ceiling voltages for MSMCOBALT v2 parts
with CPR revision 1 to 7 in order to match the most recent
hardware guidelines.

Change-Id: I3fbfa4c1fc5a6b4f30f8acaf659d2abcc05a7d16
CRs-Fixed: 1068464
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-09-19 12:01:22 -07:00
David Collins
8692a7d678 regulator: cpr3-mmss-regulator: update reference voltages for msmcobalt v2
MSMCOBALT v2 parts with CPR fusing revision 1 and above will have
their open-loop voltage fuses blown assuming new lower reference
voltages.  These lower reference values allow for fusing parts
with lower open-loop voltages than was possible before.  Update
the driver in order to use a different set of open-loop fuse
reference voltages for MSMCOBALT v2 CPR revision 0 vs revisions
1 to 7.

Change-Id: I8539ca3a3456b9562e7ff0e48fd7824c15cea68f
CRs-Fixed: 1068464
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-09-19 12:01:08 -07:00
Sudheer Papothi
eddefdb050 ASoC: wcd934x: Add dapm ignore suspend for backend dais
DAPM marks back end dai as dirty during ASoC suspend
which triggers device path teardown. Add ignore suspend
to all back end dais to avoid device path teardown.

Change-Id: I9951f061ad22cc91eba1c75aba3bdfbdde904cb9
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2016-09-19 10:39:42 -07:00
Tony Truong
fb1b48f3d8 ARM: dts: msm: update PCIe reset clks for MSM8996 and msmcobalt
API for clock reset is moving to use the reset framework.
To comply with this change, PCIe reset clocks need to be
updated in its devicetree node for MSM8996 and msmcobalt.

Change-Id: I92d6e80898f63700f040f43d133fe461ff458937
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
Signed-off-by: Tony Truong <truong@codeaurora.org>
2016-09-19 10:34:36 -07:00
Tony Truong
8963c2ab15 msm: pcie: add support for reset controller framework
The current api which performs the clock reset is moved
to use the reset framework, so support the changes in PCIe
driver for the same. The reset framework requires to get
reset handle and perform assert/deassert of the resets.

Change-Id: I1ca8bb386673f0db020554659f69c71b540e3dcc
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
Signed-off-by: Tony Truong <truong@codeaurora.org>
2016-09-19 10:34:16 -07:00
Manoj Prabhu B
69fb05e7e5 memshare: Add support to listen to SUBSYS_RAMDUMP_NOTIFICATION
Currently, on modem subsystem restart the area allocated from
HLOS to modem at runtime is not captured as part of the ramdump
collection.This patch creates separate elf files for all the
clients which are using memshare feature for memory allocation
which are later used to load as dumps.

CRs-Fixed: 1058744
Change-Id: I66436b7c2d9e02658cfc4c195ca78852b09c01f7
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2016-09-19 21:22:33 +05:30
Xiaojun Sang
5c65c86e28 ARM: dts: msm: add sound support for msmcobalt skuk
Add sound node entry for msmcobalt qrd skuk to enable audio
components like wsa, earpiece and microphones.

CRs-Fixed: 1062729
Change-Id: I40166e423618f5e78093b22efb5ab5def517a051
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2016-09-19 13:22:24 +08:00
Amir Samuelov
4fa8f96ae6 soc: qcom: spss_utils: fix test_fuse_state_show()
Remove new-line char (\n) when showing attribute.
User space app is expecting "test" or "prod" string,
without the new-line char.

Change-Id: Id44e63dab2fe68398c7b5ecdc423598ad4a27faa
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2016-09-18 07:53:55 -07:00
Lior David
71b6cf244b wil6210: extract firmware capabilities from FW file
When driver is loaded, extract a capabilities record
from the FW file. This record contains bits indicating
which optional features are supported by this FW.
The driver can use this information to determine
which functionality to support and/or expose to user
space.
The extraction is done before wiphy structure is
registered, because the capabilities can affect
information published by the this structure.

Change-Id: I20bc8d4b2b58fc3235ec3fe778738055d7535276
Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
git-commit: 12bace75704ec0d64621be6ebf6e51772ce2cb0f
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
CRs-Fixed: 1063261
Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-09-18 17:53:46 +03:00
Lior David
90499748e3 wil6210: align to latest auto generated wmi.h
Align to latest version of the auto generated wmi file
describing the interface with FW.

Change-Id: I169e0c94edf5df31336af1ede36900ec337f4314
Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: 08989f9640a03939ec170916f80d371a8e3504b0
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
CRs-Fixed: 1063261
Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-09-18 17:52:59 +03:00
Maya Erez
043f51594b wil6210: fix protection of wil->scan_request
Currently the places that check wil->scan_request and
call cfg80211_scan_done are not consistently protected,
so there is a risk that cfg80211_scan_done will be called
with NULL scan_request, causing a kernel crash.
Fix this by using p2p_wdev_mutex in few other places
that access scan_request. This makes sense since
scan_request may point to p2p_wdev, and it is not worth
the extra complexity of adding a new mutex.

Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit 5ffae43208ec160e584117fabee2cddc5ad0e39a
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
CRs-Fixed: 1063261
Change-Id: Ibc1e6dc2994268a60384b7d9bd459abc3791a0c4
Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-09-18 17:52:11 +03:00
Maya Erez
096ca9dc58 wil6210: fix wiphy registration sequence
Currently wiphy structure is initialized and registered
in wil_if_alloc, before some information is available such
as MAC address and capabilities. As a result there is a
small chance user space will get incorrect information
from calls such as NL80211_CMD_GET_WIPHY.
Fix this by seperating the registration and moving it
to wil_if_add which is executed later, after all
relevant information is known.

Change-Id: Id38c8e21a853907c884bccd2978f2fd0a547a1ca
Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: 2690c4c0e83b1aa5aa8b8b258ae422b067720224
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
CRs-Fixed: 1063261
Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-09-18 17:51:22 +03:00
Maya Erez
dd2c4e67bf wil6210: prevent usage of incorrect TX hwtail
txdata->enabled is used in order to determine if the TX vring
is valid. As the data transmit is handled in a different context,
in case txdata->enabled is set before vring->hwtail is updated,
an old or corrupted vring->hwtail can be used.
Protect setting of txdata->enabled and vring->hwtail to prevent a
case where TX vring start handling TX packets before setting
vring->hwtail.

Change-Id: Id17271823d167677a323dd1f52c7de4c6025b56e
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: dc90506f145875b9d88160802cc5fe06a7c79dda
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
CRs-Fixed: 1063261
Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-09-18 17:50:36 +03:00
Lazar Alexei
f3d407b89b wil6210: Fix driver down flow
Stations disconnection is executed as part of wil_reset so no
need to do it in wil_down.
Removal of the disconnect operation will also preserve the lock
of wil->mutex during the whole reset flow and prevent handling of
connect event while resetting.
Set wil_status_resetting in earlier stage in the flow to prevent
double resetting call in case communication with FW fails while
bringing the interface down.

Change-Id: Ifb92501aab14843309fed8e1214a867b2ccccfce
Signed-off-by: Lazar Alexei <qca_ailizaro@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: b0c0e688e523eba14abf21ac246b7dd88f5574fa
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
CRs-Fixed: 1063261
Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-09-18 17:49:49 +03:00
Maya Erez
ff026fee54 wil6210: fix stop p2p device handling
fix stop p2p device handling to identify between search
and listen and update the upper layers with the appropriate
notification.
The stop of p2p radio operations also needs to be performed
in __wil_down.

Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: d35c2b6f8ffa75d430fd0fbbc5062f738c44f6e4
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
CRs-Fixed: 1063261
Change-Id: I79f8522ae84dd209cb98c3bbc52cfaeb199dd342
Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-09-18 17:48:58 +03:00
Lior David
ada668c8a1 wil6210: change HALP logging category to IRQ
Change the logging category of HALP functions from
MISC to IRQ, since the HALP mechanism is closely
related to interrupts. Both HALP and IRQ create
a heavy load of logging messages when enabled,
so their logging is typically disabled during normal debug
scenarios. Having them in the same logging category
will make it easier to disable logging for both in one go.

Change-Id: I51e58438672a45d210df5db3ac813e656cb525df
Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: ef86f249fa4980fc78fe1546e45d8cab6be424b6
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
CRs-Fixed: 1063261
Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-09-18 17:48:10 +03:00
Maya Erez
4e5eb632f4 wil6210: support rx key setting for all TIDs
According to the spec the PN should be calculated per TID.
In the current implementation, the PN and key_set were set
only for TID 0, therefore only traffic for TID 0 was supported.
In order to support all TIDs, the key_set and PN should be set
for all the TIDs.

Change-Id: Ib5c55a37208d76505658635b12afc88552d5a220
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: 74b6ac586d9cb7f45c894841e4204b3648ae865c
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
CRs-Fixed: 1063261
Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-09-18 17:47:24 +03:00
Maya Erez
b6719a8452 wil6210: align to latest auto generated wmi.h
Align to latest version of the auto generated wmi file
describing the interface with FW.

Change-Id: I95c14c0fe7a33c078eb7d9aa44dd97a64f9b0fae
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: 0163b03199006a6ba0d2c991c311e8ac93fcb208
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
CRs-Fixed: 1063261
Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-09-18 17:46:35 +03:00
Linux Build Service Account
4e2a8a0fa1 Merge "Revert "usb: dwc3: gadget: always enable IOC on bulk/interrupt transfers"" 2016-09-17 21:07:23 -07:00
Linux Build Service Account
d39931458e Merge "Revert "usb: gsi: Queue control notification on gsi_resume"" 2016-09-17 21:07:20 -07:00
Linux Build Service Account
72c2d923b9 Merge "msm: sde: Move SDE rotator timeout evtlog outside of spinlock" 2016-09-17 21:07:20 -07:00
Linux Build Service Account
a8db147fc1 Merge "USB: f_accessory: Fix NULL pointer dereference in acc_read()" 2016-09-17 21:07:16 -07:00
Linux Build Service Account
f18d5b789d Merge "msm: camera: Add support for camera on version 2 of msmcobalt" 2016-09-17 12:59:53 -07:00
Linux Build Service Account
1befebc47d Merge "icnss: Handle multiple PD down notifications" 2016-09-17 12:59:52 -07:00
Linux Build Service Account
c93a92750e Merge "icnss: Top level reset if clocks are dead" 2016-09-17 12:59:52 -07:00
Skylar Chang
a1d527f88f msm: ipa: add support for new QMI IDL
Add support for new QMI IDL in IPA driver for new message
QMI_IPA_INSTALL_FILTER_RULE_EX_REQ_V01 which allows to send
at most 128 rules.

Change-Id: I886e40f597169939ce4598863fd80145743d8db7
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-09-16 17:21:59 -07:00