Commit graph

879,689 commits

Author SHA1 Message Date
qctecmdr
98044d2486 Merge "ALSA: core: set private data for snd_info_entry" 2020-04-07 18:49:49 -07:00
qctecmdr
740a0a482d Merge "Fix GKI compilation for inline encryption modules" 2020-04-07 18:49:49 -07:00
qctecmdr
6ae860ef15 Merge "defconfig: lahaina-qgki: Enable QTI clk debugfs features for QGKI variant" 2020-04-07 18:49:49 -07:00
qctecmdr
086bdc3531 Merge "clk: qcom: gcc-lahaina: Keep ice core memory retained across gdsc collapse" 2020-04-07 18:49:48 -07:00
Vivek Aknurwar
37bb69cca2 defconfig: lahaina-qgki: Enable QTI clk debugfs features for QGKI variant
Enable CONFIG_COMMON_CLK_QCOM_DEBUG so that clocks can be controlled
from debugfs for testing/verification purposes.

Change-Id: Ie19434018eca57b0b99b7ef677c603e98914e471
Signed-off-by: Vivek Aknurwar <viveka@codeaurora.org>
2020-04-06 11:22:41 -07:00
Chris Lew
f864ac15ce arm64: defconfig: Enable QRTR for genericarmv8
Enable QRTR and QRTR Haven transport for virtual machine communication
using the IPC-Router protocol.

Change-Id: I4fa6361ee7d82336988247e4cd2294463ab81eea
Signed-off-by: Chris Lew <clew@codeaurora.org>
2020-04-06 11:11:03 -07:00
Chris Lew
bde9c50b27 arm64: defconfig: Enable QRTR Haven for lahaina-gki
Enable the QRTR Haven transport to enable virtual machine communication
using the IPC-Router protocol.

Change-Id: I15e01dd7bc527b81208632979c1fe3862b304f17
Signed-off-by: Chris Lew <clew@codeaurora.org>
2020-04-06 11:10:17 -07:00
qctecmdr
b38b5109bf Merge "net: qrtr: Add haven transport" 2020-04-05 07:27:28 -07:00
qctecmdr
f3d61754e3 Merge "haven: hh_msgq: Let clients manage the buffers for hh_msgq_send" 2020-04-05 07:27:27 -07:00
qctecmdr
9a45aede3b Merge "usb: dwc3: Add tuning support for Gen2 Tx compliance parameters" 2020-04-05 07:27:27 -07:00
qctecmdr
a92f470781 Merge "msm: pcie: fix user info in client's event callback" 2020-04-05 07:27:27 -07:00
qctecmdr
b542592b79 Merge "defconfig: lahaina: enable the fastrpc QGKI config option" 2020-04-05 07:27:26 -07:00
qctecmdr
ef9cacf04a Merge "msm: pcie: switch pipe clk mux source to XO before disabling GDSC" 2020-04-04 10:08:53 -07:00
qctecmdr
27986e140b Merge "includes: Fix more headers to work with KERNEL_HEADER_TEST" 2020-04-04 10:08:53 -07:00
qctecmdr
70061f9ecd Merge "icc: dt-bindings: add endpoint IDs for interconnects for HOLI" 2020-04-04 10:08:52 -07:00
qctecmdr
5a86b69868 Merge "icc: dt-bindings: add endpoint IDs for interconnects for SHIMA" 2020-04-04 10:08:52 -07:00
qctecmdr
65ff83b7a3 Merge "memory_dump: Correct the copyright year" 2020-04-04 10:08:52 -07:00
qctecmdr
4de1a8bf97 Merge "msm: kgsl: Setup UCHE_CMDQ_CONFIG register for A660" 2020-04-04 10:08:51 -07:00
qctecmdr
3e348adc8c Merge "msm: pcie: remove aggregation of PCIe rate change clock vote" 2020-04-04 10:08:51 -07:00
qctecmdr
923e557f83 Merge "phy: ufs: Update UFS PHY settings for Lahaina" 2020-04-04 01:02:04 -07:00
qctecmdr
d8b549ff22 Merge "soc: qcom: altmode-glink: add SSR support" 2020-04-04 01:02:03 -07:00
qctecmdr
d83df73768 Merge "haven: Convert the cap entry locks to spinlocks" 2020-04-04 01:02:03 -07:00
qctecmdr
4759146e40 Merge "haven: Fix buffer calculations for MEM_SHARE and MEM_LEND" 2020-04-04 01:02:02 -07:00
Tony Truong
85ea45eedb msm: pcie: fix user info in client's event callback
Clients store their private data in user within event structure
and not in notify structure. Thus update the callback to point
to the correct user info.

Change-Id: I938b135443d66b9451cead35d508bad9a4f685f8
Signed-off-by: Tony Truong <truong@codeaurora.org>
2020-04-03 18:35:48 -07:00
qctecmdr
154c4ef97c Merge "arm: defconfig: Enable Slimbus and QUPv3 drivers as modules on Lahaina" 2020-04-03 15:20:03 -07:00
qctecmdr
9a339311c7 Merge "tty: msm_geni: Do not place msm_geni_console_setup under __init" 2020-04-03 15:20:03 -07:00
qctecmdr
a488cdc0af Merge "serial: msm_geni_serial: Separate earlyconsole functionality" 2020-04-03 15:20:03 -07:00
qctecmdr
f7b228ab40 Merge "Perf: arm64: Add Snapshot of perf tracepoints" 2020-04-03 15:20:02 -07:00
qctecmdr
7c23870475 Merge "soc: qcom: Log the pending interrupts during the device resume" 2020-04-03 15:20:02 -07:00
qctecmdr
40dab97e4f Merge "soc: qcom: eud: Fix the power supply information" 2020-04-03 15:20:02 -07:00
qctecmdr
5ff8a4813a Merge "usb: gadget: Reset string ids upon unbind" 2020-04-03 15:20:01 -07:00
qctecmdr
9908017101 Merge "ion: Add support for dynamically assigned VMIDs" 2020-04-03 15:20:01 -07:00
qctecmdr
2b00b2adc4 Merge "input: touchscreen: st: enable aoi_set" 2020-04-03 09:15:57 -07:00
qctecmdr
a9e90cb0c8 Merge "i2c: i2c-msm-geni: Return correct error code if registration fail" 2020-04-03 09:15:57 -07:00
qctecmdr
625a868177 Merge "kernel:hdcp_qseecom:Enable hdcp_qseecom on Lahaina" 2020-04-03 09:15:57 -07:00
qctecmdr
635844ffdb Merge "soc: qcom: mem-buf: Do not print errors on probe deferrals" 2020-04-03 09:15:56 -07:00
Mao Jinlong
7cbd318745 memory_dump: Correct the copyright year
Retain 2019 as the copyright year of memory_dump.h.

Change-Id: I6c9053e64c8ee7a416a2f9af028b288ef577c5d8
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
2020-04-03 18:38:17 +08:00
Jordan Crouse
1155af87e3 includes: Fix more headers to work with KERNEL_HEADER_TEST
Fix other headers to work when KERNEL_HEADER_TEST is enabled by adding
dependencies and advance struct prototypes where appropriate.

Change-Id: Ic0dedbad6804e5dca75b33b3d0ae9e3b89a51669
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-04-02 17:40:57 -06:00
Himateja Reddy
a8d8a76255 defconfig: lahaina: enable the fastrpc QGKI config option
Enable the fastrpc QGKI config option that the driver can use to
detect that it is being compiled in a QGKI kernel.

Change-Id: I6bd44bfd61e79ebe70689f326d5616b6d856c146
Acked-by: Thyagarajan Venkatanarayanan <venkatan@qti.qualcomm.com>
Signed-off-by: Himateja Reddy <hmreddy@codeaurora.org>
2020-04-02 15:21:26 -07:00
Vignesh Kulothungan
1bec998829 ALSA: core: set private data for snd_info_entry
Set sound card  as private data for "state" snd info
entry to avoid dereference error when user/userspace
tries to read card state.

Change-Id: Ia165fef682dd420ffedd5352efdf31d96b232a4b
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-04-02 14:30:31 -07:00
Isaac J. Manjarres
7b0b276d76 haven: Fix buffer calculations for MEM_SHARE and MEM_LEND
The logic for calculating the request buffer sizes for the
MEM_SHARE and MEM_LEND resource manager calls is not present,
so add it.

Change-Id: I804ee108565733b0e4b376b5fd31abdb3d359c1f
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-04-02 12:07:34 -07:00
Isaac J. Manjarres
2629a2e2f1 haven: Fix NULL pointer dereference in hh_rm_populate_mem_attr_desc()
Use the locally calculated value of memory attribute entries when
populating the memory attribute descriptor, instead of always
dereferencing the client provided memory attribute descriptor,
as clients may not always provide one.

Change-Id: Ifbe586336e69e439ed404067616cce7515fd7953
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-04-02 12:07:34 -07:00
Gaurav Kashyap
f1c5ffb1e7 Fix GKI compilation for inline encryption modules
Changes to fix compilation for inline encryption
when compiled as modules for GKI.

Change-Id: If091f807fdfb42ceb846334458c48d1687231f6e
Signed-off-by: Gaurav Kashyap <gaurkash@codeaurora.org>
2020-04-02 11:55:11 -07:00
Subbaraman Narayanamurthy
d32781847d soc: qcom: altmode-glink: add SSR support
Add subsystem restart (SSR) support to altmode glink driver so
that when subsystem goes down and comes up again, it can send
PAN_EN to charger firmware to receive notifications about altmode
interface.

Change-Id: Ie011d5110b6c26790fe1dd6149115019f8bc261c
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2020-04-02 10:32:00 -07:00
Subbaraman Narayanamurthy
4f24711c26 power: supply: qti_battery_charger: add SSR support
Add subsystem restart (SSR) support to battery charger driver so
that it can stop read/write properties when subsystem goes down.
Also, send message to enable notification again once subsystem
comes up.

Change-Id: I64f3abfa1d12c4e6a65fd01d7f66155c8741e68a
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2020-04-02 10:32:00 -07:00
Subbaraman Narayanamurthy
2965150685 ucsi: ucsi_glink: add SSR support
Add subsystem restart (SSR) support to UCSI Glink driver so that
it can unregister from UCSI framework when subsystem goes down
and register with UCSI framework when it comes up again. When
subsystem goes down, it is not possible for UCSI stack to send
or receive data to and from PPM (i.e. remote subsystem)  over
PMIC Glink. Hence, return immediately in ucsi_qti_{read,write}()
to avoid error logs and handle cleanup easily.

Change-Id: I711920222bd531af27b87337cad7db8aabbaa466
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2020-04-02 10:32:00 -07:00
Subbaraman Narayanamurthy
04d7c9d332 soc: qcom: pmic_glink: add subsystem restart (SSR) support
Add support for PMIC Glink clients to receive notification when
the subsystem goes down and comes up again. PMIC Glink client
can pass a function pointer state_cb via which they would like
to receive when PMIC Glink state transitions so that they can
unregister from the framework (e.g. UCSI) and clean up their
state as needed.

PMIC Glink device supports SSR for the subsystem specified under
"qcom,subsys-name" property.

Change-Id: I0f32f638d72a13e231e6813fb3d782c8fa7a4af0
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2020-04-02 10:32:00 -07:00
Subbaraman Narayanamurthy
9d65615c15 soc: qcom: pmic_glink: rename callback function pointer
In preparation for subsystem restart (SSR) and protection domain
restart (PDR) where subsystem state transitions would be sent to
PMIC Glink clients via another callback function, change the client
callback function pointer name to msg_cb. This would convey that
this callback is for delivering the messages to a client upon its
registration.

Change-Id: I584d6c5d3898fe54e6928b25502d6382ce6ccbc4
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2020-04-02 10:32:00 -07:00
Isaac J. Manjarres
426fcd37a4 ion: Add support for dynamically assigned VMIDs
The ION trusted VM flag may map to a VMID that was dynamically
assigned, instead of statically allocated. Thus, use the RM driver
APIs to determine the VMID for the trusted VM.

Change-Id: Ide4dd77a4cedbdf7e32f3c834fef9a0dfc6ba9d5
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-04-02 09:53:36 -07:00
qctecmdr
17c22334d7 Merge "phy: ufs: Return error if UFS PHY reset control is not provided on RUMI" 2020-04-02 05:43:12 -07:00