Commit graph

888,417 commits

Author SHA1 Message Date
qctecmdr
66641c7b90 Merge "msm: kgsl: Don't map DDR as strongly ordered" 2020-08-01 20:06:45 -07:00
Saurabh Sahu
894fef24b2 arm64: defconfig: Add support for clock/CPUFREQHW in HOLI
Enable GCC, GPUCC, DISPCC, CLK_SMD_RPM, DEBUGCC and CPUFREQ_HW for HOLI.

Change-Id: I2b06341da3a815bc33b0d45a5dcd8cada632be6b
Signed-off-by: Saurabh Sahu <sausah@codeaurora.org>
2020-08-01 15:25:18 +05:30
qctecmdr
8380023f87 Merge "arm64: defconfig: Enabled download/reboot reason drivers for Lahaina" 2020-07-31 18:29:40 -07:00
qctecmdr
63a58ef9b3 Merge "defconfig: sdxlemur: enable QCOM PCIe drivers" 2020-07-30 19:46:43 -07:00
qctecmdr
1807fa0375 Merge "msm: kgsl: Fix possible use-after-free while adding context to active list" 2020-07-30 19:46:42 -07:00
qctecmdr
7cbd5863ce Merge "arm64: enable internal regdb for holi" 2020-07-30 19:46:42 -07:00
qctecmdr
08de85d630 Merge "soc: qcom: eud: Enable EUD IRQs by default" 2020-07-30 19:46:42 -07:00
qctecmdr
cb45ce8074 Merge "pinctrl: qcom: Update GPIO to PDC wakeirq map for shima" 2020-07-30 19:46:41 -07:00
qctecmdr
0b14e1a09f Merge "usb: dwc3-msm: Add eud to MODULE_SOFTDEP" 2020-07-30 19:46:41 -07:00
Jordan Crouse
4e3ff7f6ed msm: kgsl: Don't map DDR as strongly ordered
Don't map DDR memory as strongly ordered because it makes the memory
controller sad. All we really care about is the cache characteristics
and write-combine is the same as far as those are concerned.

Change-Id: Ic0dedbad30785c8d7c24ad3249413139593029f0
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-07-30 13:15:19 -06:00
Jordan Crouse
9222a3588a msm: kgsl: Don't print pagefault debugging in global space
Don't print pagefault debugging in global space to avoid giving
away buffer addresses.

Change-Id: Ic0dedbad7a66aca1bd5b678aac0ddae6a8612f1c
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-07-30 13:15:18 -06:00
Jordan Crouse
2460bec971 msm: kgsl: Make sure that IB addresses are dword aligned
All IB GPU addresses should be dword aligned. Enforce that in software
to keep invalid addresses from bothering the CP.

Change-Id: Ic0dedbad2298ebbd20ca1b575b8e36dcbf5a1fbe
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-07-30 13:15:18 -06:00
Jordan Crouse
7b96268e45 msm: kgsl: Add back apriv bit for legacy targets
Commit ef5440e7b8 ("msm: kgsl: Remove nonsense around the a5xx and a6xx
SMMU table update") removed a lot of the cruft around a pagetable update
but unfortunately legacy targets still needed APRIV to write to the
pagetable_desc memory so add that part back in.

Change-Id: Ic0dedbad71544eaaf77efe1d523c9bf533cb4973
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-07-30 13:15:17 -06:00
Jordan Crouse
b2e689c2c7 msm: kgsl: Limit the HFI error log to 16 characters
The HFI error message has a 16 character error string attached. We should
not trust that the error string is properly formatted with a null
character at the end. Set the string precision to ensure that we only
print up to 16 characters of the payload.

Change-Id: Ic0dedbad1b2aebef1feb3f9f7f531869e96599e6
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-07-30 13:15:17 -06:00
Urvashi Agrawal
cd2e264ddf msm: kgsl: Initialize CP engine before loading the zap shader
If CP is not initialized and zap shader loading fails the GMU IFPC state
machine is uninitialized which causes unwanted mess. Reverse the order
of CP_INIT and zap to handle the situation gracefully.

Change-Id: I062e4c7febd8ee11099bae1b58c579851a43e8bd
Signed-off-by: Urvashi Agrawal <urvaagra@codeaurora.org>
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-07-30 13:15:16 -06:00
Jordan Crouse
8e84207644 msm: kgsl: Detect missing per-process pagetable support and fallback
Per-process pagetable support might be disabled in the arm-smmu driver for
any number of reasons but we won't know it until we try to create our
first dynamic domain. If enabling the dynamic domain returns -EOPNOTSUPP
then disable per-process pagetables and fall back to global pagetables.

Also, demote a WARN to a log-once message when the arm-smmu driver doesn't
support the system cache no-write-allocate tag.

Change-Id: Ic0dedbadb66fc862eeb9cd585ade9edc1d178c77
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-07-30 13:15:16 -06:00
qctecmdr
5acb608571 Merge "Bluetooth: Add support for WCN399x series BT SoC" 2020-07-30 11:23:57 -07:00
qctecmdr
668fc75dda Merge "ABI: Add clock API's to GKI qcom whitelist" 2020-07-30 11:23:56 -07:00
qctecmdr
94380d39bc Merge "taskstats: extended taskstats2 with acct fields" 2020-07-30 11:23:56 -07:00
qctecmdr
167507760d Merge "usb: dwc3: gadget: Check controller status with endpoint enable/disable" 2020-07-30 11:23:55 -07:00
qctecmdr
87ff01a781 Merge "msm: kgsl: Unbind adreno from component device for nogmu" 2020-07-30 08:24:43 -07:00
qctecmdr
a63267620c Merge "spi: spi-msm-geni: Add support in SPI driver for Trusted VM" 2020-07-30 08:24:43 -07:00
qctecmdr
df78d1100b Merge "defconfig: Enable TouchScreen for QRD holi target" 2020-07-30 08:24:42 -07:00
Maulik Shah
45bbc04db8 pinctrl: qcom: Update GPIO to PDC wakeirq map for shima
Update latest GPIO to PDC wakeirq map.

Change-Id: I3cca3fcb9f5e4f58b8846d65858ed36b58d3c732
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2020-07-30 15:18:16 +05:30
qctecmdr
9644a106b1 Merge "dma-mapping-fast: Fix sg-list length calculation in fast_smmu_unmap_sg()" 2020-07-30 02:34:56 -07:00
qctecmdr
dc03d0a5f7 Merge "qseecom: Check error when allocating coherent buffer" 2020-07-30 02:34:56 -07:00
qctecmdr
68196a8c6a Merge "leds: qti-flash: Allow dynamic symmetry current redistribution" 2020-07-30 02:34:55 -07:00
qctecmdr
230b741679 Merge "firmware: qcom: Remove garbage characters from qsee log" 2020-07-30 02:34:55 -07:00
qctecmdr
10d419bbd1 Merge "driver: pinctrl: Add reserved GPIOs for Holi" 2020-07-30 02:34:55 -07:00
Neeraja P
45f301e539 msm: kgsl: Fix possible use-after-free while adding context to active list
Consider a scenario where a context is valid when the check is made in
adreno_dispatcher_queue_cmds(), but by the time we reach _track_context(),
context has been detached. We would try to delete the entry from the
active context list as part of detaching the context though the entry is
not added yet. Now in _track_context() the context is actually added. When
the context is finally destroyed, we would be left with invalid entry in
the list. Next time when a context is added, an attempt would be made to
use a freed entry. Fix this by moving the entry deletion part under
drawctxt lock.

Change-Id: Idab7cbf10987598b3e6395b2d50c20d1990d1f02
Signed-off-by: Puranam V G Tejaswi <pvgtejas@codeaurora.org>
Signed-off-by: Neeraja P <neerp@codeaurora.org>
2020-07-30 13:39:08 +05:30
Fei Mao
20ac668cf8 defconfig: Enable TouchScreen for QRD holi target
This change enables TouchScreen config for QRD holi target.

Change-Id: Ie56f53cbfe858c5b74502dc419bda57b060f767d
Signed-off-by: Fei Mao <feim1@codeaurora.org>
2020-07-29 23:56:18 -07:00
Aasir Rasheed
a750c69d6c arm64: enable internal regdb for holi
Enable internal wireless regulatory database.
This is needed for platforms without CRDA.

Change-Id: I5dd7259ae924ef64b74082747300ce3af8fe960a
Signed-off-by: Aasir Rasheed <arasheed@codeaurora.org>
Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
2020-07-30 12:03:01 +05:30
Balakrishna Godavarthi
cd121c127d Bluetooth: Add support for WCN399x series BT SoC
This change adds support for WCN399x series BT SoC's.

Change-Id: If7ad4e84eeb46adb123f3f5647cefa6841c94dee
Signed-off-by: Balakrishna Godavarthi <bgodavar@codeaurora.org>
2020-07-29 21:55:56 -07:00
qctecmdr
4707ea1d4a Merge "dwc3: trace: Remove unused field with dwc3 request tracing" 2020-07-29 21:16:08 -07:00
qctecmdr
93c278efce Merge "msm: cvp: Dump testbus for CVP debugging" 2020-07-29 21:16:07 -07:00
qctecmdr
30843159b0 Merge "msm: cvp: Relocate CVP HW PC control" 2020-07-29 21:16:07 -07:00
qctecmdr
bd56ef6d33 Merge "msm: kgsl: Enable UCHE dual command queue" 2020-07-29 21:16:07 -07:00
qctecmdr
9e3b2c7077 Merge "haven: ctrl: add nohypuart commandline parameter" 2020-07-29 21:16:06 -07:00
qctecmdr
7fd88fc597 Merge "sched/walt: Improve the scheduler" 2020-07-29 21:16:06 -07:00
qctecmdr
c50bb76a3e Merge "usb: xhci: Replace HCD_RH_RUNNING() check in xhci_stop_endpoint" 2020-07-29 21:16:06 -07:00
Mayank Grover
9aa1399eba driver: pinctrl: Add reserved GPIOs for Holi
Certain GPIOs are reserved for secure world and cannot be accessed by HLOS.
Supply "reserved_gpios" to msm_pinctrl to mark these pins as invalid.

Change-Id: I07807f37adfd6d90e7b1bdc72b2106520f378b02
Signed-off-by: Mayank Grover <groverm@codeaurora.org>
2020-07-29 19:38:54 -07:00
AnilKumar Chimata
0ee960d80e firmware: qcom: Remove garbage characters from qsee log
Send proper buffer size to fix the garbage characters
appearing on qsee logs.

Change-Id: Ia472b6d0478399e4df81803151c4bd757266ad7d
Signed-off-by: AnilKumar Chimata <anilc@codeaurora.org>
2020-07-29 18:28:33 -07:00
AnilKumar Chimata
547cc33976 qseecom: Check error when allocating coherent buffer
Add check to verify whether memory is allocated properly or not
and return error if its failed to allocate coherent buffer.

Change-Id: I234a637d20228d047f6fc11d374b6f13f28fed03
Signed-off-by: Gaurav Kashyap <gaurkash@codeaurora.org>
Signed-off-by: AnilKumar Chimata <anilc@codeaurora.org>
2020-07-29 18:28:29 -07:00
qctecmdr
e6f3b6b364 Merge "defconfig: Enable TSENS and cooling device drivers for holi" 2020-07-29 14:20:19 -07:00
qctecmdr
19e02a5480 Merge "usb: gadget: audio: Free requests only after callback" 2020-07-29 14:20:19 -07:00
qctecmdr
d8da30ecb7 Merge "msm: ADSPRPC: Map and FD non-NULL check before dereferencing" 2020-07-29 14:20:18 -07:00
qctecmdr
ccaaf015e0 Merge "msm: kgsl: Enable Preemption on A660 target" 2020-07-29 14:20:18 -07:00
Jagadeesh Kona
2487464fdb ABI: Add clock API's to GKI qcom whitelist
Add devm_of_clk_del_provider API to qcom whitelist
and qcom_clk_set_flags API to qcom internal whitelist.

Change-Id: Ic71a1d7efc0416a5b3843733c5b4b05e73c451ba
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
2020-07-29 22:58:42 +05:30
qctecmdr
901b25eef8 Merge "ABI: Sybmol list update" 2020-07-29 06:36:28 -07:00
qctecmdr
53e29d51ae Merge "regulator: rpm-smd: Add support for BOB on PMIC5" 2020-07-29 06:36:28 -07:00