Commit graph

887,969 commits

Author SHA1 Message Date
Lina Iyer
40d93f100f drivers: pinctrl: sdxlemur: add GPIO PDC map
Add GPIO pins that are routed to PDC interrupt controller and can be
used as wakeup capable GPIOs.

Change-Id: If2044dfe89f7593ee3a6fd843866d4f86f3f42a6
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2020-07-24 21:30:45 -07:00
Lina Iyer
930b53c4f8 defconfig: enable power management functionality for sdxlemur
Enable PDC, RPMH, LPM, Master/SoC sleep stats, CommandDB modules for
sdxlemur.

Change-Id: I8e3f6aa2fdff3653352dd653d60a29af06f95b8a
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2020-07-24 21:30:31 -07:00
qctecmdr
cb65dc2405 Merge "interconnect: qcom: Add interconnect provider driver for Holi" 2020-07-24 13:58:29 -07:00
qctecmdr
0335c137a1 Merge "NFC: Enable NFC driver in the GKI build" 2020-07-24 13:58:29 -07:00
qctecmdr
6ae2b201ee Merge "defconfig: holi: Enable dispcc and debugcc" 2020-07-24 13:58:29 -07:00
qctecmdr
20d60aee97 Merge "usb: dt-bindings: Add USB QMP PHY registers definition" 2020-07-24 13:58:28 -07:00
qctecmdr
05449c45eb Merge "msm: kgsl: Make sure first boot sequence is complete during touch event" 2020-07-24 13:58:28 -07:00
qctecmdr
a5bfd60250 Merge "phy: ufs: Add UFS PHY support for Holi" 2020-07-24 13:58:27 -07:00
qctecmdr
aa27bd9421 Merge "net: qrtr: ns: Change to ratelimited prints" 2020-07-24 13:58:27 -07:00
qctecmdr
cf47a88635 Merge "scripts: gki: Disable DEBUG_FS for user variant builds" 2020-07-24 05:35:52 -07:00
qctecmdr
e140d708bc Merge "cpuidle: lpm-levels: Remove dependency on QGKI" 2020-07-24 05:35:52 -07:00
qctecmdr
7eeabad75c Merge "arm64: defconfig: remove mass storage as module" 2020-07-24 05:35:51 -07:00
qctecmdr
c08fc62dee Merge "mm/oom_kill: Online memory before running oom-killer" 2020-07-24 05:35:51 -07:00
qctecmdr
bccedceede Merge "scsi: ufs: Support query the spm/rpm level from device tree" 2020-07-24 05:35:51 -07:00
qctecmdr
6a0fedb06d Merge "pinctrl: set gpio 4 and 5 for qup14" 2020-07-24 05:35:50 -07:00
qctecmdr
0cfa8998e3 Merge "clk: qcom: clk-alpha-pll: Add support for Lucid EVO PLL" 2020-07-24 05:35:50 -07:00
qctecmdr
5c84a3c750 Merge "mhi: core: Error handling for pending packets in mission_mode" 2020-07-24 05:35:49 -07:00
qctecmdr
e5d856962d Merge "rpmsg: glink: Update signals interface" 2020-07-23 19:13:20 -07:00
qctecmdr
ca81e969e7 Merge "coresight: cti: Add sys interface to show max trigger number" 2020-07-23 19:13:20 -07:00
qctecmdr
aab3d4b120 Merge "usb: gadget: Fix interface descriptor fields for QTI functions" 2020-07-23 19:13:19 -07:00
qctecmdr
816aefccc5 Merge "usb: dwc3: gadget: Rate limit error message within ep_dequeue() API" 2020-07-23 19:13:19 -07:00
qctecmdr
a54a082997 Merge "adsprpc: set QoS only to silver cluster" 2020-07-23 19:13:18 -07:00
Chris Lew
6d5e22950a net: qrtr: ns: Change to ratelimited prints
Error prints for commands that are broadcasted may spam the kernel logs
if a client is misbehaving and stops reading from it's socket.

Change these prints to ratelimited in order to prevent performance
issues when a client socket is full.

Change-Id: I5aa5fa1f693f9865a3d28f28de38f870a42fbc8d
Signed-off-by: Chris Lew <clew@codeaurora.org>
2020-07-23 11:05:36 -07:00
Chris Lew
a56bc49c43 net: qrtr: ns: Improve ipc logging
Add some more information to command prints in ipc logging and rename
logs from 'ns' to 'qrtr_ns' to group all qrtr logs together.

Change-Id: Ie312d6f5bd99d209548270f7dd6c618d6af31956
Signed-off-by: Chris Lew <clew@codeaurora.org>
2020-07-23 11:05:35 -07:00
Mayank Rana
b0ffe3d223 usb: dwc3: gadget: Rate limit error message within ep_dequeue() API
With USB QDSS software path disable case, usb_qdss_close() API tries to
dequeue all queued USB requests which may have been already moved to
cancelled list and unlikely available as those may have been already
given back from end xfer command. There are more than 200 USB request
and quick enable/disable of USB QDSS software path results into error
message flooding serial console possibly causign watchdog timeout.
Hence rate limit error message with ep_dequeue() API.

Change-Id: I78dbffc5ec5e1b5d8d0df91da6aded398c988be9
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2020-07-23 10:14:26 -07:00
Karthik Poosa
980d07e84e NFC: Enable NFC driver in the GKI build
Add NFC I2C driver as loadable module.

Change-Id: If42188f2818ea8d65a7c2a93ea3356bf0b28ab79
Signed-off-by: Karthik Poosa <kpoosa2@codeaurora.org>
2020-07-23 19:49:36 +05:30
Xiaojun Sang
147465cd66 pinctrl: set gpio 4 and 5 for qup14
Make GPIO 4 and 5 support qup14 functionality.

Change-Id: I2111e0c19eacfc1d200d69069b76a12fbc99e145
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2020-07-23 19:28:45 +08:00
qctecmdr
8ac77746dc Merge "mm/memory_hotplug: Fix try_online_one_block() logic" 2020-07-23 03:07:12 -07:00
qctecmdr
0646fd8d0d Merge "defconfig: lahaina-qgki: enable system PM violators driver" 2020-07-23 03:07:12 -07:00
qctecmdr
9a81de62a9 Merge "usb: f_qdss: Cleanup control interface as no longer in use" 2020-07-23 03:07:10 -07:00
Nitin Rawat
1b05249e48 phy: ufs: Add UFS PHY support for Holi
This change adds ufs phy support for Holi.

Change-Id: I0d859b0371ca9402e7040ffc0a647657cf67e1e0
Signed-off-by: Nitin Rawat <nitirawa@codeaurora.org>
2020-07-23 13:14:09 +05:30
Vivek Pernamitta
ce91ce71f1 mhi: core: Error handling for pending packets in mission_mode
Clearing pending packets global reference count in mhi_controller
only when channel is in mission mode in error handling mechanism
with command completion timeout in mhi prepeare channel.

Change-Id: Ib86b4f2a2ff5f28d27cf6174f65987d4f9ca1aea
Signed-off-by: Vivek Pernamitta <vpernami@codeaurora.org>
2020-07-22 23:55:10 -07:00
Tushar Nimkar
6bba50349f cpuidle: lpm-levels: Remove dependency on QGKI
Fix compilation issue for lpm driver when dependency on QGKI is removed.
Also this patch remove QGKI dependency from QTI_DDR_STATS_LOG,
QCOM_SOC_SLEEP_STATS configs and defines CONFIG_QGKI_LPM_IPI_CHECK config.

Change-Id: I60c7d5d173a8739a72f0a9c3ceb8cbb357154618
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2020-07-23 10:49:33 +05:30
qctecmdr
86db7a0567 Merge "msm: pcie: add DRV enabled status for each RC" 2020-07-22 18:52:10 -07:00
qctecmdr
fe54d0ddee Merge "clk: qcom: gcc: Update GCC code for HOLI" 2020-07-22 18:52:10 -07:00
qctecmdr
28924f2da1 Merge "clk: qcom: shima: Update frequency tables and VDD data" 2020-07-22 18:52:09 -07:00
qctecmdr
54bc5a866d Merge "msm: cvp: Increase delay during AXI reset pulse" 2020-07-22 18:52:09 -07:00
qctecmdr
c74f51057b Merge "irqchip: mpm: Update mpm mapping for tsense interrupts for holi" 2020-07-22 18:52:09 -07:00
qctecmdr
ebed0f6461 Merge "msm: kgsl: Use correct gpudev for A660 GPU variant" 2020-07-22 18:52:08 -07:00
qctecmdr
ce059a4d06 Merge "crypto: msm: Fix null pointer dereference" 2020-07-22 18:52:08 -07:00
qctecmdr
2e2b090573 Merge "usb: gadget: f_midi: Avoid invalid pointer access" 2020-07-22 18:52:08 -07:00
Chris Lew
790be8ba3d rpmsg: glink: Update signals interface
Update the serial signal interface for rpmsg and glink to match the
android common kernel abi.

Change ABI whitelist to use renamed APIs for rpmsg_get/set_signals().

Change-Id: If531efa835b0bfb8405a5dfd265025b5c2754a61
Signed-off-by: Chris Lew <clew@codeaurora.org>
2020-07-22 17:26:51 -07:00
Isaac J. Manjarres
9a2809ba47 mm/oom_kill: Online memory before running oom-killer
Attempt to online memory before invoking the oom-killer
to alleviate the memory pressure in the system as quickly
as possible, without sacrificing performance/user-experience
by invoking the oom-killer.

Change-Id: I0cf3c50fcd022cd282731bccb54bfbad45878bb1
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-07-22 13:48:01 -07:00
Isaac J. Manjarres
8873011c08 mm/memory_hotplug: Fix try_online_one_block() logic
The logic to walk through the memory blocks in the movable
zone is not correct. When memory at either extreme of the movable
zone is offlined, the start of the movable zone is adjusted such that
it no longer accounts for the block that was offlined--if the block
is at the beginning of the movable zone--or the span of the movable
zone is adjusted such that it no longer covers the block that was
offlined--if the block is at the end of the movable zone. Similarly,
when the entire zone is offlined, the zone's start pfn and span are
set to 0. So, when looking for a block to online, we end up ignoring
some of the blocks at the extremes of the movable zone, or the entire
zone.

Thus, walk through all of the present memory blocks in the system when
deciding to online a block.

Change-Id: I1e1def049f672a1710c5916dfd7de70d3ef68e71
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-07-22 13:47:28 -07:00
Isaac J. Manjarres
82202b6f97 mm/memory_hotplug: Fix deadlock in try_online_one_block()
There is a possible scenario where the system can deadlock
itself when it is low on memory, and attempts to online
a memory block. Consider the following scenario:

 -A thread in userspace onlines a memory block through sysfs-
 state_store() /* Acquires the device_hotplug_lock */
 device_online()
 memory_subsys_online()
 memory_block_change_state()
 memory_block_action()
 online_pages()
 memory_notify(MEM_GOING_ONLINE, ...)
 online_page_ext()
 alloc_page_ext()
 __alloc_pages_nodemask(GFP_KERNEL, ...)
 /* System enters into a critically low memory state */
 out_of_memory()
 try_online_one_block() /* Invokes lock_device_hotplug() and deadlocks */

Fix deadlock by introducing and using trylock_device_hotplug()
instead of lock_device_hotplug().

Change-Id: I52bc8075ae713c50e3c381216f3616ce8366cf31
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-07-22 13:45:55 -07:00
qctecmdr
8a429d00aa Merge "msm: adsprpc: remove use of vfs_stat API in the fastrpc driver" 2020-07-22 12:28:37 -07:00
qctecmdr
52fdd4f0ca Merge "fsa4480: Fix headset not detected during system suspend" 2020-07-22 12:28:37 -07:00
qctecmdr
12652534c7 Merge "input: touchscreen: synaptics_tcm: Fix Propagation" 2020-07-22 12:28:37 -07:00
qctecmdr
2420ab8623 Merge "msm: ipa: Add ipa hw and gsi changes for holi" 2020-07-22 12:28:36 -07:00
Vatsal Bucha
1f87c16e25 fsa4480: Fix headset not detected during system suspend
Headset is not detected after system goes into suspend
as sufficient delay is not given after pm_stay_awake
for system to wakeup. Implementing freezable workqeueue
after pm_stay_awake resolves the issue.

Change-Id: Ia104a1577004a4242470f3b4150be23698fc92b1
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-07-22 18:41:26 +05:30