Commit graph

892,594 commits

Author SHA1 Message Date
qctecmdr
bdd0d3a7cc Merge "drivers: soc: qcom: Check if readq_relaxed macro is defined" 2020-12-03 06:20:05 -08:00
qctecmdr
e14ef833ac Merge "guestvm_loader: isolate cpus when VM is starting" 2020-12-02 16:21:18 -08:00
qctecmdr
1ddf016918 Merge "icnss: Update FW_INIT_DONE QMI indication with hang event params" 2020-12-02 16:21:17 -08:00
qctecmdr
3068283a7a Merge "clk: qcom: Add support for NPU QDSS clocks" 2020-12-02 16:21:17 -08:00
qctecmdr
16577402f7 Merge "coresight: Doesn't save and restore ETMs state while CPU hot-plug" 2020-12-02 16:21:17 -08:00
qctecmdr
858cd7768a Merge "msm: kgsl: Poll a6x crashdumper register memory for status" 2020-12-02 12:33:05 -08:00
qctecmdr
716324595c Merge "icnss2: Add support for host triggered recovery" 2020-12-02 12:33:04 -08:00
qctecmdr
03ee1e4f8a Merge "icnss2: Avoid race between soc wake release threads" 2020-12-02 12:33:04 -08:00
qctecmdr
a9178e5c9b Merge "spi: spi-msm-geni: Bypass hw_version read for SVM" 2020-12-02 12:33:04 -08:00
qctecmdr
9c36b67360 Merge "soc: qcom: Initialize the irq count work item" 2020-12-02 12:33:03 -08:00
qctecmdr
e72d8c95da Merge "defconfig: sdxlemur: add dependence defconfig" 2020-12-02 08:44:35 -08:00
qctecmdr
4420d6ffed Merge "cnss2: pci: Trigger link down recovery if link fails to enter L0" 2020-12-02 08:44:35 -08:00
qctecmdr
ac8cdc9962 Merge "msm: pcie: support configurable number of PARF testbus selectors" 2020-12-02 08:44:34 -08:00
qctecmdr
1db02978e4 Merge "msm: dp: fix no audio over DP on device bootup" 2020-12-02 08:44:34 -08:00
qctecmdr
e10adfe482 Merge "regulator: qpnp-amoled: add support to disable pulse skipping" 2020-12-02 03:04:39 -08:00
qctecmdr
27be1572fd Merge "defconfig: Add support for compiling sdxnightjar target" 2020-12-02 03:04:39 -08:00
qctecmdr
9936d8bd66 Merge "cfg80211: export regulatory_hint_user() API" 2020-12-02 03:04:39 -08:00
qctecmdr
7f38220137 Merge "input: qcom-hv-haptics: add mutex lock for FIFO play" 2020-12-02 03:04:38 -08:00
qctecmdr
a9bfd29936 Merge "arm64: defconfig: Enable power drivers for gen3auto" 2020-12-02 03:04:38 -08:00
qctecmdr
a9ad07647e Merge "HID: qvr: wake up after acknowledgment from viewer" 2020-12-02 03:04:38 -08:00
Murali Nalajala
56a1e8a1fe guestvm_loader: isolate cpus when VM is starting
Do initial CPU reservation before starting VM, to
avoid any resource contention, while booting guest
VM. Remove the reservation after a configured timeout,
which defaults to 8 seconds.

Change-Id: Id49b07edd3e558dee074eafb729423ad8f8ff98d
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2020-12-02 09:52:41 +05:30
Hareesh Gundu
1817bbf51b msm: kgsl: Poll a6x crashdumper register memory for status
Use a6x crashdumper register memory end location to know
the crashdumper status completion. This will avoid AHB
traffic while crashdumper was active in snapshot dumping
and fixes the slave timeout issue.

Change-Id: Ic24e75557297c6a1a3f2ad7893f4d8d308f9943c
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
2020-12-01 08:58:50 -08:00
qctecmdr
d1d92738ec Merge "Merge android11-5.4.61+ (3720133) into msm-5.4" 2020-12-01 02:17:29 -08:00
Maulik Shah
ef6d5a474e arm64: defconfig: Enable power drivers for gen3auto
Enable LPM and SoC sleep stats drivers for gen3auto.

Change-Id: I7dd08d1044054d5b330d149aa1f26f13d9d7b9bf
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2020-12-01 10:53:50 +05:30
Fenglin Wu
b8790b3e44 input: qcom-hv-haptics: add mutex lock for FIFO play
When stop command comes during FIFO refill, it would free custom_effect
FIFO sample memory and set the pointer to NULL, and this would cause
the NULL pointer dereference during FIFO refill. To fix this, add a
mutex lock between FIFO stop and FIFO refill sequence to avoid a race.

Change-Id: I8792c2183f06e84fca3a7c4dddfed667b25f2528
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2020-12-01 11:53:51 +08:00
Mihir Shete
5c2f214753 cfg80211: export regulatory_hint_user() API
This is to help the hardware configured in world
roaming mode to save power when not connected to
any AP.

CRs-Fixed: 542802
Change-Id: Ia643d0e9848dcd486832973bd6dd186edd7bd4ea
Signed-off-by: Mihir Shete <smihir@codeaurora.org>
Signed-off-by: Will Huang <wilhuang@codeaurora.org>
2020-12-01 09:17:10 +08:00
Veera Vegivada
51be9de76c clk: qcom: Add support for NPU QDSS clocks
QDSS clocks are required for npu use cases
hence enable them.

Change-Id: I741d65677b46d2b3ca4d46ab14f4ee03ae262555
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2020-11-30 19:18:52 +05:30
Vipin Deep Kaur
aad84d1d48 spi: spi-msm-geni: Bypass hw_version read for SVM
QUP common registers should not be accessed from SVM as that
memory is assigned to PVM. So, bypass the reading of hw version
registers and rely on PVM for the specific HW initialization done
based on different hw versions.

Change-Id: I1f18c80aaf143daf4da1402aa617d3b8f52f9b95
Signed-off-by: Vipin Deep Kaur <vkaur@codeaurora.org>
2020-11-30 04:09:31 -08:00
Aasir Rasheed
5c518e884c icnss: Update FW_INIT_DONE QMI indication with hang event params
Update FW_INIT_DONE QMI indication with hang event address offset
and length.

Change-Id: I4a9c9f796329c01feefd4188f0894a3fe4462584
Signed-off-by: Aasir Rasheed <arasheed@codeaurora.org>
2020-11-30 03:52:19 -08:00
Lijuan Gao
05ceedd7e6 defconfig: Add support for compiling sdxnightjar target
Add generic defconfig and config option to support
SDXNIGHTJAR target.

Change-Id: I0251f530f15b583c5a5e1d30341fd548f8878512
Signed-off-by: Lijuan Gao <lijuang@codeaurora.org>
2020-11-30 18:58:30 +08:00
qctecmdr
cfcc5550df Merge "mmc: allow setting slot index via device tree alias" 2020-11-28 17:41:45 -08:00
qctecmdr
4d6092f03d Merge "ion: Restore secure system heap buffers' heap pointer after being freed" 2020-11-28 13:48:04 -08:00
qctecmdr
2247d97c76 Merge "clk: qcom: rpmh: Add support for PMIC clocks for YUPIK" 2020-11-28 00:00:47 -08:00
qctecmdr
457deee787 Merge "msm: kgsl: Poll GDCSR for holi target to ensure CX collapse" 2020-11-27 19:19:18 -08:00
qctecmdr
0d15c45237 Merge "NFC: Fix possible NULL pointer dereference issue" 2020-11-27 19:19:18 -08:00
qctecmdr
702f23085e Merge "HID: qvr: Fix for potential heap buffer overflow" 2020-11-27 19:19:17 -08:00
qctecmdr
6ceff19f16 Merge "msm: ADSPRPC: Register CMA region for minidump" 2020-11-27 15:17:16 -08:00
qctecmdr
93e8db43d7 Merge "mem-offline: increment the NR_ISOLATED_ANON stat properly" 2020-11-27 15:17:16 -08:00
qctecmdr
3c3949bc73 Merge "spi: spi-geni-msm: Return from resume without Touching Resources" 2020-11-27 15:17:16 -08:00
qctecmdr
caf87fb20b Merge "coresight-tmc-etr: Reuse the sysfs buf" 2020-11-27 15:17:15 -08:00
qctecmdr
22fe037afd Merge "power: smb1351: Remove parallel support for smb1351" 2020-11-27 15:17:15 -08:00
qctecmdr
192e6256eb Merge "input: qpnp-power-on: Add KPDPWR software debounce for PON_HLOS" 2020-11-27 15:17:15 -08:00
qctecmdr
4f677ecb1b Merge "msm: kgsl: Simplify GBIF halt sequence for stall-on-fault case" 2020-11-27 15:17:14 -08:00
qctecmdr
5cd90ec00f Merge "f2fs: prepare a waiter before entering io_schedule" 2020-11-27 11:18:50 -08:00
qctecmdr
c55f30b9e1 Merge "Bluetooth: Fix bluetooth enable failure for sdxlemur" 2020-11-27 11:18:49 -08:00
qctecmdr
7cd71280fa Merge "clk: qcom: gpucc: Add Support for GPUCC clock driver for YUPIK" 2020-11-27 11:18:49 -08:00
qctecmdr
7a220acaac Merge "mmc: sdhci-msm: Add dbg_state sysfs" 2020-11-27 11:18:49 -08:00
qctecmdr
7347dcaedb Merge "rpmsg: qcom_smd: allow smd create device if remote state is closing" 2020-11-27 11:18:48 -08:00
Taniya Das
d99d8106a2 clk: qcom: rpmh: Add support for PMIC clocks for YUPIK
Add the PMIC clocks required to be requested from clients via RPMH clock
driver.

Change-Id: I75b02fd3283ea0c459c6e28f06cfb45f04ece214
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2020-11-27 22:52:23 +05:30
Matthias Schiffer
8dceb5dc57 mmc: allow setting slot index via device tree alias
With GPIO, UART and others, allow specifying the device index via the
aliases node in the device tree.

On embedded devices, there is often a combination of removable (e.g.
SD card) and non-removable MMC devices (e.g. eMMC).
Therefore the index might change depending on

* host of removable device
* removable card present or not

This makes it difficult to hardcode the root device, if it is on the
non-removable device. E.g. if SD card is present eMMC will be mmcblk1,
if SD card is not present at boot, eMMC will be mmcblk0.

Alternative solutions like PARTUUIDs do not cover the case where multiple
mmcblk devices contain the same image. This is a common issue on devices
that can boot both from eMMC (for regular boot) and SD cards (as a
temporary boot medium for development). When a firmware image is
installed to eMMC after a test boot via SD card, there will be no
reliable way to refer to a specific device using (PART)UUIDs oder
LABELs.

The demand for this feature has led to multiple attempts to implement
it, dating back at least to 2012 (see
https://www.spinics.net/lists/linux-mmc/msg26586.html for a previous
discussion from 2014).

All indices defined in the aliases node will be reserved for use by the
respective MMC device, moving the indices of devices that don't have an
alias up into the non-reserved range. If the aliases node is not found,
the driver will act as before.

This is a rebased and cleaned up version of
https://www.spinics.net/lists/linux-mmc/msg26588.html .

Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/
Git-commit: fa2d0aa96941e8dc347e49a04c75468e3002ee20_
Change-Id: I88c11705c8b66022e67b38a64bbc91625357a4bc
Based-on-patch-by: Sascha Hauer <s.hauer@pengutronix.de>
Link: https://lkml.org/lkml/2020/8/5/194
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Ram Prakash Gupta <rampraka@codeaurora.org>
2020-11-27 19:03:58 +05:30