Commit graph

899,564 commits

Author SHA1 Message Date
qctecmdr
4a24cc844b Merge "cnss2: Move cnss_dms_init after cnss power on" 2021-08-17 06:16:39 -07:00
qctecmdr
8d73eba443 Merge "input: qcom-hv-haptics: update FIFO real time fill status mask" 2021-08-17 01:19:15 -07:00
qctecmdr
4d95988863 Merge "clk: qcom: gcc-shima: Use floor ops for SDCC clocks" 2021-08-17 01:19:15 -07:00
Will Huang
ae0559f702 cnss2: Move cnss_dms_init after cnss power on
To handle install cnss2 as module, need set dms server state after
bus init.

Change-Id: Ie6ac374193057190a69cb8e98da1771657b00f2d
Signed-off-by: Will Huang <wilhuang@codeaurora.org>
2021-08-16 21:51:58 -07:00
Jagadeesh Kona
3c8f39d488 clk: qcom: gcc-shima: Use floor ops for SDCC clocks
To avoid overclocking issues observed on few parts,
use floor ops for SDCC clocks.

Change-Id: I0bdb6dd540a4885f0c39f25ed97b17035e31f510
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
2021-08-16 21:08:08 -07:00
qctecmdr
c688b1eac0 Merge "drivers: thermal: tsens: updating tsens WD bark threshold to 100" 2021-08-16 20:30:20 -07:00
Kiran Gunda
41004b86e3 input: qcom-hv-haptics: update FIFO real time fill status mask
FIFO_REAL_TIME_FILL_STATUS_MASK is different for haptics HW
version V3. Update it.

Change-Id: Ida8326d89678af34ae2c3a35164ae1a7ad5f6b7b
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
2021-08-16 03:54:29 -07:00
Swetha Chikkaboraiah
8bc528d654 pinctrl: qcom: Update lahaina_groups for gpio6
As per the latest ipcat gpio6 func2 should be
mapped to qup6. Changes are done to support the same.

Change-Id: I57bf30916a8b51eececdeefe21ac3729bc20d903
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
2021-08-15 21:18:37 -07:00
qctecmdr
72c28d8ec9 Merge "arm64: defconfig: Enable AW2016 LED driver for Holi" 2021-08-13 16:53:52 -07:00
qctecmdr
f78b504f2f Merge "cnss2: retry mhi fast suspend if mhi returns EBUSY" 2021-08-13 16:53:52 -07:00
Priyansh Jain
9cdc56a4ee drivers: thermal: tsens: updating tsens WD bark threshold to 100
Updating tsens WatchDog Bark count threshold to 100.

Change-Id: Ic3a7945e56057ba0a8e1d809dcd1f703035fce90
Signed-off-by: Priyansh Jain <priyjain@codeaurora.org>
2021-08-13 10:37:58 +05:30
Hui Liu
5e9c28825a arm64: defconfig: Enable AW2016 LED driver for Holi
Enalbe AW2016 LED driver for Holi platform.

Change-Id: I07fd45f8d80bed09ead2b5c83c0fdb9c65d1d9c2
Signed-off-by: Hui Liu <huliu@codeaurora.org>
2021-08-13 10:29:31 +08:00
qctecmdr
2744660cb6 Merge "msm: kgsl: Add CX_MISC registers in a6xx gpu snapshot" 2021-08-12 02:58:26 -07:00
qctecmdr
43c9e4ae44 Merge "msm: kgsl: Fail import if secure buffer is not accessible to CP_PIXEL" 2021-08-12 02:58:26 -07:00
qctecmdr
80ec7c125d Merge "cnss2: WAR to trigger self-recovery for link recover callback" 2021-08-12 02:58:25 -07:00
qctecmdr
84d24b82dd Merge "FM: Fix for no sound issue in FM Audio" 2021-08-12 02:58:25 -07:00
qctecmdr
0f5359ff50 Merge "drivers: qcom: pil: Call pil_clear_segment when S2 mapping is done " 2021-08-12 02:58:24 -07:00
qctecmdr
e1c6e9102d Merge "icnss2: Send WLAN_EN delay value in Host Cap" 2021-08-12 02:58:23 -07:00
Swetha Chikkaboraiah
2ae69d5f1a drivers: qcom: pil: Call pil_clear_segment when S2 mapping is done
The function pil_clear_segment should be called only
when S2 mapping is success. So update clear_fw_region
accordingly.

Change-Id: Ie5bcf5b322ce347b08a575d18b7de3226027af91
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
2021-08-12 00:20:41 -07:00
qctecmdr
c6efa85d9b Merge "icnss2: Add proper debug logs" 2021-08-11 22:27:42 -07:00
qctecmdr
02068fd1a3 Merge "msm: ipa: Add vlan id field for ip collision" 2021-08-11 22:27:42 -07:00
qctecmdr
2d5c14b8c1 Merge "Merge android11-5.4.86+ (8eb8412) into msm-5.4" 2021-08-11 22:27:42 -07:00
qctecmdr
7c58288807 Merge "defconfig: msm: enable tlb_conflict_handler for holi" 2021-08-11 22:27:40 -07:00
qctecmdr
2dbef21093 Merge "pci: msm: Fix out of bound error with find_next_bit()" 2021-08-11 18:09:05 -07:00
qctecmdr
5474ca56df Merge "mmc: sdhci-msm: Restore CMDQ_VENDOR_SPECIFIC_CFG register correctly" 2021-08-11 18:09:05 -07:00
Siddartha Mohanadoss
b62866e622 pci: msm: Fix out of bound error with find_next_bit()
Existing api msm_pcie_write_reg_field() calls find_next_bit()
and results in a KASAN out of bounds error for taking in
the first parameter by typecasting as unsigned long type.
To avoid the KASAN error use __ffs() instead.

Change-Id: I9e155248e1233bbcb04ac5e2d1d6d512b3fa5387
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2021-08-11 12:50:03 -07:00
Sarthak Garg
1faebd2859 mmc: sdhci-msm: Restore CMDQ_VENDOR_SPECIFIC_CFG register correctly
Restoring CMDQ_SEND_STATUS_TRIGGER field after XO or hardware reset can
lead to CMD13 being send as soon as CQE is turned on which can lead to
below unnecessary warnings followed by register dumps.

[   82.554113] mmc: sdhci_cmd_irq: Got command interrupt 0x00000001 even
though no command operation was in progress.

Unset that bit before restoring CMDQ_VENDOR_SPECIFIC_CFG register.

Change-Id: Id5961ecdd68b0d7cbc1c48c116f9e862a1dfc573
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
2021-08-11 11:51:13 -07:00
Naman Padhiar
7c5394f2c8 icnss2: Send WLAN_EN delay value in Host Cap
For low temperature (< -25 degrees) WLAN FW need to keep
delay between WLAN EN low and HIGH. Read WLAN_EN delay
set by "wlan_en_delay" sysfs file and send it through
Host Cap request. Increase MODE_ON and TARGET_CAP QMI request
timeout to WLAN_EN delay value to accommodate delay kept
in FW for WCN6750.

Change-Id: Ic52cc94183984200f4cc3d893756bf7abeddad6d
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
2021-08-12 00:09:06 +05:30
qctecmdr
45e5597f7b Merge "arm64: Add TLB conflict fault handler" 2021-08-11 08:20:47 -07:00
qctecmdr
fa867b3c87 Merge "cnss2: Add code to do PCIe L2 suspend during shutdown" 2021-08-11 08:20:47 -07:00
Pankaj Gupta
0a3f1ec4e9 msm: kgsl: Add CX_MISC registers in a6xx gpu snapshot
Add CX_MISC registers in a6xx gpu snapshot dump.

Change-Id: I03e12db450327d26f976c8d45296eecb08b7e040
Signed-off-by: Pankaj Gupta <gpankaj@codeaurora.org>
2021-08-11 20:37:28 +05:30
Naina Mehta
5fcf71be7e defconfig: msm: enable tlb_conflict_handler for holi
Enable TLB conflict handling for QGKI image of holi.

Change-Id: Idbb5476c2495add61c3c659494c60f368a2e3e42
Signed-off-by: Naina Mehta <nainmeht@codeaurora.org>
2021-08-11 06:07:06 -07:00
Naina Mehta
c57a71bf5a defconfig: msm: enable tlb_conflict_handler for lahaina
Enable TLB conflict handling for QGKI image of lahaina.

Change-Id: I55f2ef3f98676b64d3a3b05f6a1ef694dbf384fc
Signed-off-by: Naina Mehta <nainmeht@codeaurora.org>
2021-08-11 04:51:50 -07:00
Naina Mehta
f056b8a329 arm64: Add TLB conflict fault handler
Add TLB conflict fault handler and try to handle
gracefully. Check whether TLB fault can be handled
by EL2 and cause panic if EL2 is not able to handle.

Change-Id: I276ec5413411932bd8a67ed4c85ebbf66f4affcf
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Signed-off-by: Naina Mehta <nainmeht@codeaurora.org>
2021-08-11 14:56:32 +05:30
Kamal Agrawal
f5266ee4d4 msm: kgsl: Fail import if secure buffer is not accessible to CP_PIXEL
It is possible that userspace can request import for secure dma buffer
that is not accessible to CP_PIXEL. There is no need to import such
buffers in KGSL. Go through the list of VMIDs for secure dma buffer
and fail import if it is not accessible to CP_PIXEL.

Change-Id: I7584ad00a964c9c40ac4c0c9b1c83a21c03c48fd
Signed-off-by: Kamal Agrawal <kamaagra@codeaurora.org>
2021-08-11 01:38:26 -07:00
Naman Padhiar
26f3eb1a49 icnss2: Add proper debug logs
Add proper debug logs to print return value of subsytem_get.

Change-Id: I5e210e7b32fe35ecf9688a84776385ba6e382df8
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
2021-08-10 23:17:43 -07:00
qctecmdr
1cda180ca1 Merge "soc: qcom: Dump stack in case of SSR failure for wpss" 2021-08-10 03:21:50 -07:00
Prateek Raj Singh
eda3f6aaa7 FM: Fix for no sound issue in FM Audio
Updated mutex_lock during tune/seek operation

Change-Id: I699f0a208ea7f9009226ebff962a5ef38f197d73
Signed-off-by: Prateek Raj Singh <pratsing@codeaurora.org>
2021-08-10 00:49:16 -07:00
Naina Mehta
086639c2a4 soc: qcom: Dump stack in case of SSR failure for wpss
Dump stack in case of SSR failure when ignore_ssr_failure
flag is enabled for wpss on Yupik platform.

Change-Id: I98fd294b12fe7bd9b52deb15edb8d83a5113acd8
Signed-off-by: Naina Mehta <nainmeht@codeaurora.org>
2021-08-10 12:11:25 +05:30
Armaan Siddiqui
e2936a7222 msm: ipa: Add vlan id field for ip collision
Add vlan id field for ip collison struct to
handle mdpn.

Change-Id: Idf593a55781fdc727fb33924c29d1387b6489625
Signed-off-by: Armaan Siddiqui <asiddiqu@codeaurora.org>
2021-08-09 01:45:08 -07:00
qctecmdr
93cba141aa Merge "cnss2: Add prealloc slots to accommodate WLAN host DP memory" 2021-08-06 21:01:57 -07:00
qctecmdr
4abc6114d9 Merge "drivers: pinctrl-msm: Move setting mpm_wake_ctl during .irq_enable" 2021-08-06 07:59:44 -07:00
qctecmdr
c4bb61e257 Merge "mmc: sdhci-msm: Avoid overiding of vendor_specific_func register" 2021-08-06 07:59:44 -07:00
Maulik Shah
9d978c7198 drivers: pinctrl-msm: Move setting mpm_wake_ctl during .irq_enable
Setting mpm_wake_ctl after enabling irq at parent PDC/GIC may cause
a false irq sometimes. Move setting mpm_wake_ctl during .irq_enable
before enabling irq at parent PDC/GIC. Since first irq is cleared
and then enabled it may clear any false irq received and pending at
GIC before enabling same.

While at this also add missing flags IRQCHIP_MASK_ON_SUSPEND and
IRQCHIP_SET_TYPE_MASKED for msmgpio irqchip.

Change-Id: I4801dd984ae5607f87045abc233dfd2d76fcadd1
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2021-08-06 01:10:12 -07:00
Yeshwanth Sriram Guntuka
ee2fa95f9e cnss2: Add prealloc slots to accommodate WLAN host DP memory
Add four 8k, two 32k, six 64k, and one 128k prealloc slots
to accommodate memory requirements for various WLAN host DP
structures.

CRs-Fixed: 3007544
Change-Id: I6f8fcb46ad84016d9ccc5ca22a9ee9d74d8bbfea
Signed-off-by: Yeshwanth Sriram Guntuka <ysriramg@codeaurora.org>
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
2021-08-05 05:44:29 -07:00
qctecmdr
f6962f8ac1 Merge "msm: kgsl: Fix memory leak for anonymous buffers" 2021-08-05 02:06:40 -07:00
qctecmdr
18e4111736 Merge "msm: kgsl: Dump cx regulator consumer list in case disable timeouts" 2021-08-05 02:06:40 -07:00
qctecmdr
3d295b860d Merge "leds: aw2016: update breath sysfs node name" 2021-08-04 20:54:32 -07:00
qctecmdr
c3adef29ad Merge "smcinvoke: release lock before sleep" 2021-08-04 20:54:32 -07:00
qctecmdr
2bef9ce63f Merge "mmc: host: Do not include standard key support for QTI crypto" 2021-08-04 20:54:31 -07:00