Commit graph

887,927 commits

Author SHA1 Message Date
Wenjun Zhang
ef727e8d7c drm/bridge: LT9611UXC: add LT9611UXC driver for HDK8350
Add LT9611UXC driver for HDK8350.

Change-Id: Iec2d592f8ce2a2ede28fc23d7d250f5d356191c3
Signed-off-by: Wenjun Zhang <wjzhan@codeaurora.org>
2020-07-28 13:28:26 +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
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
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
Jagadeesh Kona
51b504feaf clk: qcom: shima: Update frequency tables and VDD data
Update frequency tables, VDD data, PLL configuration and
halt check settings for all clock controllers as per the
latest frequency plan.

Change-Id: I8f698fb7b1d10b980916d7387c3cfb800f8b2d19
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
2020-07-22 18:34:50 +05:30
Saurabh Sahu
af6ee7a8eb clk: qcom: gcc: Update GCC code for HOLI
Update the freq tbl for camss_tfe_clk_src, csi3phytimer
clks, ope_clk src, gpll8 lval and usb BCRs for HOLI.

Change-Id: I7e34a7027e1fd0a84ec26cc5815b0b247e1da3e3
Signed-off-by: Saurabh Sahu <sausah@codeaurora.org>
2020-07-22 17:20:50 +05:30
Raghavendra Kakarla
831d1f3021 irqchip: mpm: Update mpm mapping for tsense interrupts for holi
Update the mpm pin to tsense interrupt mapping so that
tsense interrupts can wakeup the APSS from deep sleep.

Change-Id: I41a69571a6621ec41c6185e1052be2c6e95ba1eb
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
2020-07-22 12:42:40 +05:30
Saurabh Sahu
9ab4e2eae6 dt-bindings: clock: Update GCC clock ids for HOLI
Add clock id for camss_mclk4_clk, csi3phytimer_clk
csi3phytimer_clk_src and usb bcrs for HOLI.

Change-Id: I0acab96149aedee355e036cf44d104b73a348ff9
Signed-off-by: Saurabh Sahu <sausah@codeaurora.org>
2020-07-22 09:50:36 +05:30
Tanwee Kausar
d6ccbf749e crypto: msm: Fix null pointer dereference
Fixing possible null pointer dereference of sg_src
when nbytes exceed.

Change-Id: I91a2a274f11646bc65c4eb0d14a82d4ed81f4e42
Signed-off-by: Tanwee Kausar <tkausar@codeaurora.org>
2020-07-21 15:16:57 -07:00
Lina Iyer
7d8ae6cc81 defconfig: lahaina-qgki: enable system PM violators driver
Enable system PM violators driver for QGKI on Lahaina.

Change-Id: I6dcb7be5813866d1cb0e080865d86f6aede734dc
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
2020-07-21 11:47:04 -06:00
qctecmdr
c322899f4a Merge "pci: pci-msm-msi: Update the msi address size" 2020-07-21 09:43:29 -07:00
qctecmdr
d348dc8523 Merge "usb: dwc3: gadget: WARN on no-resource status" 2020-07-21 09:43:28 -07:00
qctecmdr
58c512c7b7 Merge "cnss2: Add debug assert on idle restart timeout" 2020-07-21 09:43:27 -07:00
qctecmdr
694fb7b30a Merge "defconfig: lahaina: enable DSCP based match" 2020-07-21 09:43:26 -07:00
qctecmdr
58797d8685 Merge "mmc: sdhci-msm: Update DDR_CONFIG reg with HSR value if supplied" 2020-07-21 09:43:25 -07:00
qctecmdr
24bc387d53 Merge "msm:adsprpc: Fixed NULL dereference in getargs()" 2020-07-21 09:43:23 -07:00
qctecmdr
1eb1237f1e Merge "msm: adsprpc: use current PID instead of stored PID for validation" 2020-07-21 09:43:21 -07:00
qctecmdr
f02cf8f63f Merge "iommu-debug: Use apply_to_new_mapping to reset fastmap" 2020-07-21 05:42:23 -07:00
qctecmdr
84cdf205be Merge "drivers: thermal: pe_sensor: Clear the victim IRQ status" 2020-07-21 05:42:22 -07:00
qctecmdr
a09f68ff84 Merge "sound: usb: qmi: Clean up log messages" 2020-07-21 05:42:22 -07:00
qctecmdr
52a9fabc29 Merge "clk: qcom: debugcc: Add support for Debugcc for HOLI" 2020-07-21 05:42:22 -07:00
qctecmdr
882bde7b3f Merge "usb: gadget: qdss: Add error log with set_alt failure cases" 2020-07-21 05:42:21 -07:00
Harshitha Sai Neelati
bc34aa109b msm: kgsl: Use correct gpudev for A660 GPU variant
A660 GPU variant has GMU, use GMU specific gpudev for this GPU.

Change-Id: I0f34c88b1c57738fc7a8557c0b3e0cddcea09163
Signed-off-by: Harshitha Sai Neelati <hsaine@codeaurora.org>
2020-07-21 15:33:33 +05:30
qctecmdr
0241c6609d Merge "Merge android-5.4-stable.50 (a200ad5) into msm-5.4" 2020-07-21 02:33:02 -07:00
qctecmdr
9bb4490af0 Merge "drivers: soc: qcom: Make global minidump table pointer NULL" 2020-07-21 02:33:01 -07:00
Armaan Siddiqui
fd369f40e2 msm: ipa: Add ipa hw and gsi changes for holi
Add changes to define IPA HW_4.11 and GSI 2.11 version.

Change-Id: I7f36af1da2e35f8ff88aa6c1d552f159dfafefeb
Signed-off-by: Armaan Siddiqui <asiddiqu@codeaurora.org>
2020-07-20 23:58:02 -07:00
Ritesh Kumar
abab096833 input: touchscreen: synaptics_tcm: Fix Propagation
This change propagates the missing fixes in synatics tcm touch
driver from msm-4.19 to msm-5.4.

Change-Id: I0b2ad56081d161957c8e0cb7ef80103525365490
Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org>
2020-07-20 23:43:35 -07:00
qctecmdr
e3d2fc1968 Merge "leds: qti-flash: Support zero duration for flash safety timer" 2020-07-20 23:34:41 -07:00
qctecmdr
74c727c1ed Merge "soc: qcom: spcom: spcom vote for PM runtime suspend/resume" 2020-07-20 23:34:40 -07:00
qctecmdr
5f88a4269c Merge "Revert "scsi: ufs: Dump PA_VS_STATUS_REG1 in eh"" 2020-07-20 23:34:40 -07:00
qctecmdr
5094ac8619 Merge "mhi: core: Use appropriate names for BHI/BHIe firmware load functions" 2020-07-20 23:34:39 -07:00
qctecmdr
f93f89138c Merge "kernel: add header file for audio compressed formats in bp" 2020-07-20 23:34:37 -07:00
qctecmdr
850ca920cb Merge "arm: dma-mapping: Use iommu_dma ops for arm32" 2020-07-20 23:34:36 -07:00
Fei Mao
da720aef2b input: touchscreen: synaptics_tcm: enable touch driver
Enable touch driver in touch driver.
Support drm_panel callback to be notified when screen on/off.
Add new property "synaptics,firmware-name" when different modules
with same touch IC.

Change-Id: I58159ce531913108e702227c5474fdc2f539d2d3
Signed-off-by: Fei Mao <feim1@codeaurora.org>
Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org>
2020-07-20 23:32:33 -07:00
qctecmdr
43aa526391 Merge "platform: msm-geni-se: Return correct Error code in probe context" 2020-07-20 21:09:20 -07:00