Commit graph

893,532 commits

Author SHA1 Message Date
Lakshit Tyagi
e69ab13f6c defconfig: sdxlemur: Enable AQC IPA offload feature
Enable AQC IPA offload feature.

Change-Id: I0e77717dd1635071261435e0c093f89e709a2944
Signed-off-by: Lakshit Tyagi <[email protected]>
2021-01-14 11:09:38 -05:00
qctecmdr
e53264fa85 Merge "scsi: ufs: Disable interrupt in reset path" 2021-01-14 07:42:51 -08:00
qctecmdr
83b9923573 Merge "defconfig: Disable bluetooth config for sdxnightjar" 2021-01-14 07:42:50 -08:00
qctecmdr
52b474920b Merge "Bluetooth: Add support for QCA61X4/QCA937x series BT SoC" 2021-01-14 07:42:50 -08:00
qctecmdr
6208600e96 Merge "slim-msm-ngd: Disable core irq in SSR/PDR Down notification" 2021-01-14 07:42:50 -08:00
qctecmdr
9e542aad4f Merge "cnss2: Avoid to reject suspend pci for non DRV connected platform" 2021-01-14 07:42:49 -08:00
qctecmdr
3aacc1d72e Merge "msm: adsprpc: null pointer check for sctx" 2021-01-14 07:42:49 -08:00
qctecmdr
14f60362de Merge "defconfig: gen3auto: Enable service locator and notifier" 2021-01-14 07:42:49 -08:00
qctecmdr
3a016ea4fe Merge "backlight: qcom-spmi-wled: Add support for PM7325B WLED" 2021-01-14 07:42:48 -08:00
qctecmdr
0a38c43775 Merge "phy: ufs: Add UFS PHY support for yupik" 2021-01-14 06:21:57 -08:00
qctecmdr
31d628e3fd Merge "msm: ipa: enable more SIDs" 2021-01-14 06:21:56 -08:00
qctecmdr
fee290643a Merge "msm-cpufreq: fix cpufreq compile error problem" 2021-01-14 06:21:56 -08:00
qctecmdr
3ff8775b55 Merge "net: aquantia: Adding IPA glue layer" 2021-01-14 06:21:55 -08:00
qctecmdr
bba59bd13c Merge "defconfig: sdxlemur: Enable IOSS" 2021-01-14 06:21:55 -08:00
qctecmdr
dbb084194a Merge "clk: qcom: debugcc-yupik: Update all PCIE clocks to measure only" 2021-01-14 06:21:54 -08:00
qctecmdr
fde383ce77 Merge "msm: ipa: IPA offload subsystem for ethernet devices" 2021-01-14 06:21:53 -08:00
qctecmdr
2cf3ec57be Merge "msm: kgsl: Vote for l3 via icc_set_bw" 2021-01-14 06:21:52 -08:00
Mohammed Siddiq
9399e4a15a cnss2: Add code to do PCIe L2 suspend/resume during link recovery
Add code to do PCIe L2 suspend/resume during link down recovery.

Change-Id: I495d63b6cd7d826e7fbff627b3fe74af51c56099
Signed-off-by: Mohammed Siddiq <[email protected]>
2021-01-14 19:22:04 +05:30
Kai Liu
70d7837d2d cnss2: retry mhi suspend in case packets are pending in MHI layer
Platform driver sends QMI message to get device status,
after it receives response, it will suspend device,
but at that time QRTR might been sending some flow control packets,
so mhi layer will reject suspend because packets are still pending,
platform driver retry suspend to cover this corner case.

Change-Id: I1c2e4a490e525199929095579cc6c6e975f88736
Signed-off-by: Kai Liu <[email protected]>
2021-01-14 15:35:03 +08:00
Mike Tipton
c008036f9d defconfig: sdxlemur: Enable clock debug features
Enable QCOM-specific clock debug features required for testing on both
perf and debug builds.

Change-Id: Ib13e4003e8a80ed00973095c65dacf9bb169e19d
Signed-off-by: Mike Tipton <[email protected]>
2021-01-13 10:34:12 -08:00
Rohan Sethi
6a62cbaada msm: kgsl: Add GPU snapshot to minidump
Add support for dumping GPU snapshot in minidump. Register
snapshot region with minidump table.

Change-Id: I1ccf0a0b7f6f8f57b3e4b034f28ce3575b63001c
Signed-off-by: Rohan Sethi <[email protected]>
2021-01-13 05:19:03 -08:00
Naman Padhiar
85d5319625 icnss2: Increase filename array size
Increase filename array size to accommodate qdss config
file name.

Change-Id: Ifa7d93dff86f78efd264403eaf285bb90bd79764
Signed-off-by: Naman Padhiar <[email protected]>
2021-01-13 14:25:41 +05:30
Yuanfang Zhang
16aa569c55 defconfig: enable memory dump on sdxnightjar
Enable memory dump V2 on sdxnightjar.

Change-Id: I5320654a79cf4e9e5b8051130b16ea4ad8472d9f
Signed-off-by: Yuanfang Zhang <[email protected]>
2021-01-12 23:13:18 -08:00
Paras Sharma
0df046ba49 serial: msm_geni_serial: Vote for shutdown pinctrl during BT off
Currently driver is voting for active/sleep state configuration
during BT disconnect. Since this state contains UART functionality,
GPIO pins remains high which consumes power. This change is added
to vote for the shutdown pinctrl state during BT disconnect and
configure GPIO's in gpio functionality. This is a requirement
from BT SOC team.

Change-Id: I09f7a4a1dbc197c2bfd443a0b546a1ff283134ed
Signed-off-by: Paras Sharma <[email protected]>
2021-01-13 11:04:27 +05:30
Biao Long
ab8e62dc0b devfreq: Add devfreq-cpufreq governor
Porting devfreq-cpufreq governor to scale the device
based on the current cpu frequency.

Change-Id: I0350491fb4d6a74365808ec514e05767e18bfc8a
Signed-off-by: Biao Long <[email protected]>
2021-01-12 18:52:59 -08:00
Bojun Pan
48017f137f msm: ipa: enable more SIDs
Enable SMMU on eth/eth1/wlan1 SIDs.

Change-Id: I3b96e6cf89817f47b6b9fb4501f7e8c6bffcde14
Signed-off-by: Bojun Pan <[email protected]>
2021-01-12 11:38:40 -08:00
Jeya R
2e6cd4910b msm: adsprpc: Add logs to identify thread exit called
Added debug logs to identify whether thread exit is called
when ioctl call interrupted.

Change-Id: I5129237ee90ad80402f8f52b20dd015bc03cd0fc
Acked-by: Krishnaiah Tadakamalla <[email protected]>
Signed-off-by: Jeya R <[email protected]>
2021-01-12 09:16:04 -08:00
qctecmdr
1ea05851c7 Merge "cnss2: Prevent PCIE l1 substatus at MHI fast resume" 2021-01-12 08:24:53 -08:00
qctecmdr
ae5cc1426f Merge "msm: kgsl: Deregister gpu address on memdesc_sg_virt failure" 2021-01-12 08:24:53 -08:00
qctecmdr
c72ebc5e35 Merge "icnss2: Add support to load WPSS" 2021-01-12 08:24:53 -08:00
qctecmdr
a1d26c8cae Merge "msm: kgsl: Enable ACD feature support for A660 variant" 2021-01-12 08:24:52 -08:00
qctecmdr
d04631e7de Merge "netfilter: contrack: Null pointer check is added" 2021-01-12 08:24:52 -08:00
Armaan Siddiqui
73b1177d91 msm: ipa: Change done to add all uapi structures
Uapi changes added:

	1. L2TP over UDP requires new commands to be send to uC
    	   to use the new header length for additition and deletion.
	2. Definitions related to H/W fnr status
	3. Add the QMI support to change the modem
           Bandwidth voting throughput on APQ side to change the
           IPA clk scaling.
	4. Added new field to the QMI force clear request message
           data structure, To accommodate up to 128 possible endpoints.
           If this new field is used on newer architectures,
           the old field shall be ignored.

Change-Id: I6c642e745386bad5fb7ef63b4167e91ce561e0dd
Signed-off-by: Armaan Siddiqui <[email protected]>
2021-01-12 06:01:35 -08:00
Jeya R
3eb60fe69a msm: adsprpc: null pointer check for sctx
Adding a null pointer for sctx before dereferencing.

Change-Id: I1497eea2b9cb7bb75481246df47269796aff182d
Acked-by: Maitreyi Gupta <[email protected]>
Signed-off-by: Jeya R <[email protected]>
2021-01-12 12:17:32 +05:30
Chandana Kishori Chiluveru
5adc2a6e19 slim-msm-ngd: Disable core irq in SSR/PDR Down notification
Slimbus core interrupt is getting fired during a ADSP power up(Sub-sys up)
orafter a adsp shutdown(Sub-sys Down). At this point adsp slimbus hardware
is not ON(clocks are off) which is leading to a unclocked access when
HLOS slimbus tried to read the interrupt status register in isr.

Fix is to disable core irq as a part of SSR down notification and enable
it as a part of SSR UP notification in ngd_slim_enable API. And also add a
defensive check in ISR to not access registers if slimbus is
runtime suspended.

Change-Id: I84a599551b98c8580bdfc889ebbe99f48c649895
Signed-off-by: Chandana Kishori Chiluveru <[email protected]>
2021-01-12 11:18:49 +05:30
Jinesh K. Jayakumar
15c887d01e msm: ipa: IPA offload subsystem for ethernet devices
Update IPA offload sub-system to avoid IPA core API calls to support
new IPA ETH client API calls provided by IPA driver.

Change-Id: I5db3189f7042fa66397a530184c662e65c1e6f0c
Signed-off-by: Jinesh K. Jayakumar <[email protected]>
Signed-off-by: Lakshit Tyagi <[email protected]>
2021-01-11 15:41:35 -08:00
Fenglin Wu
915ab3fdc6 input: qcom-hv-haptics: config interrupt in haptics_set_fifo()
Currently, haptics_fifo_empty_irq_config() uses a mutex lock and it's
called from playback() of input framework which is from an atomic
context. Fix this by moving it out of haptics_playback() and call it
from haptics_set_fifo() which gets eventually called in upload().

With this change, the irq_lock mutex is no longer needed because all
the calling paths of haptics_fifo_empty_irq_config() have been protected
by the mutex lock defined in haptics_play_info structure, hence remove
it.

Change-Id: I4e4d353f8427fb279fd3f4d6a28737acbdb22a0a
Signed-off-by: Fenglin Wu <[email protected]>
2021-01-12 07:41:03 +08:00
Lakshit Tyagi
6d40652ad7 defconfig: sdxlemur: Enable IOSS
Enable AQC IOSS and its dependencies.

Change-Id: I7ac8c637d1365819fe9e1b8aef6241df4eebad87
Signed-off-by: Lakshit Tyagi <[email protected]>
2021-01-11 13:45:42 -08:00
Jishnu Prakash
041c8f64d9 backlight: qcom-spmi-wled: Add support for PM7325B WLED
Add new compatible string for PM7325B WLED. Add support to read
battery resistance, current and OCV from battery charger driver
through glink based interface.

Change-Id: I421c4225862c4f72f00dff14214b1b613c93fa42
Signed-off-by: Jishnu Prakash <[email protected]>
2021-01-11 14:15:23 +05:30
Jishnu Prakash
1cd45f9b6a defconfig: Enable WLED for yupik
Enable WLED device on PM7325B for yupik.

Change-Id: I3bd3dd740eb613b56906b16515b5088b50f9579e
Signed-off-by: Jishnu Prakash <[email protected]>
2021-01-11 00:24:34 -08:00
Jishnu Prakash
b295dc4303 backlight: qcom-spmi-wled: expose WLED selfie flash API with QTI_FLASH
At present, the WLED selfie flash API wled_flash_led_prepare is exposed
only for targets using QPNP_FLASH_V2 and WLED. Expose it for targets using
the combination of QTI_FLASH and WLED too.

Change-Id: I136b95f8219171534bad06109bd08423061a00c6
Signed-off-by: Jishnu Prakash <[email protected]>
2021-01-11 13:52:51 +05:30
Biao Long
ae32912529 msm-cpufreq: fix cpufreq compile error problem
When enable Qcom-cpufreq driver on 5.4,because some data
struct has been changed, and trace_cpu_frequency has been
removed, this will cause the compile issue, so fix these
problem to pass compile.

Change-Id: I71f76b92a52cfd8a905a5fc7fad6e5a5f4e6b39f
Signed-off-by: Biao Long <[email protected]>
2021-01-11 16:11:10 +08:00
Naman Padhiar
510ac340d5 icnss2: Add support to load WPSS
Add sysfs entry to trigger icnss driver to load WPSS
FW.

Change-Id: I6ef47986deb757ec6536256be8797ae06e8cf899
Signed-off-by: Naman Padhiar <[email protected]>
2021-01-11 10:41:02 +05:30
Biao Long
5dd2ecf1d7 devfreq: Fix 64-bit div compilation issue
Currently 32-bit div() is used on a 64-bit data which can truncate
the data. Fix this by using 64-bit division macro.

Change-Id: Icfde1182bfd5b9d9ea855da1e341913900e91f65
Signed-off-by: Biao Long <[email protected]>
2021-01-11 12:00:16 +08:00
Zijun Hu
2651cf95cf Bluetooth: Add support for QCA61X4/QCA937x series BT SoC
Add support for QCA61X4/QCA937x series BT SoC's.

CRs-Fixed: 2848490
Change-Id: Iddeaaf8933cd0809a6ec36f3e4d3e3dbe00a63ff
Signed-off-by: Zijun Hu <[email protected]>
2021-01-10 17:47:17 -08:00
Zijun Hu
b74795ed98 defconfig: Disable bluetooth config for sdxnightjar
Disable bluetooth builtin in order to implement
FR57995: Change Kernel defconfig linkages to DLKM for BT component.

CRs-Fixed: 2848490
Change-Id: I6ef035ff2e60321fc000050e73538b9873659f1b
Signed-off-by: Zijun Hu <[email protected]>
2021-01-10 17:46:29 -08:00
Jishnu Prakash
dffc1577de defconfig: Enable PM7325B devices for yupik
Enable VIB_LDO and LCDB devices for yupik.

Change-Id: I6a931b98dc891afcdf7caf658e548d0216bceb0f
Signed-off-by: Jishnu Prakash <[email protected]>
2021-01-10 20:52:59 +05:30
qctecmdr
1a5ca59cc3 Merge "Merge android11-5.4.61+ (662e2b3) into msm-5.4" 2021-01-08 23:43:03 -08:00
qctecmdr
a8f2f04662 Merge "arm64: defconfig: Add support for DISPCC and debugCC for YUPIK" 2021-01-08 23:43:02 -08:00
qctecmdr
18336829bf Merge "usb: gsi: Prevent function remote-wakeup without function suspend" 2021-01-08 23:43:02 -08:00