Commit graph

892,572 commits

Author SHA1 Message Date
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
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
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
Kiran Gunda
9a93cf3280 input: qpnp-power-on: Add KPDPWR software debounce for PON_HLOS
The PON_HLOS module does not have the PON_DEBOUNCE_CTL register
to read the debounce delay configured for KPDPWR debounce.
This register is present in PON_PBS peripheral. Due to this the
software debounce control logic does not work as expected. To fix
this add support to read the PON_PBS peripheral from PON_HLOS
module by adding PON_PBS register as a second SPMI register base
in device tree node.

Change-Id: I15737a3dc6e8c99cd21531685c41ec1b2752b2ef
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
2020-11-26 20:21:19 -08:00
Deepak Kumar Singh
694313785a rpmsg: qcom_smd: allow smd create device if remote state is closing
Some remote edge initial rx channel state is set to CLOSING, in this
scenario, allow creation of smd device for this edge.

Change-Id: I5937b8f2451630c9ecbe8627ab8817a4ce00e673
Signed-off-by: Suresh Kumar Allam <allamsuresh@codeaurora.org>
Signed-off-by: Deepak Kumar Singh <deesin@codeaurora.org>
2020-11-26 22:23:59 +05:30
Charan Teja Reddy
3efde2bdaa mem-offline: increment the NR_ISOLATED_ANON stat properly
Increment NR_ISOLATED_ANON when isolate a page so that the same is
decremented when the page migration is successful or when adding pages
back to the lru.

Change-Id: I6879c0029342560496b79d649a77283c767ab08e
Fixes: aa3fa08df4 ("mem-offline: improve the effective utilization of movable zone")
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
2020-11-26 05:53:11 -08:00
Jishnu Prakash
2749076bc9 regulator: qpnp-amoled: add support to disable pulse skipping
On some customer display panels, touch ghosting can happen due to
a voltage ripple from amoled. Add support to fix this issue, following
HW recommendation, by disabling smart pulse skipping in module
probe and disabling forced PSM when AMOLED is enabled.

Change-Id: Id5886d4cdaf2aa58bc53a874041bfae90374fafb
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-11-26 19:15:33 +05:30
qctecmdr
efc64e396a Merge "interconnect: qcom: Add SM8150 interconnect provider driver" 2020-11-26 05:30:42 -08:00
qctecmdr
2c92659f9e Merge "scsi: ufs: Don't disable core_clk_unipro if the link is active" 2020-11-26 05:30:42 -08:00
qctecmdr
7952df3579 Merge "usb: dwc3: Revert Add support for nominal elastic buffer" 2020-11-26 05:30:42 -08:00
qctecmdr
8dd308c9f8 Merge "icnss2: Vote for chain1 regulators if RD card is 2x2" 2020-11-26 05:30:41 -08:00
qctecmdr
d994764fca Merge "platform: msm-geni-se: Correct unit for ICC optimization" 2020-11-26 05:30:41 -08:00
qctecmdr
77625e5815 Merge "PM / devfreq: export functions to allow freeing of pmu counters" 2020-11-26 05:30:41 -08:00
qctecmdr
6586778045 Merge "interconnect: qcom: Fix the issue with uninitialized variable for Holi" 2020-11-26 00:33:36 -08:00
qctecmdr
153234f920 Merge "iommu/dma: Fix cache maintenance in iommu_dma_map_sg()" 2020-11-26 00:33:36 -08:00
qctecmdr
d6613611d1 Merge "icc: dt-bindings: Update endpoint IDs for interconnects for YUPIK" 2020-11-26 00:33:35 -08:00
rbandi
2c4dadbbbc HID: qvr: Fix for potential heap buffer overflow
Value of sensor->calib_data_len could be changed between
the reads causing potential heap buffer overflow.
When a 0 length is passed to kzalloc, non-NULL pointer
is returned, but this pointer is invalid.

Change-Id: Ie6ed76f63f7a433728e2292222ba9716c3a02635
Signed-off-by: rbandi <rohitbandi@codeaurora.org>
2020-11-25 21:40:59 -08:00
Mukesh Kumar Savaliya
d616f4060d spi: spi-geni-msm: Return from resume without Touching Resources
Return the captured value during TX and RX config from API
dmaengine_slave_config().

Also For LE VM case, do not touch resources like clocks, ICB vote,
GPIO etc. LE VM doesn't need resources to be controlled in TVM for
now till we have SOC infra support.

Change-Id: Iaa74b1b12a53da5764b1766188075349f3c42db8
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
2020-11-26 02:01:27 +05:30
Narender Ankem
6569d1509b msm: dp: fix no audio over DP on device bootup
In case of DP interface as primary, if device boots up with
DP connected, external interface driver is unable to notify
audio events as audio codec is getting registered later.
Add change to send audio event once audio codec gets registered.

Change-Id: I8d630adf892714ff2eb4d6039dc058b54c425b83
Signed-off-by: Narender Ankem <nankam@codeaurora.org>
Signed-off-by: Sudarsan Ramesh <sudarame@codeaurora.org>
2020-11-25 14:38:40 -05:00