Commit graph

888,459 commits

Author SHA1 Message Date
Ram Prakash Gupta
e288b5efd1 mmc: sdhci-msm: Add sysfs entry for pm qos & clk gating
Add sysfs entry for pm qos & clk gating delayed works.

Change-Id: I38b73931d8845ab5aa8ec07d1ae40e321c206058
Signed-off-by: Ram Prakash Gupta <rampraka@codeaurora.org>
2020-08-04 14:50:38 +05:30
Ram Prakash Gupta
1c76098345 mmc: sdhci-msm: Club bus voting with clk gating
When sdcc clk is gated, same time driver removes bus vote.
So club bus voting with clk gating, this helps reduce one delayed
job from sdcc driver.

Change-Id: I1129eba9caa5ac08aadc111659d0aa88b02c11db
Signed-off-by: Ram Prakash Gupta <rampraka@codeaurora.org>
2020-08-04 14:48:49 +05:30
Ram Prakash Gupta
c2e1c7e55f mmc: sdhci-msm: Make clk gating a delayed work
With MMC_CAP_SYNC_RUNTIME_PM enabled now host suspend would
happen just after host release and it would make clk gating
very aggressive, which would have performance impact.

Make sdcc clk gating a delayed work to support
MMC_CAP_SYNC_RUNTIME_PM.

Change-Id: I9cf7c895e3dbcc494564389c916b6dd61f5fc22d
Signed-off-by: Ram Prakash Gupta <rampraka@codeaurora.org>
2020-08-04 11:38:37 +05:30
Ram Prakash Gupta
67d5bdb5b9 mmc: sdhci-msm: Add support for pm qos in sdcc
Add support of pm qos for sdcc, based on irq affinity
and irq notification upon irq migration from one
cluster of cpus to any other.

Change-Id: I0f6fd6c0cefdfb8876277a785c1bd43714316a15
Signed-off-by: Ram Prakash Gupta <rampraka@codeaurora.org>
2020-08-03 19:01:43 +05:30
qctecmdr
2abb78b918 Merge "arm64: defconfig: Enable mem2mem drivers on Holi" 2020-08-02 15:29:57 -07:00
qctecmdr
859b461670 Merge "leds: qti-flash: Fix LMH mitigation configuration" 2020-08-02 15:29:56 -07:00
qctecmdr
1fee83940f Merge "arm64: defconfig: Disable LSE_ATOMIC for holi target" 2020-08-02 12:46:03 -07:00
qctecmdr
31f2100c3c Merge "iommu/arm-smmu: Support client configured dynamic domains only in QGKI" 2020-08-02 12:46:03 -07:00
qctecmdr
552f518a28 Merge "msm: kgsl: Update pagefault policy when KGSL_STATE_ACTIVE" 2020-08-02 12:46:02 -07:00
qctecmdr
790840acae Merge "ABI: Update whitelist for arch timer" 2020-08-02 12:46:02 -07:00
qctecmdr
b0c199468a Merge "usb: misc: nb7vpq904m: support 4 lanes display" 2020-08-02 12:46:02 -07:00
qctecmdr
e9ba39aef7 Merge "arm64: defconfig: Enable interconnect driver for sdxlemur" 2020-08-02 12:46:01 -07:00
qctecmdr
2d45ba2f8c Merge "msm: adsprpc: Allow kernel and static handle contexts" 2020-08-02 12:46:01 -07:00
Mayank Grover
8eb897e6a6 arm64: defconfig: Disable LSE_ATOMIC for holi target
LSE_ATOMIC is not supported for holi targets.
Change to disable LSE atomic operations, which
may result in crash for non-cacheable memory atomic
access.

Change-Id: Ibe2aba59de3b907908bae99f9f1cd92e128f348d
Signed-off-by: Ashish Bhimanpalliwar <abhiman@codeaurora.org>
Signed-off-by: Mayank Grover <groverm@codeaurora.org>
2020-08-02 18:25:12 +05:30
Yuanfang Zhang
cbfc1dfde8 defconfig: Disable CTI save function on perf build for holi
Disable CTI save function on perf build to avoid the power and performance
issue.

Change-Id: Ie656b6e911c841b134a78cba0fc5ba089a3deffc
Signed-off-by: Yuanfang Zhang <zhangyuanfang@codeaurora.org>
2020-08-02 18:20:32 +05:30
Raghavendra Kakarla
94344bd445 defconfig: Disable the CONFIG_ARM_CPUILDE_PSCI for holi
for qgki, as we are using the lpm-levels driver for our core
and cluster lpms so disbaling the CONFIG_ARM_CPUILDE_PSCI for
holi in qgki config.

Change-Id: Ie9e40d5fb4ef7324e2c556cea4db26d63ca1ab3e
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
2020-08-02 18:15:43 +05:30
Sriharsha Allenki
a75b1261de defconfig: holi-gki: Enable various configfs functions
Enable various USB CONFIGFS driver modules that add
support for NCM, CCID, CDEV, and GSI and support
for USB host mode video devices as well.

Also, enable the driver module to support USB PHY
and low power audio as well.

Change-Id: Icecd4af4be776f2b8b31677287a086cd6788a3b8
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
2020-08-02 18:11:13 +05:30
Raviteja Tamatam
a854cd0248 arm64: defconfig: Enable mem2mem drivers on Holi
Enable memory to memory multimedia driver support
to allow v4l2 rotator compilation in Holi.

Change-Id: Iaabd0c7ec6f74c0ba2cad5e4d79825339333e33f
Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
2020-08-02 16:21:52 +05:30
qctecmdr
b6aab13b4e Merge "leds: qpnp-flash-v2: Convert power_supply properties to iio" 2020-08-02 02:57:22 -07:00
qctecmdr
c493a193b0 Merge "scsi: ufs: Configure Vccq/Vccq2 with supplied load in LPM" 2020-08-02 02:57:21 -07:00
qctecmdr
2175496d8c Merge "interconnect: qcom: Add USB3 master for Holi" 2020-08-02 02:57:21 -07:00
Jishnu Prakash
4866e3fefd arm64: defconfig: Enable PMIC drivers required for holi
Enable PMIC drivers required for holi. Correct some existing
PMIC defconfigs.

Change-Id: Iabbcc7ccb0d18dc4853cd32753a41a82a2c3d815
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-08-01 22:55:08 -07:00
qctecmdr
5756e32237 Merge "sound: usb: Fix error handling path" 2020-08-01 20:06:46 -07:00
qctecmdr
a8cbc18ef6 Merge "iommu/iommu-logger: Log IOMMU client name in debug structures" 2020-08-01 20:06:45 -07:00
qctecmdr
66641c7b90 Merge "msm: kgsl: Don't map DDR as strongly ordered" 2020-08-01 20:06:45 -07:00
Odelu Kukatla
bfc522e814 interconnect: qcom: Add USB3 master for Holi
Add USB3 master so that client can vote for bandwidth
on Holi.

Change-Id: I37661eda4febdff619a703f423aca957f91347b5
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
2020-08-01 11:09:10 -07:00
Odelu Kukatla
1a9b237caa icc: dt-bindings: Add USB3 master ID for Holi
Add USB3 master ID for Holi so that client can vote
for bandwidth.

Change-Id: Ied8597df5bb86989657d8493816c4a882b898b3f
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
2020-08-01 20:19:22 +05:30
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
Sureshnaidu Laveti
e4136a51c4 ABI: Update whitelist for arch timer
Update whitelist for arch_timer_read_counter
export symbol.

Change-Id: I274eede68d7d82d3ba9f30f2024974ddc7b00afa
Signed-off-by: Sureshnaidu Laveti <lsuresh@codeaurora.org>
2020-07-31 15:04:17 -07:00
Naveen Yadav
b398c2138a arm64: defconfig: Enable interconnect driver for sdxlemur
Enable sdxlemur interconnect driver so that consumers are
able to obtain their path handles for voting required bandwidths.

Change-Id: I553fa47819bd1e78f22ac10ab3a6420449bb4925
Signed-off-by: Naveen Yadav <naveenky@codeaurora.org>
2020-07-31 15:41:23 +05:30
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
Isaac J. Manjarres
778d88fe9b iommu/iommu-logger: Log IOMMU client name in debug structures
Log IOMMU client name in debug structures so that tools can
directly read the IOMMU client name without having to access
other structures outside of the IOMMU debug attachments structure.

Change-Id: I36c13fd63e6ca7260b69d01573126e276eb5835b
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-07-30 16:29:11 -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
Pratham Pratap
6c7f709360 sound: usb: Fix error handling path
Commit 2733ec307cd5 ("sound: usb: Clear in_use if wait_event
fails while disconnect") added ENODEV check with EINVAL in the
error path if chip is removed while handling uaudio stream request.
Instead, both the error codes should be checked exclusively in the
return path to avoid NULL pointer access.

Change-Id: Iebf12b6f13fc6a22c679ed3482759c9173004bb8
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>
2020-07-30 08:54:37 -07:00