Commit graph

893,362 commits

Author SHA1 Message Date
qctecmdr
27344ce0ec Merge "msm: kgsl: Modify gpu_max_clock sysfs node" 2020-10-08 21:56:22 -07:00
qctecmdr
178054fe90 Merge "scsi: ufs-qcom: Check for fsm state only in task context" 2020-10-08 21:56:21 -07:00
qctecmdr
f771e2c796 Merge "usb: misc: nb7vpq904m: separate channel and chan_mode" 2020-10-08 21:56:21 -07:00
qctecmdr
f9130f74cf Merge "mmc: core: Remove SD card upon recovery failure" 2020-10-08 21:56:21 -07:00
qctecmdr
1748381de5 Merge "soc: qcom: Create a zero filled initial buffer for ftrace/boot log" 2020-10-08 21:56:20 -07:00
qctecmdr
507b1bd516 Merge "PM / devfreq: icc: move init call to late init call" 2020-10-08 21:56:20 -07:00
qctecmdr
72e0d2cf86 Merge "sched/walt: Improve the scheduler" 2020-10-08 21:56:20 -07:00
qctecmdr
ca58b822ce Merge "usb: dwc3: gadget: Add delay for EPCMDCMPLT" 2020-10-08 21:56:19 -07:00
qctecmdr
3148d29a40 Merge "usb: dwc3: Avoid CLR block DB if run/stop is cleared" 2020-10-08 21:56:19 -07:00
qctecmdr
6cc5f7bf84 Merge "usb: dwc3: gadget: Ensure minimum delay between run/stop" 2020-10-08 21:56:18 -07:00
qctecmdr
c9cd74221f Merge "clk: qcom: gpucc: Update the PLL 2x frequency" 2020-10-08 21:56:18 -07:00
qctecmdr
8998b097b8 Merge "msm: kgsl: Remove unused function adreno_is_a660v1" 2020-10-08 21:56:17 -07:00
qctecmdr
df311007e5 Merge "mmc: sdhci-msm: dump vendor specific registers during error" 2020-10-08 21:56:17 -07:00
qctecmdr
2c71a4277d Merge "soc: qcom: spss_utils: fix IAR-DB-Recovery" 2020-10-08 21:56:17 -07:00
qctecmdr
87d9d76131 Merge "NFC: Add IPC logging of NCI Commands and responses of NFC I2C driver" 2020-10-08 21:56:16 -07:00
qctecmdr
4643e54b8f Merge "msm: kgsl: Relinquish CPU during the TLBSTATUS timeout wait" 2020-10-08 21:56:16 -07:00
qctecmdr
d616f838d1 Merge "msm: kgsl: Use readl_poll_timeout() for crashdumper status" 2020-10-08 21:56:15 -07:00
qctecmdr
3fe3c763dc Merge "defconfig: arm64: Enable hotplug cooling device for lahaina" 2020-10-08 21:56:15 -07:00
Chris Lew
45a6d843ae soc: qcom: smp2p: Log unchanged entries
Move log statement so unchanged entries are logged. This increases log
spam to the ipc logging buffer but helps catch issues where a smp2p
interrupt is missed.

Change-Id: I695c324deec13b7a82b4838a1fc91fef594f7f8b
Signed-off-by: Chris Lew <clew@codeaurora.org>
2020-10-08 21:22:13 -07:00
Imran Ahmad
345ccc1d92 power: smb5: Fix LPD flag for PMI632
Currently,LPD flag can be set either using DT property or
by default initialization based on PMIC subtype.
However, the DT property value for LPD support overrides
the default initialization.
Fix this by taking a logical OR between the two control
methods.

Change-Id: Ic99980691c59ab8d1f77e0300abb232787597f84
Signed-off-by: Imran Ahmad <imrahm@codeaurora.org>
2020-10-08 20:23:20 -07:00
qctecmdr
c7abf2c0ee Merge "msm: cvp: Avoid racing in session deletion and use" 2020-10-08 15:24:56 -07:00
qctecmdr
7b6935a914 Merge "cnss2: Process TWT Indication message in event workqueue" 2020-10-08 15:24:56 -07:00
qctecmdr
08bfd8625d Merge "cnss2: Enable self-recovery only when host driver detects linkdown" 2020-10-08 15:24:55 -07:00
qctecmdr
0a83eab6f9 Merge "Bluetooth: Implement a minimum off-time for AON discharge issue" 2020-10-08 15:24:55 -07:00
qctecmdr
09abe57514 Merge "soc: qcom: llcc-lahaina: Disable 'retain on PC' for Audio" 2020-10-08 15:24:55 -07:00
qctecmdr
1d65d474b9 Merge "soc: qcom: eud: Fix enable status for secure mode" 2020-10-08 15:24:54 -07:00
qctecmdr
2a5792a99a Merge "ASoC: msm: fix integer overflow for long duration offload playback" 2020-10-08 15:24:54 -07:00
qctecmdr
010ee46d6f Merge "drivers: edac: Disable panic for the correctable errors" 2020-10-08 15:24:52 -07:00
qctecmdr
43cd233e24 Merge "input: touchscreen: st: toggle reset gpio during error on SVM" 2020-10-08 15:24:52 -07:00
qctecmdr
580b442865 Merge "msm: cvp: Fix sum fps aggregation setting" 2020-10-08 15:24:52 -07:00
Harshdeep Dhatt
c79cda3408 msm: kgsl: Initialize drawctxt active node earlier
gpudev->preemption_context_init() can fail and invoke
adreno_drawctxt_detach(). This causes a crash because
drawctxt->active_node is not initialized.

Change-Id: I201759316cfa5dc831e1987d209c73efb97bb9ee
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-10-08 13:31:16 -06:00
Harshdeep Dhatt
817655d509 msm: kgsl: Fix error handling during gmu boot
Need to turn off interrupts if we encounter an error
other than a gmu fault or timeout.

Change-Id: If4261f5a2c8ce63bceede3a460faca0353817a39
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-10-08 13:31:16 -06:00
Harshdeep Dhatt
c381d24aab msm: kgsl: Trigger recovery upon GMU assert in hwscheduling
A GMU assert puts GMU in NMI so it will no longer be responsive
and hence triggering recovery is important. Also, trigger recovery
on WDOG or CM3 fault interrupt from GMU. Make sure snapshot and
reset is only triggered if device was active. Also, clear the
CM3 fault every SLUMBER exit.

Change-Id: I9d6a063470bcd082a9cbecc5b8dcf0a412713bb1
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-10-08 13:31:15 -06:00
Murali Nalajala
dcf7b284d3 haven: avoid sleeping in atomic context messages
Currently blocking calls are made from atomic context in doorbell and
message queue drivers. Modify the code flow to avoid kernel warnings
when drivers are initializing.

Change-Id: Iae851d5d7e09210a8fb617da0e2cc4cc52c0f258
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2020-10-08 11:54:31 -07:00
qctecmdr
c047705b3a Merge "msm: kgsl: Enable Battery Current Limiting feature for A660" 2020-10-08 08:33:26 -07:00
qctecmdr
689186736c Merge "msm: kgsl: Hook preemption sysfs nodes to hwscheduling" 2020-10-08 08:33:25 -07:00
qctecmdr
fceae6a2fb Merge "ABI: Update section name in script and internal allowed list" 2020-10-08 08:33:25 -07:00
qctecmdr
0ed475921c Merge "arch: arm: Fix the DTB_OBJS macro to include vendor dtbs" 2020-10-08 08:33:25 -07:00
qctecmdr
1b8ece591f Merge "rpmsg: glink: Send READ_NOTIFY command in FIFO full case" 2020-10-08 08:33:24 -07:00
qctecmdr
a27d90db9e Merge "dma-mapping-fast: Ensure reserved iovas are actually reserved" 2020-10-08 08:33:24 -07:00
qctecmdr
755a91289f Merge "defconfig: Enable EXT4 and FAT FS for sdxlemur" 2020-10-08 08:33:23 -07:00
qctecmdr
3896f5dd3f Merge "hwkm: Empty RSP buffer before any command" 2020-10-08 08:33:23 -07:00
qctecmdr
b8e66109f7 Merge "Revert "arm64: kpti: force off kpti"" 2020-10-08 08:33:22 -07:00
qctecmdr
4f9050fe53 Merge "drivers: soc: qcom: suppress platform driver bind / unbind feature" 2020-10-08 08:33:22 -07:00
rogercl.yang
c37c28d9aa ANDROID: adding __nocfi to cpuidle_enter_state
Background:
  When CPU is going to idle state, it would inform RCU that
current CPU is entering idle through rcu_idle_enter(),
and RCU will ignore read-side critical sections of this CPU.
However, there is CFI check mechanism inside idle flow and
calls rcu_read_lock(), so "rcu_read_lock() used illegally while idle"
in rcu_read_lock() will be triggered because rcu_idle_enter()
was already called before.

  Beside, the pointer of rcu_dereference() might be invalid
due to the RCU read-side critical sections will be ignoring in
this going idle CPU, it might cause problems like:
access the wrong data/address, kernel exception...

Based on above description:
  We will add __nocfi to cpuidle_enter_state to avoid
“rcu_read_lock() used illegally while idle!”
and avoid the usage of invalid pointer of rcu_dereference()
in this situation.

Bug: 169017431
Change-Id: I8bbe25704e18cfde351a8f4277dd4b44b07421f5
Signed-off-by: rogercl.yang <rogercl.yang@mediatek.com>
Signed-off-by: Chun-Hung Wu <chun-hung.wu@mediatek.com>
2020-10-08 12:58:32 +00:00
Ravikishore Pampana
c15c41781f dt-bindings: msm: Add bindings isp and pxl path feature ids
Define isp hw and isp hw pix path feature ids. This feature
information used for some target skus to check the particular
isp hw instance supported or not during the probe time.

Change-Id: I1bb4de1c90152d392b9e531299049286fd03d8b2
Signed-off-by: Ravikishore Pampana <rpampana@codeaurora.org>
2020-10-08 18:26:15 +05:30
Vipin Deep Kaur
f4a9c2e742 qcom-sps-dma: Add snapshot of QCOM SPS DMA driver
This change adds a snapshot of QCOM SPS DMA driver
from the msm-4.19 'commit 8b158709ddb7 ("qcom-sps-dma:
Add snapshot of QCOM SPS DMA driver"")'.

Change-Id: Ie340044913dfe8638b0ba336e67e51386432826a
Signed-off-by: Vipin Deep Kaur <vkaur@codeaurora.org>
2020-10-08 17:47:58 +05:30
Vipin Deep Kaur
2920b62683 spi: spi_qsd: Add snapshot of SPI BLSP driver
This change adds a snapshot of SPI BLSP driver
from the 4.19 branch.
This is snapshot of the SPI BLSP driver as of
msm-4.19 'commit 717e1e28321a ("Merge "SPI:
spi_qsd: Add snapshot of SPI QSD driver"")'.

Change-Id: I9ce403c8d64aac6e916fa9e213ade59ebc213c5b
Signed-off-by: Vipin Deep Kaur <vkaur@codeaurora.org>
2020-10-08 17:47:47 +05:30
Udipto Goswami
56a8027c07 usb: dwc3-msm: Add interconnect bus voting through dt-node
Currently, the bus votes are hardcoded in the driver,
therefore having different votes for different SOCs is
not possible as the vote values will remain the same for
all. However, it is possible to do it through dt files as
it would be different for every SOC.

Implemented this by introducing a function
dwc3_msm_interconnect_vote_populate which reads the dt
file values passed and update the existing matrix
bus_vote_values of NOM & SVS used for bus voting.

Change-Id: If22d4e98f76e2a2e7aaebfe632e20a2225e30b3c
Signed-off-by: Udipto Goswami <ugoswami@codeaurora.org>
2020-10-08 17:14:08 +05:30
Santosh Mardi
c8c8485942 drivers: soc: qcom: avoid double initialization of kobj
In rimps_memlat driver the rimps_kobj is initialized twice
once while creating and another while initializing and adding
to the parent kobj, which resulted in kernel warning.

Fix the double initialization of rimps_kobj.

Change-Id: I95c03d83f63cffd506b2f3ee36f1a6da9f4f1d31
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2020-10-08 15:24:29 +05:30