Commit graph

890,566 commits

Author SHA1 Message Date
qctecmdr
9eaefd9787 Merge "arm64: defconfig: Enable cpufreq hw debug for HOLI and SHIMA" 2020-09-05 23:03:23 -07:00
qctecmdr
c373fc1ff6 Merge "soc: qcom: Move watchdog suspend/resume callbacks to syscore ops" 2020-09-04 21:28:06 -07:00
qctecmdr
4afbca2a87 Merge "msm: kgsl: Define RBBM_SW_RESET_CMD for a6xx targets" 2020-09-04 21:28:05 -07:00
qctecmdr
b0f8e690f6 Merge "power: qpnp-qg: Allow signed values for Rconn property" 2020-09-04 21:28:05 -07:00
qctecmdr
8f5c855adb Merge "msm: kgsl: Set the bit mask for read-modify-write of GMU registers" 2020-09-04 21:28:05 -07:00
qctecmdr
dfcc9e01ba Merge "ASoC: soc-pcm: Fix playback shutdown sequence" 2020-09-04 21:28:04 -07:00
qctecmdr
ac90e240e6 Merge "drivers: thermal: sdpm: Add support for regulator notification" 2020-09-04 21:28:04 -07:00
Jagadeesh Kona
822d6597b7 arm64: defconfig: Enable cpufreq hw debug for HOLI and SHIMA
Enable cpufreq hw debug support for HOLI and SHIMA.

Change-Id: I62b3404b918a738addeada83a1069712c55ebc21
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
2020-09-05 07:36:21 +05:30
qctecmdr
e3bf003c8b Merge "crypto: Fix possible stack out of bound error" 2020-09-04 18:40:15 -07:00
qctecmdr
c1f96e11b1 Merge "usb: pd: Clear send_get_status flag in protocol reset" 2020-09-04 18:40:14 -07:00
qctecmdr
7b3ceccc73 Merge "Minidump: Add update region support for minidump regions" 2020-09-04 18:40:14 -07:00
qctecmdr
5f046bd246 Merge "clk: qcom: smd-rpm: Add support for clock handoff" 2020-09-04 15:55:42 -07:00
qctecmdr
5f689b7eb5 Merge "msm: cvp: All CVP load treated as real-time" 2020-09-04 15:55:42 -07:00
qctecmdr
e826883017 Merge "power: qpnp-smb5: Update the interrupt handler names" 2020-09-04 15:55:42 -07:00
qctecmdr
9d3f22c3a5 Merge "dt-bindings: msm: Add bindings for MFHDR fuse support" 2020-09-04 15:55:41 -07:00
qctecmdr
083c252107 Merge "clk: qcom: Add BIMC logging support during kernel panic" 2020-09-04 15:55:40 -07:00
qctecmdr
c1d17bef32 Merge "cnss2: Remove unnecessary logs for Bus BW voting" 2020-09-04 13:08:02 -07:00
Vikram Sharma
2e8f5628ef dt-bindings: msm: Add bindings for MFHDR fuse support
New feature bit for MFHDR is added in binding file.

CRs-Fixed: 2770220
Change-Id: Ic0a0059df707dd51efce04b1892803ab8cbae0de
Signed-off-by: Vikram Sharma <vikramsa@codeaurora.org>
2020-09-04 07:40:19 -07:00
Jishnu Prakash
377eacc4b2 power: qpnp-smb5: Update the interrupt handler names
It is observed that interrupt handlers with same names across drivers
are being incorrectly mapped. Until this is fixed and to align the names
with the driver name, update the interrupt handler names.

Change-Id: Ib2aea77c0b0e53ff99c34fafc531a5291f70449c
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-09-04 07:09:53 -07:00
Pratham Pratap
c2ee1fcf36 usb: pd: Clear send_get_status flag in protocol reset
Consider a scenario where a connected PD partner has sent an
alert message to the device and driver marked send_get_status
to true and queued usbpd_sm work with a delay of 150ms. Now,
if the cable gets disconnected before the start of usbpd_sm
work then send_get_status flag will not get cleared anywhere.
On the next cable plug-in, in PE_SNK_READY driver will
unnecessarily send Get_Status again which is incorrect and
may lead to soft/hard reset causing the PD partner to disconnect.
Fix this by clearing the send_get_status flag in the protocol reset.

Change-Id: I4747b0a25a0870e83ff78e0b9ccd7e3fd91ed9e6
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>
2020-09-04 03:52:05 -07:00
Neeraj Upadhyay
62ea1d38b6 soc: qcom: Move watchdog suspend/resume callbacks to syscore ops
Move suspend resume callbacks to syscore ops, to ensure that
watchdog is kept enabled while _noirq callbacks are run; to
catch any watchdog hang during these callbacks run.

Change-Id: I5ef61eb2ce2cd74a07847d6f5ff048a7b27b95a1
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Signed-off-by: Prateek Sood <prsood@codeaurora.org>
2020-09-04 03:39:16 -07:00
Lingutla Chandrasekhar
c2757a4d9c Minidump: Add support for cpu current stack
Currently cpu's current stack are being dumped only in
panic path, which is not always helpful. So extend it to
be always dumped for any type of reset reasons.

For every task switch of cpu, update the minidump table with
latest stack. so that we can reconstruct callstack of cpu
for any type of resets.

Change-Id: Ia57a8e0473d3706efc9a88c91fb1dd60523648ad
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2020-09-04 03:38:58 -07:00
Lingutla Chandrasekhar
465231e616 Minidump: Add update region support for minidump regions
Add support to update client's entry physical/virtual addresses,
which is useful for DLKM, dynamic address changing clients.

Currently, msm_minidump_add_region() returns 0 on success, instead
of that, return 'region number' of the entry in the minidump table.

So clients who wants to update their address in future, needs to
book keep their entry in minidump table.

Change-Id: I03abbbd87bf6d2e11cf637525412d352772821cf
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2020-09-04 15:41:56 +05:30
Tanwee Kausar
5e3618d4ee crypto: Fix possible stack out of bound error
Adding fix to check the upper limit on the length
of the destination array while copying elements from
source address to avoid stack out of bound error.

Change-Id: Ieb24e8f9b4a2b53fbc9442b25d790b12f737d471
Signed-off-by: Tanwee Kausar <tkausar@codeaurora.org>
2020-09-04 00:04:17 -07:00
Neeraj Upadhyay
b76161f6ac soc: qcom: Register irq stacks with minidump
Register irq stacks, so that irq context is correctly
captured in minidumps.

Change-Id: Iabafe0464961a0c25164d66a186846290fbfcafb
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2020-09-03 23:53:26 -07:00
Jagadeesh Kona
5074ac0f45 clk: qcom: Add BIMC logging support during kernel panic
Add support to send BIMC logging request to AOP using QMP
Mailbox Client during kernel panic.

Change-Id: I21f3c67496064a5ff70a890cdaadfff5ab39b002
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
2020-09-04 11:26:46 +05:30
qctecmdr
4b9bef81d3 Merge "msm: kgsl: Capture gpu globals in hwsched snapshot" 2020-09-03 22:49:08 -07:00
Kavya Nunna
affa09cad3 power: qpnp-qg: Allow signed values for Rconn property
Currently, Rconn value is read as unsigned, but
now signed value can be added, typecast it before
assigning it to variable.

Change-Id: If87adf2da724b5bbdef081018c59d52530c97f7b
Signed-off-by: Kavya Nunna <knunna@codeaurora.org>
2020-09-03 21:12:29 -07:00
Anirudh Ghayal
fb5d9ede79 power: qpnp-qg: Add the SDAM flash-ocv offset
On PM2250 the PBS sequence expects the battery-OCV
to output the right flash-boost output voltage. Provide
the same in a SDAM offset.

Change-Id: I9d43375d96de5a199c6a87c55e5c1079549b23ee
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2020-09-03 21:08:27 -07:00
qctecmdr
ceeea50cd7 Merge "backlight: qcom-spmi-wled: Add support for QCOM SPMI WLED driver" 2020-09-03 19:54:58 -07:00
qctecmdr
a443a3ed31 Merge "cnss2: Increase prealloc table to satisfy latest driver requirement" 2020-09-03 19:54:58 -07:00
qctecmdr
018aa3da63 Merge "cnss2: Add changes to handle MHI power up failure properly" 2020-09-03 19:54:57 -07:00
qctecmdr
4396f438b3 Merge "clk: qcom: gcc-lahaina: Keep gcc_ddrss_gpu_axi_clk always on" 2020-09-03 19:54:56 -07:00
qctecmdr
13bc62c871 Merge "usb: typec: ucsi: check partner changed flag during notification" 2020-09-03 19:54:56 -07:00
qctecmdr
6ce9988563 Merge "defconfig: lahaina: Fix INTERCONNECT_TEST being disabled for QGKI" 2020-09-03 19:54:56 -07:00
qctecmdr
e929ec2669 Merge "soc: qcom: watchdog: Add MODULE_LICENSE and MODULE_DESCRIPTION" 2020-09-03 19:54:55 -07:00
qctecmdr
7751c1edbd Merge "msm: kgsl: Dispatch submissions using hwscheduling" 2020-09-03 19:54:55 -07:00
Yue Ma
447a2a819f cnss2: Increase prealloc table to satisfy latest driver requirement
WLAN host driver has new memory requirement in order to be loaded and
brought up interface. Increase prealloc table accordingly.

Change-Id: I44a394dd2c9e9636ec226ccb45fbf8ac6f30ddf3
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2020-09-03 12:29:36 -07:00
Taniya Das
a03c45d40e clk: qcom: smd-rpm: Add support for clock handoff
During boot-up if the clock driver put across a initial high vote then
there is no way to remove these votes which can cause the corresponding
votes to be left always high till the CPU suspends causing power
regression. Thus introduce a device property which can remove the
initial votes from the clock driver and leave it up to the client to
keep a vote.

Change-Id: I068c87d06df908ee0ed0e58f69d46933b301ea6f
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2020-09-03 23:39:30 +05:30
Taniya Das
3003ceb2bf clk: qcom: clk-smd-rpm: Remove support for LN_BB_CLK3 for Holi
As the LN_BB_CLK3 clock is no longer required to be controlled from the
clock driver, thus remove support for the same.

Change-Id: Iffa05a87e9f2e2d3a92377fbd60a1ebf32c935e2
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2020-09-03 23:38:27 +05:30
qctecmdr
1d86c274d4 Merge "Merge android11-5.4.61+ (0d36496) into msm-5.4" 2020-09-03 10:45:43 -07:00
qctecmdr
05767a3609 Merge "arm64: defconfig: Enable CONFIG_QCOM_QFPROM_SYSFS on Holi" 2020-09-03 10:45:42 -07:00
Raghavendra Rao Ananta
c8a06f119c soc: qcom: watchdog: Add MODULE_LICENSE and MODULE_DESCRIPTION
MODULE_LICENSE is necessary for the module to be successfully loaded,
else the kernel would complain with "Unknown symbol (-2)" error
as the symbols would be of GPL v2 license. Hence, add the appropriate
license. Also, add MODULE_DESCRIPTION along with it.

Change-Id: I4b16de07a97ec604190c5806ecb35f074fcbe2c9
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-09-03 10:29:27 -07:00
Jagadeesh Kona
c354e7e4ba dt-bindings: clock: Add support for BIMC clock
Add clock ID for BIMC clock.

Change-Id: Ifc1f74ddfbb96f9f774250c3e953c08189f7f410
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
2020-09-03 19:08:14 +05:30
Kiran Gunda
a7a22658bc backlight: qcom-spmi-wled: Add support for QCOM SPMI WLED driver
qcom-spmi-wled driver adds support for controlling backlight for
LCD panels that uses QTI PMICs like pmi8998, PM8150L and PM6150L.

This snapshot is taken as of msm-4.19
commit b82b280d402 ("arm64: defconfig: Enable dm-snapshot").

Change-Id: I3eafddc1a2ce064552415516b168f452d0b3c638
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
2020-09-03 02:36:36 -07:00
Mike Tipton
7fc69929a6 clk: qcom: gcc-lahaina: Keep gcc_ddrss_gpu_axi_clk always on
Keep gcc_ddrss_gpu_axi_clk enabled all the time as a workaround to
prevent CPU hangs when DVM is enabled.

Change-Id: Ib66899de60d53ce1b9e0c2a40a08f65d4512e453
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
2020-09-02 21:51:07 -07:00
qctecmdr
1f75b3f8df Merge "msm: adsprpc: remove error log in case of rpmsg_send failures" 2020-09-02 19:51:40 -07:00
qctecmdr
af9e463028 Merge "input: qcom-hv-haptics: add LRA impedance detection support" 2020-09-02 19:51:39 -07:00
Linyu Yuan
1bed1828a2 usb: typec: ucsi: check partner changed flag during notification
Certain Type-C USB adapters (which doesn't support PD),
when connected switch the USB port type from USB3 to USB2.
This is because the clients of UCSI receive a notification
when the response for GET_CONNECTOR_STATUS has empty partner type.

Example UCSI IPC log:
213.212929:   sync_write: CONTROL: 12 00 01 00 00 00 00 00
213.216613:   read: CCI: 02 09 00 80
213.221135:   read: MSG_IN: 00 00 0d 00 00 00 00 00 00

Parsing the logs gives the following information:
Connect Status: connected
Power Operation Mode: USB Type-C Current - 3A
Power Direction: consumer
Connector Partner Type: Reserved

Fix this by checking whether partner changed flag is set
and not notify UCSI clients if it is not set.

Change-Id: Id8bd71c325b58f5ff45e9f69cc59776af974a885
Signed-off-by: Linyu Yuan <linyyuan@codeaurora.org>
2020-09-03 10:10:42 +08:00
Himateja Reddy
596200d467 msm: adsprpc: remove error log in case of rpmsg_send failures
Remove error log in case of rpmsg_send failures as it can flood
the kernel buffer when the remote subsystem is down.

Change-Id: I2ce8911f88c7ae520ee36913e46ec8f7bada96a7
Acked-by: Thyagarajan Venkatanarayanan <venkatan@qti.qualcomm.com>
Signed-off-by: Himateja Reddy <hmreddy@codeaurora.org>
2020-09-02 17:24:58 -07:00